1 |
- {"version":3,"sources":["webpack:///./src/components/forum/forum-list-module.vue?99f0","webpack:///./src/components/layout/childNavbar.vue","webpack:///src/components/layout/childNavbar.vue","webpack:///./src/components/layout/childNavbar.vue?4bd6","webpack:///./src/components/layout/childNavbar.vue?afec","webpack:///./src/assets/icon/childNavbar sync ^\\.\\/.*\\.png$","webpack:///./src/components/layout/childNavbar.vue?0c29","webpack:///./src/assets/icon/childNavbar sync ^\\.\\/.*_1\\.png$","webpack:///./src/views/forum/forum-question-details.vue","webpack:///./src/components/forum/forum-list-module.vue","webpack:///src/components/forum/forum-list-module.vue","webpack:///./src/components/forum/forum-list-module.vue?7062","webpack:///./src/components/forum/forum-list-module.vue?c4d1","webpack:///src/views/forum/forum-question-details.vue","webpack:///./src/views/forum/forum-question-details.vue?fb71","webpack:///./src/views/forum/forum-question-details.vue?f522","webpack:///./src/views/forum/forum-question-details.vue?015a"],"names":["render","_vm","this","_c","_self","staticClass","_l","menuList","item","index","class","current","on","$event","handlePush","attrs","icon_s","icon","blue","_v","_s","title","numKey","num","shape","_e","staticRenderFns","name","props","menu","type","Array","required","Object","data","watch","val","$emit","mounted","_this","map","_objectSpread","iconPath","findIndex","link","$route","path","methods","$router","push","then","require","concat","icon_title","component","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","resolve","module","exports","forumMarkNum","back","handleShare","info","content","comment_option","openAllComment","handleSwitch","handleCollect","slot","hide","detail_show","domProps","style","transform","replay_num","list","userInfo","level_id","level","user_id","formatRichText1","forum_id","finished","ref","model","value","all_comment","callback","$$v","expression","headimg","collect_num","browse_num","_t","is_like","handleLike","like_num","comment_num","reportVisible","is_collect","params","sort_type","getCommentList","switch_open","directives","rawName","edit_value","target","composing","handleComment","option","reportType","length","components","ForumCommentCard","Report","default","listApi","_","likeApi","postApi","postReplyApi","delApi","page","page_num","computed","mapState","reply_id","_ref","_this2","like_id","_ref2","msg","tags","Number","$message","success","_this3","_ref3","ChildNavbar","ForumListModule","ForumAllComment","loading","state","mark_num","ForumService","getReplyCommentList","forumTags","commentReply","comment","forumSecondComment","batchesDel","query","getQuestionDetail","getAnswerList","localStorage","getItem","$store","dispatch","TouchBottom","getForumInfo","detail","getReplyList","pageNum","total_count","_this4","forumCollect","status","_this5","GeneralService","switchSet","_ref4","_this6","forumTransmit","_ref5","copy","location","href","$refs","open"],"mappings":"kKAAA,W,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACJ,EAAIK,GAAIL,EAAIM,UAAU,SAASC,EAAKC,GAAO,MAAO,CAAU,QAARD,EAAgBL,EAAG,MAAM,CAACE,YAAY,qBAAqBF,EAAG,MAAM,CAACE,YAAY,mBAAmBK,MAAM,CAAE,2BAA4BT,EAAIU,SAAWF,GAAQG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,WAAWN,EAAMC,MAAU,CAACN,EAAG,MAAM,CAACY,MAAM,CAAC,IAAMd,EAAIU,SAAWF,EAAQD,EAAKQ,OAASR,EAAKS,KAAK,IAAM,MAAMd,EAAG,OAAO,CAACO,MAAM,CAAEQ,KAAMjB,EAAIU,SAAWF,IAAS,CAACR,EAAIkB,GAAGlB,EAAImB,GAAGZ,EAAKa,UAAWb,EAAKc,QAAYrB,EAAIsB,IAAIf,EAAKc,QAASnB,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACJ,EAAIkB,GAAG,aAAalB,EAAImB,GAAiB,SAAdZ,EAAKgB,MAAmB,GAAKvB,EAAIsB,IAAIf,EAAKc,SAAS,cAAcrB,EAAIwB,YAAW,IAEptBC,EAAkB,G,8rBCmBP,OACfC,KAAA,cACAC,MAAA,CACAC,KAAA,CACAC,KAAAC,MACAC,UAAA,GAEAT,IAAA,CACAO,KAAAG,SAGAC,KAAA,WACA,OACAvB,QAAA,EACAJ,SAAA,KAGA4B,MAAA,CACAxB,QAAA,SAAAyB,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GACAuH,OAAA,KAAAzG,KAAAqC,aACA1D,MAAA,SAAAiG,GAAA,IAAAjH,EAAAiH,EAAAjH,KAAA2G,EAAAM,EAAAN,IACAiC,EAAAvG,KAAAqC,WAAA1E,EAAA8I,OACAF,EAAA9B,SAAAC,QAAAJ,OAIAlE,aAAA,eAAAsG,EAAA,KACAC,OAAAC,UAAA,CAAA1H,GAAA,KAAAc,KAAAd,GAAA3B,KAAA,IAAAoB,MACA,SAAAkI,GAAA,IAAAlJ,EAAAkJ,EAAAlJ,KAAA2G,EAAAuC,EAAAvC,IACAoC,EAAA1G,KAAAyC,YAAA9E,EAAA8I,OACAC,EAAAjC,SAAAC,QAAAJ,OAKAvE,YAAA,eAAA+G,EAAA,KACA3B,OAAA4B,cAAA,CAAA5F,SAAA,KAAAnB,KAAAd,KAAAP,MAAA,SAAAqI,GAAA,IAAA1C,EAAA0C,EAAA1C,IACAwC,EAAArC,SAAAC,QAAAJ,GACA2C,eAAAC,SAAAC,UAIAhH,eAAA,SAAA5C,EAAAyC,GACA,KAAAoH,MAAA,mBAAAC,KAAA9J,EAAAyC,MCrR+W,ICQ3W,G,UAAY,eACd,EACAvE,EACA0B,GACA,EACA,KACA,WACA,OAIa,e,2CCnBf","file":"js/chunk-32ae3444.73ff9bbf.js","sourcesContent":["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!./forum-list-module.vue?vue&type=style&index=0&id=290df66c&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"childNavbar-wrap\"},[_vm._l((_vm.menuList),function(item,index){return [(item == 'line')?_c('div',{staticClass:\"childNavbar-line\"}):_c('div',{staticClass:\"childNavbar-item\",class:{ 'childNavbar-item-currnet': _vm.current == index },on:{\"click\":function($event){return _vm.handlePush(item, index)}}},[_c('img',{attrs:{\"src\":_vm.current == index ? item.icon_s : item.icon,\"alt\":\"\"}}),_c('span',{class:{ blue: _vm.current == index }},[_vm._v(_vm._s(item.title))]),(item.numKey && !!_vm.num[item.numKey])?_c('div',{staticClass:\"mark\"},[_vm._v(\"\\n \"+_vm._s(item.shape == \"round\" ? \"\" : _vm.num[item.numKey])+\"\\n \")]):_vm._e()])]})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"childNavbar-wrap\">\r\n <template v-for=\"(item, index) in menuList\">\r\n <div class=\"childNavbar-line\" v-if=\"item == 'line'\"></div>\r\n <div\r\n v-else\r\n class=\"childNavbar-item\"\r\n :class=\"{ 'childNavbar-item-currnet': current == index }\"\r\n @click=\"handlePush(item, index)\"\r\n >\r\n <img :src=\"current == index ? item.icon_s : item.icon\" alt=\"\" />\r\n <span :class=\"{ blue: current == index }\">{{ item.title }}</span>\r\n <div class=\"mark\" v-if=\"item.numKey && !!num[item.numKey]\">\r\n {{ item.shape == \"round\" ? \"\" : num[item.numKey] }}\r\n </div>\r\n </div>\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"childNavbar\",\r\n props: {\r\n menu: {\r\n type: Array,\r\n required: true,\r\n },\r\n num: {\r\n type: Object,\r\n },\r\n },\r\n data() {\r\n return {\r\n current: 0,\r\n menuList: [],\r\n };\r\n },\r\n watch: {\r\n current(val) {\r\n this.$emit(\"change\", val);\r\n },\r\n },\r\n mounted() {\r\n this.menuList = this.menu.map((item) => {\r\n return typeof item == \"string\"\r\n ? item\r\n : {\r\n ...item,\r\n ...this.iconPath(item),\r\n };\r\n });\r\n this.current = this.menuList.findIndex(\r\n (item) => item.link == this.$route.path\r\n );\r\n },\r\n methods: {\r\n handlePush(item, index) {\r\n if (this.current == index) return;\r\n this.current = index;\r\n this.$router.push(item.link).then(() => {});\r\n },\r\n iconPath(item) {\r\n return {\r\n icon: require(`@/assets/icon/childNavbar/${\r\n item.icon_title || item.title\r\n }.png`),\r\n icon_s: require(`@/assets/icon/childNavbar/${\r\n item.icon_title || item.title\r\n }_1.png`),\r\n };\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.childNavbar-wrap {\r\n background-color: white;\r\n border-radius: 10px;\r\n width: 100%;\r\n padding: 15px 0;\r\n box-sizing: border-box;\r\n user-select: none;\r\n .childNavbar-line {\r\n width: calc(100% - 60px);\r\n height: 1px;\r\n background-color: rgba(151, 151, 151, 0.1);\r\n margin: 5px auto;\r\n }\r\n .childNavbar-item {\r\n width: calc(100% - 60px);\r\n height: 30px;\r\n display: flex;\r\n align-items: center;\r\n padding: 10px 30px;\r\n img {\r\n width: 16px;\r\n height: 16px;\r\n }\r\n span {\r\n font-size: 16px;\r\n line-height: 40px;\r\n margin-left: 12px;\r\n }\r\n .mark {\r\n height: 16px;\r\n width: 16px;\r\n background-color: #ff3535;\r\n color: white;\r\n border-radius: 50%;\r\n margin-left: 20px;\r\n text-align: center;\r\n line-height: 16px;\r\n font-size: 12px;\r\n }\r\n }\r\n\r\n .childNavbar-item:hover {\r\n background: rgba(0, 84, 247, 0.06);\r\n }\r\n .childNavbar-item-currnet {\r\n background: rgba(0, 84, 247, 0.06);\r\n }\r\n .blue {\r\n color: #2a63f3;\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!./childNavbar.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!./childNavbar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./childNavbar.vue?vue&type=template&id=d8446d90&scoped=true&\"\nimport script from \"./childNavbar.vue?vue&type=script&lang=js&\"\nexport * from \"./childNavbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./childNavbar.vue?vue&type=style&index=0&id=d8446d90&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 \"d8446d90\",\n null\n \n)\n\nexport default component.exports","var map = {\n\t\"./充值订单.png\": \"9728\",\n\t\"./充值订单_1.png\": \"a398\",\n\t\"./回复我的.png\": \"91ea\",\n\t\"./回复我的_1.png\": \"b528\",\n\t\"./回复我的_forum.png\": \"0818\",\n\t\"./回复我的_forum_1.png\": \"74fa\",\n\t\"./回答我的.png\": \"efa8\",\n\t\"./回答我的_1.png\": \"3d81\",\n\t\"./学习历史.png\": \"9f71\",\n\t\"./学习历史_1.png\": \"0677\",\n\t\"./我的关注.png\": \"cda1\",\n\t\"./我的关注_1.png\": \"3215\",\n\t\"./我的发布.png\": \"2e1a\",\n\t\"./我的发布_1.png\": \"b48b\",\n\t\"./我的回复.png\": \"a5f6\",\n\t\"./我的回复_1.png\": \"ec94\",\n\t\"./我的回复_forum.png\": \"c8a9\",\n\t\"./我的回复_forum_1.png\": \"6cb6\",\n\t\"./我的回答.png\": \"d83c\",\n\t\"./我的回答_1.png\": \"76ef\",\n\t\"./我的已购.png\": \"42aa\",\n\t\"./我的已购_1.png\": \"d388\",\n\t\"./我的提问.png\": \"7f11\",\n\t\"./我的提问_1.png\": \"d9f4\",\n\t\"./我的收藏.png\": \"04a8\",\n\t\"./我的收藏_1.png\": \"f30b\",\n\t\"./我的点赞.png\": \"4740\",\n\t\"./我的点赞_1.png\": \"8be3\",\n\t\"./我的订阅.png\": \"0bb9\",\n\t\"./我的订阅_1.png\": \"95b6\",\n\t\"./我的评论.png\": \"2d4e\",\n\t\"./我的评论_1.png\": \"a078\",\n\t\"./我的评论_forum.png\": \"aba0\",\n\t\"./我的评论_forum_1.png\": \"af14\",\n\t\"./我的追番.png\": \"6c7d\",\n\t\"./我的追番_1.png\": \"51c3\",\n\t\"./浏览记录.png\": \"709a2\",\n\t\"./浏览记录_1.png\": \"3aed\",\n\t\"./点赞我的.png\": \"1146\",\n\t\"./点赞我的_1.png\": \"9c4b\",\n\t\"./订阅.png\": \"2a09\",\n\t\"./订阅_1.png\": \"5527\",\n\t\"./评论我的.png\": \"7d7e\",\n\t\"./评论我的_1.png\": \"d6b0\",\n\t\"./账户管理.png\": \"c6a7\",\n\t\"./账户管理_1.png\": \"62bf\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"9b0e\";","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!./childNavbar.vue?vue&type=style&index=0&id=d8446d90&prod&lang=scss&scoped=true&\"","var map = {\n\t\"./充值订单_1.png\": \"a398\",\n\t\"./回复我的_1.png\": \"b528\",\n\t\"./回复我的_forum_1.png\": \"74fa\",\n\t\"./回答我的_1.png\": \"3d81\",\n\t\"./学习历史_1.png\": \"0677\",\n\t\"./我的关注_1.png\": \"3215\",\n\t\"./我的发布_1.png\": \"b48b\",\n\t\"./我的回复_1.png\": \"ec94\",\n\t\"./我的回复_forum_1.png\": \"6cb6\",\n\t\"./我的回答_1.png\": \"76ef\",\n\t\"./我的已购_1.png\": \"d388\",\n\t\"./我的提问_1.png\": \"d9f4\",\n\t\"./我的收藏_1.png\": \"f30b\",\n\t\"./我的点赞_1.png\": \"8be3\",\n\t\"./我的订阅_1.png\": \"95b6\",\n\t\"./我的评论_1.png\": \"a078\",\n\t\"./我的评论_forum_1.png\": \"af14\",\n\t\"./我的追番_1.png\": \"51c3\",\n\t\"./浏览记录_1.png\": \"3aed\",\n\t\"./点赞我的_1.png\": \"9c4b\",\n\t\"./订阅_1.png\": \"5527\",\n\t\"./评论我的_1.png\": \"d6b0\",\n\t\"./账户管理_1.png\": \"62bf\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"aace\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"navbar\"},[_c('ChildNavbar',{attrs:{\"num\":_vm.forumMarkNum,\"menu\":_vm.menu}})],1),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"back\",on:{\"click\":function($event){return _vm.$router.back()}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/back.png\")}}),_c('span',[_vm._v(\"返回\")])]),_c('div',{staticClass:\"share\",on:{\"click\":_vm.handleShare}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/share.png\")}}),_c('span',[_vm._v(\"分享\")])])]),_c('div',{staticClass:\"question\"},[(_vm.info.title || _vm.info.content)?_c('ForumListModule',{attrs:{\"type\":\"question\",\"info\":_vm.info,\"option\":_vm.comment_option},on:{\"openAllComment\":function($event){return _vm.openAllComment('question', _vm.info)},\"handleAnswer\":function($event){return _vm.$router.push('/forum-answer-contribute?forum_id=' + _vm.info.id)},\"handleSwitch\":_vm.handleSwitch,\"handleCollect\":_vm.handleCollect}},[_c('div',{staticClass:\"question-content\",attrs:{\"slot\":\"content\"},slot:\"content\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.info.title))]),_c('div',{staticClass:\"detail\",class:{ hide: !_vm.detail_show },domProps:{\"innerHTML\":_vm._s(_vm.info.content)}}),_c('div',{staticClass:\"show-all\",on:{\"click\":function($event){_vm.detail_show = !_vm.detail_show}}},[_c('span',[_vm._v(_vm._s(_vm.detail_show ? \"收起\" : \"展开\")+\"全部\")]),_c('img',{style:({\n transform: `rotate(${_vm.detail_show ? '270deg' : '90deg'})`,\n }),attrs:{\"src\":require(\"@/assets/icon/arrow-blue.png\")}})])])]):_vm._e()],1),_c('div',{staticClass:\"all-answer\"},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/answer.png\")}}),_c('span',[_vm._v(\" 全部回答 \")]),_c('span',[_vm._v(_vm._s(_vm.info.replay_num))])]),_c('div',{staticClass:\"answer\"},[_vm._l((_vm.list),function(item,index){return _c('div',{staticClass:\"answer-item\"},[_c('div',{staticClass:\"answer-top\"},[_vm._v(\"\\n 该问题的\"+_vm._s(index ? \"下一个\" : \"第一个\")+\"回答\\n \")]),_c('ForumListModule',{attrs:{\"type\":\"answer\",\"info\":item,\"option\":_vm.comment_option},on:{\"openAllComment\":function($event){return _vm.openAllComment('answer', item)}}},[_c('div',{staticClass:\"answer-content\",attrs:{\"slot\":\"content\"},slot:\"content\"},[(\n _vm.userInfo.level_id ||\n !_vm.info.level ||\n item.user_id == _vm.userInfo.id\n )?_c('div',{staticClass:\"detail\",domProps:{\"innerHTML\":_vm._s(_vm.formatRichText1(item.content))}}):_vm._e(),(\n _vm.userInfo.level_id ||\n !_vm.info.level ||\n item.user_id == _vm.userInfo.id\n )?_c('div',{staticClass:\"view-answer\",on:{\"click\":function($event){return _vm.$router.push(\n `/forum-answer-item?forum_id=${item.forum_id}&reply_id=${item.id}`\n )}}},[_vm._v(\"\\n 点击查看答案\\n \")]):_c('div',{staticClass:\"open-vip\"},[_vm._v(\"开通会员查看答案\")])])])],1)}),(_vm.finished)?_c('div',{staticClass:\"normal\"},[_vm._v(\"没有更多回答\")]):_vm._e()],2)]),_c('ForumAllComment',{ref:\"forumAllComment\",attrs:{\"option\":_vm.comment_option},model:{value:(_vm.all_comment),callback:function ($$v) {_vm.all_comment=$$v},expression:\"all_comment\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"module\"},[_c('div',{staticClass:\"info\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"user\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.info.headimg,\"alt\":\"\"}}),_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.info.name))])]),(_vm.type == 'question')?_c('div',{staticClass:\"follow-share\"},[_vm._v(\"\\n \"+_vm._s(_vm.info.collect_num)+\"关注·\"+_vm._s(_vm.info.browse_num)+\"阅读\\n \")]):_vm._e()]),_vm._t(\"content\"),_c('div',{staticClass:\"footer\"},[_c('div',{staticClass:\"btn-box\"},[_c('div',{staticClass:\"tag-btn\",class:{ 'tag-btn-select': !!_vm.info.is_like },on:{\"click\":_vm.handleLike}},[_c('img',{staticClass:\"icon\",attrs:{\"src\":require(`@/assets/icon/${\n _vm.info.is_like ? 'dianzan_fill_blue' : 'dianzan_border_grey'\n }.png`)}}),_c('span',[_vm._v(_vm._s(_vm.info.like_num)+\" 点赞\")])]),_c('div',{staticClass:\"tag-btn\",on:{\"click\":function($event){_vm.type == 'answer' && _vm.info.comment_num\n ? _vm.$emit('openAllComment')\n : ''}}},[_c('img',{staticClass:\"icon\",attrs:{\"src\":require(\"@/assets/icon/pinglun_fill_grey.png\")}}),(_vm.type == 'question')?_c('span',[_vm._v(_vm._s(_vm.info.replay_num)+\" 回答\")]):_vm._e(),(_vm.type == 'answer')?_c('span',[_vm._v(_vm._s(_vm.info.comment_num)+\" 评论\")]):_vm._e()]),_c('div',{staticClass:\"tag-btn\",on:{\"click\":function($event){_vm.reportVisible = true}}},[_c('img',{staticClass:\"icon\",attrs:{\"src\":require(\"@/assets/icon/report.png\")}}),_c('span',[_vm._v(\"举报\")])])]),(_vm.type == 'question')?_c('div',{staticClass:\"btn-box\"},[_c('div',{staticClass:\"btn\",class:{ 'btn-select': _vm.info.is_collect },on:{\"click\":function($event){return _vm.$emit('handleCollect')}}},[_vm._v(\"\\n \"+_vm._s(_vm.info.is_collect ? \"已关注\" : \"关注问题\")+\"\\n \")]),_c('div',{staticClass:\"btn\",on:{\"click\":function($event){return _vm.$emit('handleAnswer')}}},[_vm._v(\"写答案\")])]):_vm._e()])],2),_c('div',{staticClass:\"line\"}),_c('div',{staticClass:\"comment\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"comment-num\"},[_vm._v(\"评论 \"+_vm._s(_vm.info.comment_num))]),_c('div',{staticClass:\"right\"},[_c('div',{staticClass:\"sort\"},[_c('span',{class:{ current: _vm.params.sort_type == 1 },on:{\"click\":function($event){_vm.params.sort_type = 1;\n _vm.getCommentList();}}},[_vm._v(\"最新\")]),_vm._v(\"\\n |\\n \"),_c('span',{class:{ current: _vm.params.sort_type == 2 },on:{\"click\":function($event){_vm.params.sort_type = 2;\n _vm.getCommentList();}}},[_vm._v(\"最热\")])]),(_vm.type == 'question')?_c('div',{staticClass:\"switch\",class:[_vm.info.switch_open ? 'open' : 'close'],on:{\"click\":function($event){return _vm.$emit('handleSwitch')}}},[_c('div',{staticClass:\"tips\"},[_vm._v(_vm._s(_vm.info.switch_open ? \"通知开\" : \"通知关\"))]),_c('div',{staticClass:\"btn\"})]):_vm._e()])]),_c('div',{staticClass:\"edit\"},[_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.userInfo.headimg,\"alt\":\"\"}}),_c('div',{staticClass:\"edit-box\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.edit_value),expression:\"edit_value\"}],staticClass:\"edit-value\",attrs:{\"placeholder\":\"发布一条友善的评论\"},domProps:{\"value\":(_vm.edit_value)},on:{\"input\":function($event){if($event.target.composing)return;_vm.edit_value=$event.target.value}}}),_c('div',{staticClass:\"edit-btn\",class:{ 'can-user': !!_vm.edit_value },on:{\"click\":function($event){_vm.edit_value ? _vm.handleComment() : ''}}},[_vm._v(\"\\n 发表评论\\n \")])])]),_c('div',{staticClass:\"list\"},_vm._l((_vm.list),function(item){return _c('div',{staticClass:\"list-item\"},[_c('ForumCommentCard',{attrs:{\"comment\":item,\"option\":_vm.option,\"reportType\":_vm.option.reportType},on:{\"reply\":() => _vm.getCommentList(),\"delete\":() => _vm.getCommentList()}})],1)}),0),(_vm.list.length == 2)?_c('div',{staticClass:\"all-comment\",on:{\"click\":function($event){return _vm.$emit('openAllComment')}}},[_vm._v(\"\\n 查看全部评论\\n \")]):_vm._e()]),_c('Report',{attrs:{\"type\":_vm.option.reportType,\"info\":_vm.info},model:{value:(_vm.reportVisible),callback:function ($$v) {_vm.reportVisible=$$v},expression:\"reportVisible\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"module\">\r\n <div class=\"info\">\r\n <div class=\"header\">\r\n <div class=\"user\">\r\n <img class=\"avatar\" :src=\"info.headimg\" alt=\"\" />\r\n <div class=\"name\">{{ info.name }}</div>\r\n </div>\r\n <div class=\"follow-share\" v-if=\"type == 'question'\">\r\n {{ info.collect_num }}关注·{{ info.browse_num }}阅读\r\n </div>\r\n </div>\r\n <slot name=\"content\"></slot>\r\n <div class=\"footer\">\r\n <div class=\"btn-box\">\r\n <div\r\n class=\"tag-btn\"\r\n :class=\"{ 'tag-btn-select': !!info.is_like }\"\r\n @click=\"handleLike\"\r\n >\r\n <img\r\n class=\"icon\"\r\n :src=\"\r\n require(`@/assets/icon/${\r\n info.is_like ? 'dianzan_fill_blue' : 'dianzan_border_grey'\r\n }.png`)\r\n \"\r\n />\r\n <span>{{ info.like_num }} 点赞</span>\r\n </div>\r\n <div\r\n class=\"tag-btn\"\r\n @click=\"\r\n type == 'answer' && info.comment_num\r\n ? $emit('openAllComment')\r\n : ''\r\n \"\r\n >\r\n <img class=\"icon\" src=\"@/assets/icon/pinglun_fill_grey.png\" />\r\n <span v-if=\"type == 'question'\">{{ info.replay_num }} 回答</span>\r\n <span v-if=\"type == 'answer'\">{{ info.comment_num }} 评论</span>\r\n </div>\r\n <div class=\"tag-btn\" @click=\"reportVisible = true\">\r\n <img class=\"icon\" src=\"@/assets/icon/report.png\" />\r\n <span>举报</span>\r\n </div>\r\n </div>\r\n <div class=\"btn-box\" v-if=\"type == 'question'\">\r\n <div\r\n class=\"btn\"\r\n :class=\"{ 'btn-select': info.is_collect }\"\r\n @click=\"$emit('handleCollect')\"\r\n >\r\n {{ info.is_collect ? \"已关注\" : \"关注问题\" }}\r\n </div>\r\n <div class=\"btn\" @click=\"$emit('handleAnswer')\">写答案</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"line\"></div>\r\n <div class=\"comment\">\r\n <div class=\"header\">\r\n <div class=\"comment-num\">评论 {{ info.comment_num }}</div>\r\n <div class=\"right\">\r\n <div class=\"sort\">\r\n <span\r\n :class=\"{ current: params.sort_type == 1 }\"\r\n @click=\"\r\n params.sort_type = 1;\r\n getCommentList();\r\n \"\r\n >最新</span\r\n >\r\n |\r\n <span\r\n :class=\"{ current: params.sort_type == 2 }\"\r\n @click=\"\r\n params.sort_type = 2;\r\n getCommentList();\r\n \"\r\n >最热</span\r\n >\r\n </div>\r\n <div\r\n class=\"switch\"\r\n v-if=\"type == 'question'\"\r\n :class=\"[info.switch_open ? 'open' : 'close']\"\r\n @click=\"$emit('handleSwitch')\"\r\n >\r\n <div class=\"tips\">{{ info.switch_open ? \"通知开\" : \"通知关\" }}</div>\r\n <div class=\"btn\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"edit\">\r\n <img class=\"avatar\" :src=\"userInfo.headimg\" alt=\"\" />\r\n <div class=\"edit-box\">\r\n <textarea\r\n class=\"edit-value\"\r\n placeholder=\"发布一条友善的评论\"\r\n v-model=\"edit_value\"\r\n ></textarea>\r\n <div\r\n class=\"edit-btn\"\r\n :class=\"{ 'can-user': !!edit_value }\"\r\n @click=\"edit_value ? handleComment() : ''\"\r\n >\r\n 发表评论\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div class=\"list-item\" v-for=\"item in list\">\r\n <ForumCommentCard\r\n :comment=\"item\"\r\n :option=\"option\"\r\n :reportType=\"option.reportType\"\r\n @reply=\"() => getCommentList()\"\r\n @delete=\"() => getCommentList()\"\r\n />\r\n </div>\r\n </div>\r\n <div\r\n class=\"all-comment\"\r\n v-if=\"list.length == 2\"\r\n @click=\"$emit('openAllComment')\"\r\n >\r\n 查看全部评论\r\n </div>\r\n </div>\r\n <Report :type=\"option.reportType\" :info=\"info\" v-model=\"reportVisible\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport ForumCommentCard from \"@/components/card/forum/forum-comment-card.vue\";\r\nimport Report from \"@/components/module/report.vue\";\r\nimport { mapState } from \"vuex\";\r\nexport default {\r\n name: \"ForumListModule\",\r\n components: { ForumCommentCard, Report },\r\n props: {\r\n info: {\r\n default() {\r\n return {};\r\n },\r\n },\r\n option: {\r\n type: Object,\r\n default: () => {\r\n return {\r\n // 列表api\r\n listApi: (_) => {},\r\n // 点赞api\r\n likeApi: (_) => {},\r\n // 评论api\r\n postApi: (_) => {},\r\n // 回复api\r\n postReplyApi: (_) => {},\r\n // 删除api\r\n delApi: (_) => {},\r\n };\r\n },\r\n },\r\n type: {},\r\n },\r\n data() {\r\n return {\r\n edit_value: \"\",\r\n params: {\r\n page: 1,\r\n page_num: 2,\r\n sort_type: 1,\r\n },\r\n list: [],\r\n reportVisible: false,\r\n };\r\n },\r\n computed: {\r\n ...mapState([\"userInfo\"]),\r\n },\r\n mounted() {\r\n if (this.type == \"answer\") this.params.reply_id = this.info.id;\r\n this.getCommentList();\r\n },\r\n methods: {\r\n // 获取评论数据\r\n getCommentList() {\r\n this.option.listApi(this.params).then(({ data }) => {\r\n this.list = data.list;\r\n });\r\n },\r\n // 点赞\r\n handleLike() {\r\n this.option\r\n .likeApi({\r\n like_id: this.info.id,\r\n type: this.type == \"question\" ? 10 : 3,\r\n })\r\n .then(({ data, msg }) => {\r\n this.info.is_like = data.tags;\r\n this.info.like_num = data.tags\r\n ? Number(this.info.like_num) + 1\r\n : Number(this.info.like_num) - 1;\r\n this.$message.success(msg);\r\n });\r\n },\r\n // 发布评论\r\n handleComment() {\r\n const params = { content: this.edit_value };\r\n this.type == \"answer\" ? (params.reply_id = this.info.id) : \"\";\r\n this.option.postApi(params).then(({ msg }) => {\r\n this.edit_value = \"\";\r\n this.$message.success(msg);\r\n this.getCommentList();\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.module {\r\n padding: 15px 15px 30px;\r\n background-color: white;\r\n .info {\r\n .header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .user {\r\n display: flex;\r\n align-items: center;\r\n .avatar {\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 50%;\r\n }\r\n .name {\r\n margin-left: 10px;\r\n font-size: 16px;\r\n color: #555555;\r\n }\r\n }\r\n .follow-share {\r\n font-size: 14px;\r\n font-weight: 500;\r\n color: #222222;\r\n }\r\n }\r\n .footer {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .btn-box {\r\n display: flex;\r\n align-items: center;\r\n .tag-btn {\r\n display: flex;\r\n align-items: center;\r\n padding: 5px 8px;\r\n cursor: pointer;\r\n .icon {\r\n width: 16px;\r\n height: 16px;\r\n margin-right: 5px;\r\n }\r\n span {\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #666666;\r\n }\r\n }\r\n .tag-btn-select {\r\n background: rgba(42, 99, 243, 0.06);\r\n span {\r\n color: #2a63f3;\r\n }\r\n }\r\n .btn {\r\n width: 96px;\r\n height: 32px;\r\n border-radius: 2px;\r\n border: 1px solid #0054f7;\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #0054f7;\r\n line-height: 32px;\r\n text-align: center;\r\n margin-left: 10px;\r\n cursor: pointer;\r\n }\r\n .btn-select {\r\n background: #0054f7;\r\n color: white;\r\n }\r\n }\r\n }\r\n }\r\n .line {\r\n width: 100%;\r\n height: 1px;\r\n background: #f4f4f4;\r\n margin: 30px 0;\r\n }\r\n .comment {\r\n .header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .comment-num {\r\n font-size: 18px;\r\n font-weight: 400;\r\n color: #222222;\r\n }\r\n .right {\r\n display: flex;\r\n align-items: center;\r\n .sort {\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #999999;\r\n span {\r\n cursor: pointer;\r\n }\r\n .current {\r\n color: #222222;\r\n }\r\n }\r\n .switch {\r\n margin-left: 15px;\r\n width: 60px;\r\n height: 20px;\r\n border-radius: 30px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n .tips {\r\n width: 40px;\r\n text-align: center;\r\n font-size: 10px;\r\n font-weight: 400;\r\n }\r\n .btn {\r\n width: 20px;\r\n height: 20px;\r\n background: #ffffff;\r\n border-radius: 50%;\r\n box-shadow: 0px 2px 7px 2px rgba(0, 0, 0, 0.08),\r\n 0px 2px 2px 0px rgba(0, 0, 0, 0.12),\r\n 0px 1px 2px -2px rgba(0, 0, 0, 0.16);\r\n }\r\n }\r\n .open {\r\n background: #0054f7;\r\n .tips {\r\n color: white;\r\n transform: translate(18px, 0);\r\n }\r\n .btn {\r\n transform: translate(-40px, 0);\r\n }\r\n }\r\n .close {\r\n background: #cccccc;\r\n .tips {\r\n color: #666666;\r\n }\r\n .btn {\r\n transform: translate(0, 0);\r\n }\r\n }\r\n }\r\n }\r\n .edit {\r\n margin-top: 15px;\r\n width: 100%;\r\n display: flex;\r\n align-items: flex-start;\r\n .avatar {\r\n width: 40px;\r\n height: 40px;\r\n border-radius: 50%;\r\n }\r\n .edit-box {\r\n width: calc(100% - 50px);\r\n min-height: 100px;\r\n background: #f4f4f4;\r\n border-radius: 10px;\r\n position: relative;\r\n margin-left: 10px;\r\n .edit-value {\r\n width: 100%;\r\n height: 100px;\r\n outline: none;\r\n border: none;\r\n background: transparent;\r\n resize: none;\r\n box-sizing: border-box;\r\n padding: 10px 15px;\r\n font-size: 18px;\r\n }\r\n .edit-value::placeholder {\r\n font-size: 18px;\r\n font-weight: 400;\r\n color: #999999;\r\n }\r\n .edit-btn {\r\n width: 110px;\r\n height: 46px;\r\n background: #b6b6b6;\r\n border-radius: 6px;\r\n text-align: center;\r\n line-height: 46px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #ffffff;\r\n position: absolute;\r\n right: 10px;\r\n bottom: 10px;\r\n user-select: none;\r\n }\r\n .can-user {\r\n background: #0054f7;\r\n cursor: pointer;\r\n }\r\n }\r\n }\r\n .list {\r\n margin-top: 15px;\r\n .list-item {\r\n margin-bottom: 15px;\r\n }\r\n }\r\n .all-comment {\r\n width: 152px;\r\n height: 38px;\r\n background: #f4f4f4;\r\n border-radius: 4px;\r\n margin: 30px auto 0;\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #333333;\r\n text-align: center;\r\n line-height: 38px;\r\n cursor: pointer;\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!./forum-list-module.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!./forum-list-module.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-list-module.vue?vue&type=template&id=290df66c&scoped=true&\"\nimport script from \"./forum-list-module.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-list-module.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-list-module.vue?vue&type=style&index=0&id=290df66c&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 \"290df66c\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"wrap\">\r\n <div class=\"navbar\">\r\n <ChildNavbar :num=\"forumMarkNum\" :menu=\"menu\" />\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"header\">\r\n <div class=\"back\" @click=\"$router.back()\">\r\n <img src=\"@/assets/icon/back.png\" /><span>返回</span>\r\n </div>\r\n <div class=\"share\" @click=\"handleShare\">\r\n <img src=\"@/assets/icon/share.png\" /><span>分享</span>\r\n </div>\r\n </div>\r\n <div class=\"question\">\r\n <ForumListModule\r\n type=\"question\"\r\n v-if=\"info.title || info.content\"\r\n :info=\"info\"\r\n :option=\"comment_option\"\r\n @openAllComment=\"openAllComment('question', info)\"\r\n @handleAnswer=\"\r\n $router.push('/forum-answer-contribute?forum_id=' + info.id)\r\n \"\r\n @handleSwitch=\"handleSwitch\"\r\n @handleCollect=\"handleCollect\"\r\n >\r\n <div class=\"question-content\" slot=\"content\">\r\n <div class=\"title\">{{ info.title }}</div>\r\n <div\r\n class=\"detail\"\r\n v-html=\"info.content\"\r\n :class=\"{ hide: !detail_show }\"\r\n ></div>\r\n <div class=\"show-all\" @click=\"detail_show = !detail_show\">\r\n <span>{{ detail_show ? \"收起\" : \"展开\" }}全部</span>\r\n <img\r\n src=\"@/assets/icon/arrow-blue.png\"\r\n :style=\"{\r\n transform: `rotate(${detail_show ? '270deg' : '90deg'})`,\r\n }\"\r\n />\r\n </div>\r\n </div>\r\n </ForumListModule>\r\n </div>\r\n <div class=\"all-answer\">\r\n <img src=\"@/assets/icon/answer.png\" />\r\n <span> 全部回答 </span>\r\n <span>{{ info.replay_num }}</span>\r\n </div>\r\n <div class=\"answer\">\r\n <div class=\"answer-item\" v-for=\"(item, index) in list\">\r\n <div class=\"answer-top\">\r\n 该问题的{{ index ? \"下一个\" : \"第一个\" }}回答\r\n </div>\r\n <ForumListModule\r\n type=\"answer\"\r\n :info=\"item\"\r\n :option=\"comment_option\"\r\n @openAllComment=\"openAllComment('answer', item)\"\r\n >\r\n <div class=\"answer-content\" slot=\"content\">\r\n <div\r\n class=\"detail\"\r\n v-html=\"formatRichText1(item.content)\"\r\n v-if=\"\r\n userInfo.level_id ||\r\n !info.level ||\r\n item.user_id == userInfo.id\r\n \"\r\n ></div>\r\n <div\r\n class=\"view-answer\"\r\n v-if=\"\r\n userInfo.level_id ||\r\n !info.level ||\r\n item.user_id == userInfo.id\r\n \"\r\n @click=\"\r\n $router.push(\r\n `/forum-answer-item?forum_id=${item.forum_id}&reply_id=${item.id}`\r\n )\r\n \"\r\n >\r\n 点击查看答案\r\n </div>\r\n <div class=\"open-vip\" v-else>开通会员查看答案</div>\r\n </div>\r\n </ForumListModule>\r\n </div>\r\n <div class=\"normal\" v-if=\"finished\">没有更多回答</div>\r\n </div>\r\n </div>\r\n <ForumAllComment\r\n ref=\"forumAllComment\"\r\n v-model=\"all_comment\"\r\n :option=\"comment_option\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport ChildNavbar from \"@/components/layout/childNavbar\";\r\nimport ForumListModule from \"@/components/forum/forum-list-module.vue\";\r\nimport ForumAllComment from \"@/components/forum/forum-all-comment.vue\";\r\nimport { mapState } from \"vuex\";\r\nimport { ForumService, GeneralService } from \"@/common/service\";\r\nimport { formatRichText1, copy } from \"@/common/util\";\r\nexport default {\r\n components: { ChildNavbar, ForumListModule, ForumAllComment },\r\n data() {\r\n return {\r\n menu: [\r\n {\r\n title: \"回答我的\",\r\n link: \"/forum/answer-on-my\",\r\n numKey: \"answer_num\",\r\n },\r\n {\r\n title: \"评论我的\",\r\n link: \"/forum/comment-on-my\",\r\n numKey: \"comment_num\",\r\n icon_title: \"回复我的\",\r\n },\r\n {\r\n title: \"回复我的\",\r\n link: \"/forum/reply-on-my\",\r\n numKey: \"reply_num\",\r\n icon_title: \"回复我的_forum\",\r\n },\r\n {\r\n link: \"/forum/like-on-my\",\r\n title: \"点赞我的\",\r\n numKey: \"praise_num\",\r\n shape: \"round\",\r\n },\r\n \"line\",\r\n {\r\n title: \"我的提问\",\r\n link: \"/forum/my-question\",\r\n },\r\n {\r\n title: \"我的回答\",\r\n link: \"/forum/my-answer\",\r\n },\r\n {\r\n title: \"我的评论\",\r\n link: \"/forum/my-comment\",\r\n icon_title: \"我的评论_forum\",\r\n },\r\n {\r\n title: \"我的回复\",\r\n link: \"/forum/my-reply\",\r\n icon_title: \"我的回复_forum\",\r\n },\r\n {\r\n title: \"我的点赞\",\r\n link: \"/forum/my-like\",\r\n },\r\n {\r\n title: \"我的关注\",\r\n link: \"/forum/my-follow\",\r\n },\r\n {\r\n title: \"浏览记录\",\r\n link: \"/forum/browse-history\",\r\n },\r\n ],\r\n info: {},\r\n detail_show: false,\r\n params: {\r\n page: 1,\r\n page_num: 5,\r\n },\r\n list: [],\r\n loading: false,\r\n finished: false,\r\n all_comment: false,\r\n };\r\n },\r\n computed: {\r\n ...mapState({\r\n userInfo: (state) => state.userInfo,\r\n forumMarkNum: (state) => state.mark_num.forumMarkNum, //直接拿到count数量\r\n }),\r\n comment_option() {\r\n return {\r\n // 列表api\r\n listApi: (params) =>\r\n ForumService.getReplyCommentList({\r\n ...params,\r\n forum_id: this.info.id,\r\n }),\r\n // 点赞\r\n likeApi: (params) => ForumService.forumTags(params),\r\n // 发布评论\r\n postApi: (params) =>\r\n ForumService.commentReply({\r\n ...params,\r\n forum_id: this.info.id,\r\n }),\r\n // 回复评论\r\n postReplyApi: (params, comment) =>\r\n ForumService.forumSecondComment({\r\n ...params,\r\n id: comment.id,\r\n }),\r\n reportType: 12,\r\n // 删除评论\r\n delApi: (params) => ForumService.batchesDel({ id: params.id, type: 9 }),\r\n };\r\n },\r\n },\r\n mounted() {\r\n this.info.id = this.$route.query.forum_id;\r\n this.params.forum_id = this.info.id;\r\n this.getQuestionDetail();\r\n this.getAnswerList();\r\n if (localStorage.getItem(\"user_info\"))\r\n this.$store.dispatch(\"getMarkNum\", \"forum\");\r\n },\r\n methods: {\r\n formatRichText1,\r\n // 触底\r\n TouchBottom() {\r\n if (this.loading || this.finished) return;\r\n this.getAnswerList();\r\n },\r\n // 获取问题详情\r\n getQuestionDetail() {\r\n ForumService.getForumInfo({ id: this.info.id }).then(({ data }) => {\r\n this.info = data.detail;\r\n });\r\n },\r\n // 获取回答列表\r\n getAnswerList() {\r\n if (this.loading || this.finished) return;\r\n this.loading = true;\r\n ForumService.getReplyList(this.params).then(({ data }) => {\r\n this.list =\r\n this.params.page == 1 ? data.list : this.list.concat(data.list);\r\n this.params.page++;\r\n this.loading = false;\r\n this.finished =\r\n data.list.length < this.params.pageNum ||\r\n this.list.length == data.total_count;\r\n });\r\n },\r\n // 关注\r\n handleCollect() {\r\n ForumService.forumCollect({\r\n id: this.info.id,\r\n status: this.info.is_collect,\r\n }).then(({ data, msg }) => {\r\n this.info.is_collect = data.status;\r\n this.$message.success(msg);\r\n });\r\n },\r\n // 通知\r\n handleSwitch() {\r\n GeneralService.switchSet({ id: this.info.id, type: 1 }).then(\r\n ({ data, msg }) => {\r\n this.info.switch_open = data.status;\r\n this.$message.success(msg);\r\n }\r\n );\r\n },\r\n // 分享\r\n handleShare() {\r\n ForumService.forumTransmit({ forum_id: this.info.id }).then(({ msg }) => {\r\n this.$message.success(msg);\r\n copy(location.href);\r\n });\r\n },\r\n // 打开全部评论弹窗\r\n openAllComment(type, info) {\r\n this.$refs[\"forumAllComment\"].open(type, info);\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.wrap {\r\n width: calc(100% - #{$navbarWidth} - 10px);\r\n padding-bottom: 50px;\r\n .navbar {\r\n width: $navbarWidth;\r\n position: fixed;\r\n right: 10px;\r\n }\r\n @media (max-width: 76.875rem) {\r\n .navbar {\r\n position: absolute;\r\n top: var(--scrollTop);\r\n left: calc(76.875rem - #{$navbarWidth} - 20px);\r\n }\r\n }\r\n .content {\r\n max-width: 1000px;\r\n min-width: 750px;\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n margin: 0 auto;\r\n > .header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n margin-bottom: 15px;\r\n .back {\r\n width: 100px;\r\n height: 40px;\r\n line-height: 40px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: white;\r\n border-radius: 4px;\r\n cursor: pointer;\r\n img {\r\n width: 7px;\r\n height: 14px;\r\n margin-right: 10px;\r\n }\r\n }\r\n .share {\r\n width: 100px;\r\n height: 40px;\r\n line-height: 40px;\r\n font-size: 14px;\r\n font-weight: 400;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #2a63f3;\r\n border-radius: 4px;\r\n color: #ffffff;\r\n cursor: pointer;\r\n img {\r\n width: 20px;\r\n height: 20px;\r\n margin-right: 10px;\r\n }\r\n }\r\n }\r\n .question {\r\n .question-content {\r\n .title {\r\n font-size: 24px;\r\n font-weight: 500;\r\n color: #222222;\r\n margin-top: 10px;\r\n }\r\n .detail {\r\n margin-top: 10px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #333333;\r\n word-wrap: break-word;\r\n }\r\n .hide {\r\n max-height: 120px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n }\r\n .show-all {\r\n width: 123px;\r\n height: 38px;\r\n border-radius: 19px;\r\n border: 1px solid #2a63f3;\r\n margin: 15px auto;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #2a63f3;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n cursor: pointer;\r\n img {\r\n width: 6px;\r\n height: 12px;\r\n margin: 0 5px;\r\n }\r\n }\r\n }\r\n }\r\n .all-answer {\r\n width: 100%;\r\n height: 64px;\r\n background: #ffffff;\r\n margin: 20px 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n user-select: none;\r\n img {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n span {\r\n font-size: 18px;\r\n color: #222222;\r\n }\r\n }\r\n .answer {\r\n .answer-item {\r\n .answer-top {\r\n margin: 20px 0;\r\n width: 100%;\r\n text-align: center;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #666666;\r\n user-select: none;\r\n }\r\n .answer-content {\r\n margin-top: 15px;\r\n .detail {\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n }\r\n .view-answer {\r\n margin: 25px auto;\r\n width: 152px;\r\n height: 38px;\r\n background: #2a63f3;\r\n border-radius: 4px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #ffffff;\r\n text-align: center;\r\n line-height: 38px;\r\n cursor: pointer;\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 }\r\n .normal {\r\n margin: 40px 0;\r\n width: 100%;\r\n text-align: center;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #666666;\r\n user-select: none;\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!./forum-question-details.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!./forum-question-details.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-question-details.vue?vue&type=template&id=0e52c309&scoped=true&\"\nimport script from \"./forum-question-details.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-question-details.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-question-details.vue?vue&type=style&index=0&id=0e52c309&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 \"0e52c309\",\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!./forum-question-details.vue?vue&type=style&index=0&id=0e52c309&prod&lang=scss&scoped=true&\""],"sourceRoot":""}
|