Files

32 lines
11 KiB
Plaintext
Raw Normal View History

2026-11-06 08:29:11 +08:00
0\r§mûüYb%Üfhttps://now.bdstatic.com/store/v2/e8a15f8/fe-cms/46416aa/js/qAndaEdit.c1531379476f42a4.js"use strict";(self.webpackChunkFeReactApp=self.webpackChunkFeReactApp||[]).push([["9049"],{79211:function(e,t,s){s.r(t),s.d(t,{default:function(){return C}}),s(128791),s(89148),s(153998),s(428995),s(960953),s(70420),s(695856),s(201405);var i=s(491188),r=s(728359),a=s.n(r),n=s(941669),o=s.n(n),l=s(730681),d=s(427317),c=s(696157),h=e=>{var t=e.goBack,s=e.children;return(0,i.jsxs)("div",{className:"client_pages_qAnda_edit_components_header",children:[(0,i.jsxs)("div",{className:"back-btn",children:[(0,i.jsx)("span",{onClick:t,className:"back-text",children:"\u8FD4\u56DE"}),(0,i.jsx)("span",{className:"back-splice"})]}),(0,i.jsx)("p",{children:s})]})},p=s(109012);function u(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}s(271309);class m extends a().Component{render(){var e=this.props,t=e.title,s=e.questionDesc,r=e.askImg;return(0,i.jsxs)("div",{className:"client_pages_qAnda_edit_components_questionDetail",children:[this.renderTitle(t),this.renderContent(void 0===s?"":s),this.renderImgList(void 0===r?[]:r)]})}constructor(e){super(e),u(this,"renderTitle",e=>(0,i.jsx)("div",{className:"title",children:e})),u(this,"toggleShowAll",()=>{this.setState(e=>({showAllDesc:!e.showAllDesc}))}),u(this,"renderContent",e=>{var t=this.state.showAllDesc;if(!e)return null;var s=(0,c.getBytes)(e)>100;return(0,i.jsxs)("div",{className:"question-desc ".concat(s&&(t?"hide-desc":"show-desc")),children:["\u95EE\u9898\u63CF\u8FF0: ",e,(0,i.jsxs)("span",{onClick:this.toggleShowAll,className:"tag show-desc",children:[(0,i.jsx)("span",{children:"\u5C55\u5F00\u5168\u90E8"}),(0,i.jsx)("em",{})]}),(0,i.jsxs)("span",{onClick:this.toggleShowAll,className:"tag hide-desc",children:[(0,i.jsx)("span",{children:"\u6536\u8D77"}),(0,i.jsx)("em",{className:"down"})]})]})}),u(this,"renderImgList",e=>e.length?(0,i.jsx)("div",{className:"img-wrap",children:e.map(e=>(0,i.jsx)("img",{src:e,alt:"\u95EE\u9898\u56FE\u7247",srcSet:""},e))}):null),this.state={showAllDesc:!1}}}var w=s(945091);function g(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function f(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{},i=Object.keys(s);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(s).filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable}))),i.forEach(function(t){g(e,t,s[t])})}return e}function b(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);s.push.apply(s,i)}return s})(Object(t)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))}),e}var y="qAnda-local-edit",v=l.Modal.confirm;class j extends a().Component{componentDidMount(){this.init(),this.props.dispatch({type:d.A.NORMAL.CLOSE_LEFT_MENU,editKey:"closeLeftMenu",payload:{closeLeftMenu:!0}}),o()("body").addClass("qanda-edit")}UNSAFE_componentWillReceiveProps(e){0===+(0,p.A)(e,"global.user.ability.can_know_quora")&&this.props.history.push("/builder/rc/home")}componentWillUnmount(){this.props.dispatch({type:d.A.NORMAL.CLOSE_LEFT_MENU,editKey:"closeLeftMenu",payload:{closeLeftMenu:!1}}),o()("body").removeClass("qanda-edit"),this.removeEditClass()}handleToggleEditorClass(){var e=o()(".edui-editor-iframeholder iframe").contents().find("body"),t=o()(".mp-container"),s=o()(".edui-editor > .edui-editor-iframeholder");e.addClass("news-editor-pc"),e.removeClass("news-editor-m"),t.addClass("news-page-pc quora-publish"),t.removeClass("news-page-m"),s.css({width:"800px"})}showEarLyConfirm(){v({title:"\u8BE5\u4EFB\u52A1\u672A\u5F00\u59CB\uFF0C\u8BF7\u53C2\u4E0E\u5176\u4ED6\u4EFB\u52A1~",onOk:()=>{window.location.href="/builder/bjh-activity/taskSquare?aside=0"},onCancel:()=>{this.props.history.push("/builder/rc/h
//# sourceMappingURL=qAndaEdit.c1531379476f42a4.js.mapØA
—Eoúô1¼{‰
GET (ß È"
accept-rangesbytes"(
access-control-allow-credentialstrue"
access-control-allow-origin*"
age3638"G
cache-control6public, max-age=31536000, s-maxage=31536000, immutable"
content-encodingbr"'
content-md5afRkYhSe9BTUw8z4XLUgQw=="5
content-type%application/javascript; charset=utf-8"%
dateThu, 05 Nov 2026 09:11:40 GMT"*
etag""69f46462149ef414d4c3ccf85cb52043""(
expiresSun, 08 Nov 2026 08:10:25 GMT".
last-modifiedThu, 05 Nov 2026 06:18:39 GMT"(
ohc-cache-hitcz7cm69 [2], fzix58 [2]"
ohc-file-size3453"6
ohc-global-saved-timeThu, 05 Nov 2026 08:10:25 GMT"
server JSP3/2.0.14"+
strict-transport-securitymax-age=259200"
timing-allow-origin*"!
x-bce-content-crc32
2306587697"!
x-bce-content-crc32c 427542994".
x-bce-content-crc64ecma2462730770876484974"j