1 |
- {"version":3,"sources":["webpack:///./src/assets/icon/question.png","webpack:///./src/components/module/to-next.vue?eb55","webpack:///./src/components/module/to-next.vue","webpack:///src/components/module/to-next.vue","webpack:///./src/components/module/to-next.vue?49e9","webpack:///./src/components/module/to-next.vue?f2b8","webpack:///./src/components/card/forum/reply-my-card.vue?56e3","webpack:///./src/components/module/reply.vue?5305","webpack:///./src/assets/icon/answer.png","webpack:///./src/components/module/reply.vue","webpack:///src/components/module/reply.vue","webpack:///./src/components/module/reply.vue?0cec","webpack:///./src/components/module/reply.vue?77b7","webpack:///./src/components/card/card-module/card-question-content.vue","webpack:///src/components/card/card-module/card-question-content.vue","webpack:///./src/components/card/card-module/card-question-content.vue?b6cf","webpack:///./src/components/card/card-module/card-question-content.vue?69a1","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/assets/icon/next_unread.png","webpack:///./src/components/card/card-module/card-answer-content.vue?e284","webpack:///./src/components/card/card-module/card-answer-content.vue","webpack:///src/components/card/card-module/card-answer-content.vue","webpack:///./src/components/card/card-module/card-answer-content.vue?e456","webpack:///./src/components/card/card-module/card-answer-content.vue?dbe0","webpack:///./src/views/forum/children/reply-on-my.vue","webpack:///./src/components/card/forum/reply-my-card.vue","webpack:///src/components/card/forum/reply-my-card.vue","webpack:///./src/components/card/forum/reply-my-card.vue?c4ad","webpack:///./src/components/card/forum/reply-my-card.vue?324a","webpack:///src/views/forum/children/reply-on-my.vue","webpack:///./src/views/forum/children/reply-on-my.vue?f33b","webpack:///./src/views/forum/children/reply-on-my.vue?e5f5","webpack:///./src/assets/icon/read.png","webpack:///./src/components/card/card-module/card-question-content.vue?5269","webpack:///./src/views/forum/children/reply-on-my.vue?5a6c"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","on","$event","$emit","attrs","require","_v","staticRenderFns","name","data","mounted","methods","component","visible","_","info","info_dict","headimg","_s","user_name","directives","rawName","value","content","expression","concat","domProps","target","composing","slot","staticStyle","style","opacity","cursor","_e","props","type","Boolean","default","Object","model","prop","event","String","$export","$find","KEY","forced","Array","P","F","find","callbackfn","arguments","length","undefined","showIcon","showVip","replaceTag","formatRichText1","val","replace","handleSearch","manageType","$message","success","handleRead","list","class","select","changeType","forumMarkNum","reply_forum","reply_answer","changeAllChecked","allChecked","callback","$$v","filter","item","checked","handleDelete","map","id","join","_l","key","$set","ref","refInFor","width","showReply","is_read","handleToDetail","forum_id","reply_id","finished","handleReply","replyVisible","toNext","_g","btnList","$listeners","create_at","userInfo","parent_comment","cardType","title","is_normal","components","CardBox","CardHeader","CardContent","CardAnswerContent","CardQuestionContent","computed","_objectSpread","mapState","level_id","level","arr","push","ReplyMyCard","TitleControl","Reply","ToNext","params","page","page_num","sort_type","list_copy","state","mark_num","watch","forEach","getList","TouchBottom","_this","ForumService","getReplyComment","then","_ref","_toConsumableArray","_this2","that","showConfirmPopup","batchesDel","_ref2","splice","findIndex","catch","_this3","unreadChange","res","split","includes","$store","dispatch","keys","error","$router","path","query","_this4","forumSecondComment","_ref3","current_index","next","_this5","index","_this5$$refs$0$getBou","$refs","getBoundingClientRect","top","slice","window","scrollTo","scrollY"],"mappings":"0HAAAA,EAAOC,QAAU,0oC,2DCAjB,W,kCCAA,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,UAAUC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAON,EAAIO,MAAM,aAAa,CAACL,EAAG,MAAM,CAACM,MAAM,CAAC,IAAMC,EAAQ,QAAiC,IAAM,MAAMP,EAAG,OAAO,CAACF,EAAIU,GAAG,cAEzPC,EAAkB,GCMP,GACfC,KAAA,SACAC,KAAA,WACA,UAEAC,QAAA,aACAC,QAAA,ICdgW,I,wBCQ5VC,EAAY,eACd,EACAjB,EACAY,GACA,EACA,KACA,WACA,MAIa,OAAAK,E,6CCnBf,W,oCCAA,W,mBCAAnB,EAAOC,QAAU,kqD,mCCAjB,IAAIC,E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nBfd,EAAOC,QAAU,8sB,yDCAjB,W,kCCAA","file":"js/chunk-31ea8221.e7a4d078.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAw1JREFUWEftWU1IVFEU/s59zg9lhOZGE1pIkhUFleImrIgQIRprxoVYSEEQSJtSxI1WKJLRKi0kgogKnDBpUyLkqkVRFGGIgmEL+zMsJkNnxnk37htfMzrjzH3Px8wE3uW8c777nXPPOffcM4R46yy3YSbgAqkugPYBKADn2XFlzf5INAvgM8Bfg7MB5NoH0EvB5XAUg+/xVwO8C5wXmd3blB7RBECN8DoeR+tHCLZxhg/+TnDeaGoDq5SIurDD0Yw2UgVkhKBn/mrayelGCpJeZ1OEoDhWrvZb5QRLcIgdF8dNEAnx0z+a8phLZoWIyRxHCcHt9wBqXzJ5/XtpEaGhMgstD4OYmpHVMivHagieufvgqJWFqNvPcO+8HYPvQqhsj1SFnPVAcX5sUYiH65sDRqd48i0JDwie+TFwXpxcOiLx6IINJ8oVnOsN4tZQSPtQXcbQ32iXghkeCeHQpZiSF6tLNC4I/jZahPM2ACPXHch2ArsvBjDxjWvec5WxhASFfzvrbDBAcJbgnpPwNdB0TEHJZsLpngUIhaN7GZ4023HZu4DWvgUpzzECQn1OeYJaHZQk+LzVhoM7FSg181AXTRJeG/8iZZ9mQMoJSrktSijlBDeuAwpzE2fu5DTHH3+YZcoJnqpguNuQOHOPXAlg6L12raaP4MCrEN58DJPQV8V2hsO7FGQEwTM9QdwZDtdDfbVUK2ivta0R/OeReGVGj8E1D8rUs//ag5+mOX74lt4o+TmEglxKb5K4Shm6TmYlPID67iBejIXJp7xQy4RGtMwaweXdjFEPbskDJm868fRtCFUdEg3ratstGYLucgbOAcaA+gMKqvYoaLgdRPfg0ptnJaxV9YMyBF922FG2NdxpqyrXEsZ9LYDvPhltAw2ryNjCTYQbz+Qs17ffVkAQJUes0SkVX3/JEdOlpD1oDNY6aVOPJuu2T45k6tmZHNY6CcMPd+u2lkMyPPqQg7VOKnOHR4s2hvM/E8dvSwhqJDNogBkVIZk3Al4WvpkzRF8hr+KPBVLxN4Rkov8FcwoOVs89lzwAAAAASUVORK5CYII=\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./to-next.vue?vue&type=style&index=0&id=07fb63da&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"to-next\",on:{\"click\":function($event){return _vm.$emit('toNext')}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/next_unread.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(\"下一条未读\")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"to-next\" @click=\"$emit('toNext')\">\r\n <img src=\"@/assets/icon/next_unread.png\" alt=\"\" />\r\n <span>下一条未读</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"ToNext\",\r\n data() {\r\n return {};\r\n },\r\n mounted() {},\r\n methods: {},\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.to-next {\r\n width: 210px;\r\n height: 60px;\r\n background: rgba(255, 255, 255, 0.5);\r\n border-radius: 40px;\r\n border: 1px solid #0054f7;\r\n position: fixed;\r\n bottom: 100px;\r\n right: 10px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n user-select: none;\r\n cursor: pointer;\r\n img {\r\n width: 14px;\r\n height: 14px;\r\n }\r\n span {\r\n font-size: 18px;\r\n font-weight: 500;\r\n color: #0054f7;\r\n margin-left: 10px;\r\n }\r\n}\r\n@media (max-width: 76.875rem) {\r\n .to-next {\r\n position: absolute;\r\n top: calc(var(--scrollTop) + var(--windowHeight) - 14.375rem) !important;\r\n right: -14.5rem;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./to-next.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./to-next.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./to-next.vue?vue&type=template&id=07fb63da&scoped=true&\"\nimport script from \"./to-next.vue?vue&type=script&lang=js&\"\nexport * from \"./to-next.vue?vue&type=script&lang=js&\"\nimport style0 from \"./to-next.vue?vue&type=style&index=0&id=07fb63da&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"07fb63da\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply-my-card.vue?vue&type=style&index=0&id=43c689ac&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply.vue?vue&type=style&index=0&id=2ef8d99e&prod&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABKBJREFUWEftmXtMU1ccx7+nLa+2LLwEx5CNuiFsmXEMFnRuFVLG3kGNZJotRrOyYUz24CWLMcTEbMjYxpwxgWy6xcccTp3LNglGSpQ5I24yw6BgK1F0BQobtFXKo2c5t2tHodh76w3wx07/6b33d76/z/39zv39ek/J0w0ailkYhMBKgZsEaAbI8UXKhOPVqdWjk1HIbAFOAQEMIKSocUX9sYnX5gygC4oQVGSol28pI2UOdm7OAXJQBBWNK04Vz1lAJyRZxdI9JyPIAQKGRaGqZMGAb6q0iAgMR2VHFewO+7TPf75KC7lMgarOzzBGx/yqE4SQXEGAYQFhqF16AF22a9BezJ/WaXhAGI4sPYQ2Szs2//aOX3D/rsWDggBfi1+H11UbcMVqQOvgH1Mc33YMY4+hGi47vaUD7UN6r4CtQ22o66m/MzxBB29ApUyJr9I+R2RQBBzUAcI+hHAO2DEbQ6MWaC9uwpdpNZDL5KDU2QNcdq5jdo7Bvd9ecUdAVsx5A25NLkVWTCZ26j/CD3/+hGBJMA6n70evvc8j3ZWLy5EakYItl7fiXP95DmBPyqe4Xx6PtefXY3B0UFDKeQGq5z2F7Y9sQ/PAryj4vcTtwJXKba3b0dh3hoMuSSrAiGPEIzpLwhajakkljt04gU86d4kPuCwyHZsWvoGClhL02HvdDhRSBTYmrOciahuzcd/H6Tj2dbHI/mfHJpQ/ugPB0iAUtpRilE5pudNC84qgsy4RUHj/XfH8/GxsfjCfi5yUSEEgwa4ru1HXc8rtWAIJHHCuVSGDN6A3UVYPixLfxbKodFwYaMaOtnIOsDSpmFuHTeZz+LDjYwyM/CWEycPWL8BASQCyY56BVrURcmkIaoxf4HD3EQ/h3LjV3PXhcVZ6arinlqVf6BAEyErNytiXsSouh+smpuEeLmqd1k6vflUKFd5LKkac/D6Y7WZ8e+M7nLj5PaxjNt6cvABjgqKxZsFqvHjvcwiRhqDfPoD+kX4khj7Ey5HBakSoLBTRwfNwa+w2fjSdRG33UZiGTT7n8wIsTHwbL8W+gOu3uvH19VrUmerxePhjSA1P8emAGbQMXsbP/b9AE52BVxbkQqVMwKW/W/DWpUKf83kBRgVG4uF7knHG3DTtk+zT0wSD9Ign0Gc3w2Az+pzGC3CiSqAkECrFAz6FvRkYbV1cKRIyBAOqFAnYm1YtxIfbdsOFPBhtVwXN9RuQtTa2rvgM1olYu5xRQFb79l87xIcPr8av5Wri/4AsXK41eNJUj9O9DbwimBmdgWfnZ81sBHmRTTKa0RSzYn26t5EXZ2a0GtkzFUGlTIHlUU+iw9LJu2SwZcHa4llzk6A+zO5ecJnhFTIRjYhap7FQCqWImqJJOV+adBo9KBJFUxVTiL12qnWaA5RinZi6YmkRgoNErctaQyn9RixRMXW4rY+85rwAvcXYRoGFYorfrZZ784gJqXVZKymlR+9WVMz57u03l6hap9lJKYrEdOKvlscGpkukjJZJGhrPfjDbkFO2gCffJUs3KK2Y6TXJ1pzXTXRvaeAeHOvVHIDmUCCVALFiF3O+f0P8AykzESWicFq5AAAAAElFTkSuQmCC\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"reply\"},[(_vm.visible)?_c('el-dialog',{attrs:{\"width\":\"600px\",\"visible\":_vm.visible,\"before-close\":(_) => _vm.$emit('visible', false)},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"reply-content\"},[_c('div',{staticClass:\"info\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.info[_vm.info_dict.headimg],\"alt\":\"\"}}),_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.info[_vm.info_dict.user_name]))])]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.content),expression:\"content\"}],staticClass:\"content\",attrs:{\"placeholder\":`回复@${_vm.info[_vm.info_dict.user_name]}:`},domProps:{\"value\":(_vm.content)},on:{\"input\":function($event){if($event.target.composing)return;_vm.content=$event.target.value}}})]),_c('div',{staticClass:\"reply-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){return _vm.$emit('visible', false)}}},[_vm._v(\"取 消\")]),_c('el-button',{staticStyle:{\"background-color\":\"#0054f7\",\"color\":\"white\"},style:({\n opacity: _vm.content ? 1 : 0.3,\n cursor: _vm.content ? 'pointer' : 'default',\n }),on:{\"click\":(_) => {\n if (_vm.content) {\n _vm.$emit('handleReply', _vm.content);\n _vm.content = '';\n }\n }}},[_vm._v(\"确 定\")])],1)]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"reply\">\r\n <el-dialog\r\n v-if=\"visible\"\r\n width=\"600px\"\r\n :visible.sync=\"visible\"\r\n :before-close=\"(_) => $emit('visible', false)\"\r\n >\r\n <div class=\"reply-content\">\r\n <div class=\"info\">\r\n <img class=\"avatar\" :src=\"info[info_dict.headimg]\" alt=\"\" />\r\n <div class=\"name\">{{ info[info_dict.user_name] }}</div>\r\n </div>\r\n <textarea\r\n class=\"content\"\r\n v-model=\"content\"\r\n :placeholder=\"`回复@${info[info_dict.user_name]}:`\"\r\n ></textarea>\r\n </div>\r\n <div slot=\"footer\" class=\"reply-footer\">\r\n <el-button @click=\"$emit('visible', false)\">取 消</el-button>\r\n <el-button\r\n style=\"background-color: #0054f7; color: white\"\r\n :style=\"{\r\n opacity: content ? 1 : 0.3,\r\n cursor: content ? 'pointer' : 'default',\r\n }\"\r\n @click=\"\r\n (_) => {\r\n if (content) {\r\n $emit('handleReply', content);\r\n content = '';\r\n }\r\n }\r\n \"\r\n >确 定</el-button\r\n >\r\n </div>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"Reply\",\r\n props: {\r\n visible: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n info: {\r\n type: Object,\r\n },\r\n info_dict: {\r\n default: () => {\r\n return {\r\n headimg: \"headimg\",\r\n user_name: \"user_name\",\r\n };\r\n },\r\n },\r\n },\r\n model: {\r\n prop: \"visible\",\r\n event: \"visible\",\r\n },\r\n data() {\r\n return {\r\n content: \"\",\r\n };\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.reply {\r\n ::v-deep .el-dialog__header {\r\n display: none;\r\n }\r\n ::v-deep .el-dialog__body {\r\n padding-bottom: 10px;\r\n }\r\n .reply-content {\r\n .info {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 15px;\r\n img {\r\n height: 30px;\r\n width: 30px;\r\n border-radius: 50%;\r\n }\r\n .name {\r\n font-size: 16px;\r\n margin-left: 10px;\r\n }\r\n }\r\n .content {\r\n width: 100%;\r\n height: 120px;\r\n padding: 15px 10px;\r\n background: #f5f5f5;\r\n border-radius: 10px;\r\n border: none;\r\n outline: none;\r\n resize: none;\r\n box-sizing: border-box;\r\n font-size: 16px;\r\n\r\n ::placeholder {\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #666666;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./reply.vue?vue&type=template&id=2ef8d99e&scoped=true&\"\nimport script from \"./reply.vue?vue&type=script&lang=js&\"\nexport * from \"./reply.vue?vue&type=script&lang=js&\"\nimport style0 from \"./reply.vue?vue&type=style&index=0&id=2ef8d99e&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ef8d99e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-question-content\",on:{\"click\":function($event){return _vm.$emit('handleToDetail')}}},[_c('img',{staticClass:\"icon\",attrs:{\"src\":require(\"@/assets/icon/question.png\"),\"alt\":\"\"}}),_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.content))])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"card-question-content\" @click=\"$emit('handleToDetail')\">\r\n <img class=\"icon\" src=\"@/assets/icon/question.png\" alt=\"\" />\r\n <div class=\"title\">{{ content }}</div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"CardQuestionContent\",\r\n props: {\r\n content: {\r\n type: String,\r\n default: \"\",\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card-question-content {\r\n width: 100%;\r\n display: flex;\r\n align-items: flex-start;\r\n cursor: pointer;\r\n .icon {\r\n width: 20px;\r\n height: 20px;\r\n margin-right: 10px;\r\n transform: translate(0, 4px);\r\n }\r\n .title {\r\n font-size: 20px;\r\n font-weight: 500;\r\n color: #222222;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-question-content.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-question-content.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./card-question-content.vue?vue&type=template&id=39f2b4cc&scoped=true&\"\nimport script from \"./card-question-content.vue?vue&type=script&lang=js&\"\nexport * from \"./card-question-content.vue?vue&type=script&lang=js&\"\nimport style0 from \"./card-question-content.vue?vue&type=style&index=0&id=39f2b4cc&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39f2b4cc\",\n null\n \n)\n\nexport default component.exports","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAR1JREFUOE/N1D1Ow0AQhuF3iGEXIcQBoKJAHIO/joKGIEFFCbfgChScgAKEU0R0nAKa9CkhDRRBciTCIDts5Dj2rgsjsaW9fjQz366Fhpc07PHH4Olom6+lD2J5rVX5lUb0sMQydPtnKzxJbvjWQyJ2uF/ue9G2rqHJE8gzHXtZDp6r5XP0iOqWF3WYyCrW7HIrg3IwfRpC81hk9riTt3wn5aFUoQEshWfBs2STlhlmLRTRsX3PZpa26SoLhnKcXIMeTeeXR4UByMoUc9UuyAsP9qJ+KBO0C6wTmYNsZp7W52dYPb8WsYx92PwMXd2NhZLPv04oJSfff5d9oVRco/DPwYWibLBo9osHueiGQfdFWyehBFZ9MCT9vv//4A8mr7sVKTiR1wAAAABJRU5ErkJggg==\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-answer-content.vue?vue&type=style&index=0&id=dc6fdb30&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-answer-content\"},[_c('div',{staticClass:\"top\"},[(_vm.showIcon)?_c('img',{staticClass:\"icon\",attrs:{\"src\":require(\"@/assets/icon/answer.png\")}}):_vm._e(),(!_vm.showVip)?_c('div',{staticClass:\"content\"},[_vm._v(\"\\n \"+_vm._s(_vm.replaceTag(_vm.formatRichText1(_vm.content)))+\"\\n \")]):_vm._e()]),(!_vm.showVip)?_c('div',{staticClass:\"view-answer\",on:{\"click\":function($event){return _vm.$emit('handleToDetail')}}},[_vm._v(\"\\n 点击查看答案\\n \")]):_vm._e(),(_vm.showVip)?_c('div',{staticClass:\"open-vip\"},[_vm._v(\"开通会员查看答案\")]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"card-answer-content\">\r\n <div class=\"top\">\r\n <img class=\"icon\" src=\"@/assets/icon/answer.png\" v-if=\"showIcon\" />\r\n <div class=\"content\" v-if=\"!showVip\">\r\n {{ replaceTag(formatRichText1(content)) }}\r\n </div>\r\n </div>\r\n <div class=\"view-answer\" v-if=\"!showVip\" @click=\"$emit('handleToDetail')\">\r\n 点击查看答案\r\n </div>\r\n <div class=\"open-vip\" v-if=\"showVip\">开通会员查看答案</div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { formatRichText1 } from \"@/common/util\";\r\nexport default {\r\n name: \"CardAnswerContent\",\r\n props: {\r\n content: {\r\n type: String,\r\n },\r\n showIcon: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n showVip: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n methods: {\r\n formatRichText1,\r\n replaceTag(val) {\r\n return val.replace(\"<p>\", \"\").replace(\"</p>\", \"\");\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card-answer-content {\r\n width: 100%;\r\n user-select: none;\r\n .top {\r\n display: flex;\r\n .icon {\r\n width: 20px;\r\n height: 20px;\r\n margin-right: 10px;\r\n transform: translate(0, 2px);\r\n }\r\n .content {\r\n flex: 1;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n }\r\n }\r\n .view-answer {\r\n margin: 25px auto;\r\n width: 152px;\r\n height: 38px;\r\n border-radius: 19px;\r\n border: 1px solid #2a63f3;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #2a63f3;\r\n text-align: center;\r\n line-height: 38px;\r\n cursor: pointer;\r\n }\r\n\r\n .open-vip {\r\n margin: 25px auto;\r\n width: 172px;\r\n height: 38px;\r\n background: #ebd793;\r\n border-radius: 4px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #553d0e;\r\n text-align: center;\r\n line-height: 38px;\r\n cursor: pointer;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-answer-content.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-answer-content.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./card-answer-content.vue?vue&type=template&id=dc6fdb30&scoped=true&\"\nimport script from \"./card-answer-content.vue?vue&type=script&lang=js&\"\nexport * from \"./card-answer-content.vue?vue&type=script&lang=js&\"\nimport style0 from \"./card-answer-content.vue?vue&type=style&index=0&id=dc6fdb30&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dc6fdb30\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"wrap-title\"},[_c('TitleControl',{attrs:{\"title\":\"回复我的\"},on:{\"handleChange\":_vm.handleSearch}},[_c('div',{staticClass:\"control-btn\",attrs:{\"slot\":\"control\"},slot:\"control\"},[(!_vm.manageType)?_c('div',{staticClass:\"is-read\",on:{\"click\":(_) => {\n _vm.$message.success('已将所有信息标为已读');\n _vm.handleRead(_vm.list, 1);\n }}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/read.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(\"全部已读\")])]):_vm._e(),(!_vm.manageType)?_c('div',{staticClass:\"manage\",on:{\"click\":function($event){_vm.manageType = true}}},[_vm._v(\"\\n 管理\\n \")]):_c('div',{staticClass:\"manage cancel\",on:{\"click\":function($event){_vm.manageType = false}}},[_vm._v(\"\\n 取消\\n \")])]),_c('div',{staticClass:\"switch-box\",attrs:{\"slot\":\"bottom\"},slot:\"bottom\"},[_c('div',{staticClass:\"btn\",class:{ select: !_vm.type },on:{\"click\":function($event){return _vm.changeType(0)}}},[_vm._v(\"\\n 问题\\n \"),(!!_vm.forumMarkNum.reply_forum)?_c('div',{staticClass:\"mark\"},[_vm._v(\"\\n \"+_vm._s(_vm.forumMarkNum.reply_forum > 99 ? \"99+\" : _vm.forumMarkNum.reply_forum)+\"\\n \")]):_vm._e()]),_c('div',{staticClass:\"btn\",class:{ select: !!_vm.type },on:{\"click\":function($event){return _vm.changeType(1)}}},[_vm._v(\"\\n 回答\\n \"),(!!_vm.forumMarkNum.reply_answer)?_c('div',{staticClass:\"mark\"},[_vm._v(\"\\n \"+_vm._s(_vm.forumMarkNum.reply_answer > 99\n ? \"99+\"\n : _vm.forumMarkNum.reply_answer)+\"\\n \")]):_vm._e()])])])],1),_c('div',{staticClass:\"wrap-content\"},[(_vm.manageType)?_c('div',{staticClass:\"read-box\"},[_c('div',{staticClass:\"radio\"},[_c('el-checkbox',{on:{\"change\":_vm.changeAllChecked},model:{value:(_vm.allChecked),callback:function ($$v) {_vm.allChecked=$$v},expression:\"allChecked\"}})],1),_c('div',{staticClass:\"btn is-read\",on:{\"click\":function($event){_vm.handleRead(\n _vm.list.filter((item) => item.checked),\n 1\n )}}},[_vm._v(\"\\n 已读\\n \")]),_c('div',{staticClass:\"btn un-read\",on:{\"click\":function($event){_vm.handleDelete(\n _vm.list\n .filter((item) => item.checked)\n .map((item) => item.id)\n .join(','),\n 0\n )}}},[_vm._v(\"\\n 删除\\n \")])]):_vm._e(),_c('div',{staticClass:\"list\"},[_vm._l((_vm.list),function(item){return _c('div',{key:item.id,staticClass:\"list-item\"},[(_vm.manageType)?_c('div',{staticClass:\"radio\"},[_c('el-checkbox',{model:{value:(item.checked),callback:function ($$v) {_vm.$set(item, \"checked\", $$v)},expression:\"item.checked\"}})],1):_vm._e(),_c('div',{ref:'card-' + item.id,refInFor:true,staticClass:\"card\",style:(_vm.manageType ? { width: 'calc(100% - 60px)' } : ''),on:{\"click\":function($event){return _vm.handleRead([item], 1)}}},[_c('ReplyMyCard',{attrs:{\"info\":item,\"manageType\":_vm.manageType,\"cardType\":_vm.type ? 'answer' : 'question'},on:{\"reply\":function($event){return _vm.showReply(item)},\"handleDelete\":function($event){return _vm.handleDelete(item.id)},\"handleRead\":function($event){return _vm.handleRead([item], 1 - item.is_read)},\"handleToDetail\":(type) =>\n _vm.handleToDetail(item, type, {\n forum_id: 'forum_id',\n reply_id: 'reply_id',\n })}})],1)])}),(_vm.finished)?_c('el-empty',{attrs:{\"description\":\"没有更多数据\"}}):_vm._e()],2)]),_c('Reply',{attrs:{\"info\":_vm.info},on:{\"handleReply\":_vm.handleReply},model:{value:(_vm.replyVisible),callback:function ($$v) {_vm.replyVisible=$$v},expression:\"replyVisible\"}}),(!_vm.manageType)?_c('ToNext',{on:{\"toNext\":_vm.toNext}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card\"},[_c('CardBox',_vm._g({staticStyle:{\"padding\":\"15px 20px\"},attrs:{\"btnList\":_vm.btnList}},_vm.$listeners),[_c('div',{staticClass:\"header\"},[_c('CardHeader',_vm._g({attrs:{\"avatar\":_vm.info.headimg,\"name\":_vm.info.user_name,\"time\":_vm.info.create_at,\"isRead\":_vm.info.is_read}},_vm.$listeners))],1),_c('div',{staticClass:\"content\"},[_c('CardContent',{attrs:{\"content\":`@${_vm.info.user_name}:${_vm.info.content}`}})],1),_c('div',{staticClass:\"target\"},[_c('CardContent',{staticStyle:{\"margin-bottom\":\"10px\"},attrs:{\"content\":`@${_vm.userInfo.name}:${_vm.info.parent_comment.content}`}}),(_vm.cardType == 'question')?_c('CardQuestionContent',{attrs:{\"content\":_vm.info.title,\"is_normal\":_vm.info.is_normal},on:{\"handleToDetail\":function($event){return _vm.$emit('handleToDetail', 'question')}}}):_c('CardAnswerContent',{attrs:{\"content\":_vm.info.content,\"showIcon\":false,\"show-vip\":_vm.showVip},on:{\"handleToDetail\":function($event){return _vm.$emit('handleToDetail', 'answer')}}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"card\">\r\n <CardBox style=\"padding: 15px 20px\" :btnList=\"btnList\" v-on=\"$listeners\">\r\n <div class=\"header\">\r\n <CardHeader\r\n :avatar=\"info.headimg\"\r\n :name=\"info.user_name\"\r\n :time=\"info.create_at\"\r\n :isRead=\"info.is_read\"\r\n v-on=\"$listeners\"\r\n />\r\n </div>\r\n <div class=\"content\">\r\n <CardContent :content=\"`@${info.user_name}:${info.content}`\" />\r\n </div>\r\n <div class=\"target\">\r\n <CardContent\r\n style=\"margin-bottom: 10px\"\r\n :content=\"`@${userInfo.name}:${info.parent_comment.content}`\"\r\n />\r\n <CardQuestionContent\r\n v-if=\"cardType == 'question'\"\r\n :content=\"info.title\"\r\n :is_normal=\"info.is_normal\"\r\n @handleToDetail=\"$emit('handleToDetail', 'question')\"\r\n />\r\n <CardAnswerContent\r\n v-else\r\n :content=\"info.content\"\r\n :showIcon=\"false\"\r\n :show-vip=\"showVip\"\r\n @handleToDetail=\"$emit('handleToDetail', 'answer')\"\r\n />\r\n </div>\r\n </CardBox>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport CardBox from \"../card-module/card-box.vue\";\r\nimport CardHeader from \"../card-module/card-header.vue\";\r\nimport CardContent from \"../card-module/card-content.vue\";\r\nimport CardAnswerContent from \"../card-module/card-answer-content.vue\";\r\nimport CardQuestionContent from \"../card-module/card-question-content.vue\";\r\nimport { mapState } from \"vuex\";\r\nexport default {\r\n name: \"ReplyMyCard\",\r\n components: {\r\n CardBox,\r\n CardHeader,\r\n CardContent,\r\n CardAnswerContent,\r\n CardQuestionContent,\r\n },\r\n props: {\r\n info: {\r\n type: Object,\r\n },\r\n manageType: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n cardType: {\r\n type: String,\r\n default: \"question\",\r\n },\r\n },\r\n data() {\r\n return {};\r\n },\r\n computed: {\r\n ...mapState([\"userInfo\"]),\r\n showVip() {\r\n return !!(!this.userInfo.level_id && this.info.level);\r\n },\r\n btnList() {\r\n let arr = [\"del\"];\r\n this.info.is_read ? arr.push(\"unRead\") : arr.push(\"isRead\");\r\n return this.manageType ? [] : arr;\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card {\r\n width: 100%;\r\n height: 100%;\r\n .content {\r\n margin: 10px 0;\r\n }\r\n .target {\r\n background: #f4f4f4;\r\n width: calc(100% - 20px);\r\n padding: 10px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply-my-card.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply-my-card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./reply-my-card.vue?vue&type=template&id=43c689ac&scoped=true&\"\nimport script from \"./reply-my-card.vue?vue&type=script&lang=js&\"\nexport * from \"./reply-my-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./reply-my-card.vue?vue&type=style&index=0&id=43c689ac&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"43c689ac\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"wrap\">\r\n <div class=\"wrap-title\">\r\n <TitleControl title=\"回复我的\" @handleChange=\"handleSearch\">\r\n <div slot=\"control\" class=\"control-btn\">\r\n <div\r\n class=\"is-read\"\r\n v-if=\"!manageType\"\r\n @click=\"\r\n (_) => {\r\n $message.success('已将所有信息标为已读');\r\n handleRead(list, 1);\r\n }\r\n \"\r\n >\r\n <img src=\"@/assets/icon/read.png\" alt=\"\" />\r\n <span>全部已读</span>\r\n </div>\r\n <div class=\"manage\" @click=\"manageType = true\" v-if=\"!manageType\">\r\n 管理\r\n </div>\r\n <div class=\"manage cancel\" @click=\"manageType = false\" v-else>\r\n 取消\r\n </div>\r\n </div>\r\n <div slot=\"bottom\" class=\"switch-box\">\r\n <div class=\"btn\" :class=\"{ select: !type }\" @click=\"changeType(0)\">\r\n 问题\r\n <div class=\"mark\" v-if=\"!!forumMarkNum.reply_forum\">\r\n {{\r\n forumMarkNum.reply_forum > 99 ? \"99+\" : forumMarkNum.reply_forum\r\n }}\r\n </div>\r\n </div>\r\n <div class=\"btn\" :class=\"{ select: !!type }\" @click=\"changeType(1)\">\r\n 回答\r\n <div class=\"mark\" v-if=\"!!forumMarkNum.reply_answer\">\r\n {{\r\n forumMarkNum.reply_answer > 99\r\n ? \"99+\"\r\n : forumMarkNum.reply_answer\r\n }}\r\n </div>\r\n </div>\r\n </div>\r\n </TitleControl>\r\n </div>\r\n <div class=\"wrap-content\">\r\n <div class=\"read-box\" v-if=\"manageType\">\r\n <div class=\"radio\">\r\n <el-checkbox\r\n v-model=\"allChecked\"\r\n @change=\"changeAllChecked\"\r\n ></el-checkbox>\r\n </div>\r\n <div\r\n class=\"btn is-read\"\r\n @click=\"\r\n handleRead(\r\n list.filter((item) => item.checked),\r\n 1\r\n )\r\n \"\r\n >\r\n 已读\r\n </div>\r\n <div\r\n class=\"btn un-read\"\r\n @click=\"\r\n handleDelete(\r\n list\r\n .filter((item) => item.checked)\r\n .map((item) => item.id)\r\n .join(','),\r\n 0\r\n )\r\n \"\r\n >\r\n 删除\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div class=\"list-item\" v-for=\"item in list\" :key=\"item.id\">\r\n <div class=\"radio\" v-if=\"manageType\">\r\n <el-checkbox v-model=\"item.checked\"></el-checkbox>\r\n </div>\r\n <div\r\n class=\"card\"\r\n :ref=\"'card-' + item.id\"\r\n :style=\"manageType ? { width: 'calc(100% - 60px)' } : ''\"\r\n @click=\"handleRead([item], 1)\"\r\n >\r\n <ReplyMyCard\r\n :info=\"item\"\r\n :manageType=\"manageType\"\r\n :cardType=\"type ? 'answer' : 'question'\"\r\n @reply=\"showReply(item)\"\r\n @handleDelete=\"handleDelete(item.id)\"\r\n @handleRead=\"handleRead([item], 1 - item.is_read)\"\r\n @handleToDetail=\"\r\n (type) =>\r\n handleToDetail(item, type, {\r\n forum_id: 'forum_id',\r\n reply_id: 'reply_id',\r\n })\r\n \"\r\n />\r\n </div>\r\n </div>\r\n <el-empty v-if=\"finished\" description=\"没有更多数据\"></el-empty>\r\n </div>\r\n </div>\r\n <Reply v-model=\"replyVisible\" :info=\"info\" @handleReply=\"handleReply\" />\r\n <ToNext @toNext=\"toNext\" v-if=\"!manageType\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { ForumService } from \"@/common/service\";\r\nimport { mapState } from \"vuex\";\r\nimport ReplyMyCard from \"@/components/card/forum/reply-my-card.vue\";\r\nimport TitleControl from \"@/components/module/title-control.vue\";\r\nimport Reply from \"@/components/module/reply.vue\";\r\nimport ToNext from \"@/components/module/to-next.vue\";\r\nexport default {\r\n components: { ReplyMyCard, TitleControl, Reply, ToNext },\r\n data() {\r\n return {\r\n list: [],\r\n params: {\r\n page: 1,\r\n page_num: 20,\r\n sort_type: 1,\r\n },\r\n // 是否无数据\r\n finished: false,\r\n // 是否点击管理按钮\r\n manageType: false,\r\n // 是否选中所有\r\n allChecked: false,\r\n // 回复框显示状态\r\n replyVisible: false,\r\n // 回复详情\r\n info: {},\r\n // 当前选中类型\r\n type: 0,\r\n // 搜索\r\n list_copy: \"\",\r\n };\r\n },\r\n computed: {\r\n ...mapState({\r\n forumMarkNum: (state) => state.mark_num.forumMarkNum,\r\n }),\r\n },\r\n watch: {\r\n manageType(val) {\r\n !val ? (this.allChecked = false) : \"\";\r\n this.list.forEach((item) => (item.checked = false));\r\n },\r\n },\r\n mounted() {\r\n this.getList();\r\n },\r\n methods: {\r\n // 触底\r\n TouchBottom() {\r\n if (!this.finished) {\r\n this.getList();\r\n }\r\n },\r\n // 选择全部\r\n changeAllChecked(type) {\r\n this.list.map((item) => (item.checked = type));\r\n },\r\n // 切换数据类型\r\n changeType(type) {\r\n this.type = type;\r\n this.finished = false;\r\n this.list = [];\r\n this.params.page = 1;\r\n this.manageType = false;\r\n this.getList();\r\n },\r\n // 获取数据\r\n getList() {\r\n ForumService.getReplyComment({\r\n type: this.type ? 2 : 1,\r\n ...this.params,\r\n }).then(({ data }) => {\r\n const list = data.list.map((item) => {\r\n return { checked: false, ...item };\r\n });\r\n\r\n this.list = this.params.page === 1 ? list : [...this.list, ...list];\r\n if (list.length < this.params.page_num) {\r\n this.finished = true;\r\n } else {\r\n this.params.page++;\r\n }\r\n });\r\n },\r\n // 删除记录\r\n handleDelete(val) {\r\n let that = this;\r\n this.showConfirmPopup(\"确定要删除该信息?\")\r\n .then(() => {\r\n ForumService.batchesDel({ id: val, type: 3 }).then(({ data }) => {\r\n that.list.splice(\r\n that.list.findIndex((item) => item.id == val.id),\r\n 1\r\n );\r\n this.$message.success(\"删除成功!\");\r\n });\r\n })\r\n .catch((_) => {});\r\n },\r\n // 更改阅读状态\r\n handleRead(arr, is_read) {\r\n let params = {\r\n id: \"\",\r\n type: 2,\r\n is_read,\r\n };\r\n params.id = arr.map((item) => item.id).join(\",\");\r\n if (!params.id) return;\r\n ForumService.unreadChange(params).then((res) => {\r\n this.list.forEach((item) => {\r\n params.id.split(\",\").includes(item.id + \"\")\r\n ? (item.is_read = params.is_read)\r\n : \"\";\r\n });\r\n this.manageType = false;\r\n this.$store.dispatch(\"getMarkNum\", \"forum\");\r\n });\r\n },\r\n // 跳转详情\r\n handleToDetail(\r\n item,\r\n type = \"question\",\r\n key = { forum_id: \"forum_id\", reply_id: \"id\" }\r\n ) {\r\n if (Object.keys(item).includes(\"is_normal\") && !item.is_normal)\r\n return this.$message.error(\"该问题已失效\");\r\n this.$router\r\n .push({\r\n path:\r\n type == \"question\"\r\n ? \"/forum-question-details\"\r\n : \"/forum-answer-item\",\r\n query: {\r\n forum_id: item[key.forum_id],\r\n reply_id: item[key.reply_id],\r\n },\r\n })\r\n .catch(() => {});\r\n },\r\n // 显示回复框\r\n showReply(item) {\r\n this.replyVisible = true;\r\n this.info = item;\r\n },\r\n // 回复\r\n handleReply(val) {\r\n this.replyVisible = false;\r\n ForumService.forumSecondComment({ id: this.info.id, content: val }).then(\r\n ({ data }) => {\r\n this.$message.success(\"回复成功\");\r\n }\r\n );\r\n },\r\n // 筛选\r\n handleSearch(val) {\r\n if (!this.list_copy) this.list_copy = this.list;\r\n if (val) {\r\n this.list = this.list_copy.filter((item) => {\r\n return item.content.includes(val);\r\n });\r\n } else {\r\n this.list = this.list_copy;\r\n this.list_copy = \"\";\r\n }\r\n },\r\n // 下一条未读\r\n toNext() {\r\n let current_index, next;\r\n current_index = 0;\r\n this.list.forEach((item, index) => {\r\n let { top } = this.$refs[\"card-\" + item.id][0].getBoundingClientRect();\r\n if (top > -170 && top <= 100) {\r\n current_index = index;\r\n return;\r\n }\r\n });\r\n if (current_index == this.list.length - 1 || !this.list.length)\r\n return this.$message.info(\"没有下一条未读消息!\");\r\n next = this.list.slice(current_index + 1).find((item) => !item.is_read);\r\n if (!next) return this.$message.info(\"没有下一条未读消息!\");\r\n window.scrollTo(\r\n 0,\r\n window.scrollY +\r\n this.$refs[\"card-\" + next.id][0].getBoundingClientRect().top -\r\n 100\r\n );\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.wrap {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n .wrap-title {\r\n width: 80%;\r\n }\r\n .wrap-content {\r\n width: 80%;\r\n margin-top: 20px;\r\n .read-box {\r\n display: flex;\r\n align-items: center;\r\n margin: 0px 0 20px;\r\n .radio {\r\n width: 45px;\r\n display: flex;\r\n justify-content: center;\r\n margin-right: 20px;\r\n }\r\n .btn {\r\n width: 80px;\r\n height: 30px;\r\n border-radius: 17px;\r\n color: #ffffff;\r\n font-size: 16px;\r\n font-weight: 400;\r\n text-align: center;\r\n line-height: 30px;\r\n cursor: pointer;\r\n }\r\n .is-read {\r\n background: #0054f7;\r\n }\r\n .un-read {\r\n background: #ff9f18;\r\n margin-left: 10px;\r\n }\r\n }\r\n .list {\r\n .list-item {\r\n margin-bottom: 20px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n position: relative;\r\n .radio {\r\n width: 45px;\r\n background-color: white;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n border-radius: 10px;\r\n }\r\n .card {\r\n width: 100%;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n.control-btn {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n user-select: none;\r\n .is-read {\r\n width: 100px;\r\n height: 30px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #f4f4f4;\r\n border-radius: 17px;\r\n font-size: 13px;\r\n font-weight: 400;\r\n color: #1677ff;\r\n img {\r\n width: 15px;\r\n height: 15px;\r\n margin-right: 5px;\r\n }\r\n }\r\n .manage {\r\n width: 70px;\r\n height: 30px;\r\n background: #2a63f3;\r\n border-radius: 17px;\r\n font-size: 13px;\r\n font-weight: 400;\r\n text-align: center;\r\n line-height: 30px;\r\n color: #ffffff;\r\n margin-left: 10px;\r\n }\r\n .cancel {\r\n background: transparent;\r\n color: #1677ff;\r\n }\r\n}\r\n.switch-box {\r\n display: flex;\r\n align-items: center;\r\n margin-top: 15px;\r\n .btn {\r\n width: 100px;\r\n height: 35px;\r\n text-align: center;\r\n line-height: 35px;\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #666666;\r\n background: #f4f4f4;\r\n border-radius: 22px;\r\n margin-right: 10px;\r\n position: relative;\r\n cursor: pointer;\r\n .mark {\r\n width: 36px;\r\n height: 20px;\r\n text-align: center;\r\n line-height: 20px;\r\n transform: scale(0.7);\r\n font-size: 10px;\r\n font-weight: 400;\r\n color: #ffffff;\r\n background: #ff5143;\r\n border-radius: 8px;\r\n position: absolute;\r\n top: -10px;\r\n right: -10px;\r\n }\r\n }\r\n .select {\r\n background: #2a63f3;\r\n color: #ffffff;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply-on-my.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply-on-my.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./reply-on-my.vue?vue&type=template&id=ee4aa428&scoped=true&\"\nimport script from \"./reply-on-my.vue?vue&type=script&lang=js&\"\nexport * from \"./reply-on-my.vue?vue&type=script&lang=js&\"\nimport style0 from \"./reply-on-my.vue?vue&type=style&index=0&id=ee4aa428&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ee4aa428\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAcFJREFUOE+t0j9o1GAYx/Hvc+Eub7wOJ2gdpLM6uTi5FHRRxNJCgjp0cXOwm4OCDgo6uNXBzaXgHxKoVEQXC106dXG7vThYhVZsTe6O5JFcWq9pvSQeZkve3/vJ8z7PK/znRyp5njr9nC9hWb4cnNk+i2Wt9KE4nmRx7HMRWg664Svg+i7ymsC5MTo4o+NY0TrQ2EW6xGaCRdkYhhZX6IZ3gccHNt8jcJ5UAFXwdk4Ax4ntY1i9cZCnKBO5zcI6sd6B+gb15BtJ7zt+8yuIprmswitbR3HsVeB02RSHrLdpmPO8lM0M9KJLqH4YEcu2iVzGNx8z8KoewY7Sq3FuRHSNjpnknfwaDGVWm4TRm7QB/4i+xzHXWJCdQQ/3BE8tks4zRG9VQlWeU7Nv40u8l//7tXHDNnCqGJU2gTlzMHMYzPq5BdRLquzRMa20b/tzh0EvvIDyqdKRhYv4znIx6HbuQ/IwD8o2aPrzZv577QGB/agEjHxQ909I5C3dZK7/3qjNozo9ACQgMF7JkbuzaPIC9Asic/hmKVeVF02hOg+cRKyb+I2FYjBdnd5sUW/93H8d8qhawBi+/CifcqVpDA/9BlUCgxW4LjtYAAAAAElFTkSuQmCC\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-question-content.vue?vue&type=style&index=0&id=39f2b4cc&prod&lang=scss&scoped=true&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reply-on-my.vue?vue&type=style&index=0&id=ee4aa428&prod&lang=scss&scoped=true&\""],"sourceRoot":""}
|