chunk-24e88122.ce968f8e.js.map 45 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/forum/children/like-on-my.vue?f932","webpack:///./src/assets/icon/question.png","webpack:///./src/assets/icon/answer.png","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:///./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/like-on-my.vue","webpack:///./src/components/card/forum/like-my-card.vue","webpack:///src/components/card/forum/like-my-card.vue","webpack:///./src/components/card/forum/like-my-card.vue?320e","webpack:///./src/components/card/forum/like-my-card.vue?ffc8","webpack:///src/views/forum/children/like-on-my.vue","webpack:///./src/views/forum/children/like-on-my.vue?49e7","webpack:///./src/views/forum/children/like-on-my.vue?9ca6","webpack:///./src/components/card/card-module/card-question-content.vue?5269","webpack:///./src/components/card/forum/like-my-card.vue?2b3f"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","on","$event","$emit","attrs","require","_v","_s","content","staticRenderFns","name","props","type","String","default","component","showIcon","_e","showVip","replaceTag","formatRichText1","Boolean","methods","val","replace","handleSearch","slot","manageType","class","select","changeType","forumMarkNum","praise_forum","praise_reply","praise_comment","changeAllChecked","model","value","allChecked","callback","$$v","expression","handleDelete","list","filter","item","checked","_l","key","id","$set","style","width","card_type","handleToDetail","forum_id","reply_id","finished","_g","staticStyle","btnList","$listeners","info","headimg","user_name","create_at","concat","cardType","userInfo","title","is_normal","components","CardBox","CardHeader","CardContent","CardAnswerContent","CardQuestionContent","Object","data","computed","_objectSpread","mapState","level_id","level","arr","mounted","LikeMyCard","TitleControl","_ref","params","page","page_num","sort_type","_defineProperty","state","mark_num","watch","forEach","getQuestionList","TouchBottom","getAnswerList","getCommentList","map","_this","ForumService","praiseForumList","then","_ref2","_toConsumableArray","length","handleRead","_this2","praiseReplyList","_ref3","_this3","praiseCommentList","_ref4","that","showConfirmPopup","join","batchesDel","_ref5","split","includes","$message","success","catch","_","_this4","is_read","unreadChange","res","$store","dispatch","arguments","undefined","keys","error","$router","push","path","query","list_copy"],"mappings":"kHAAA,W,qBCAAA,EAAOC,QAAU,0oC,mBCAjBD,EAAOC,QAAU,kqD,kCCAjB,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,wBAAwBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAON,EAAIO,MAAM,qBAAqB,CAACL,EAAG,MAAM,CAACE,YAAY,OAAOI,MAAM,CAAC,IAAMC,EAAQ,QAA8B,IAAM,MAAMP,EAAG,MAAM,CAACE,YAAY,SAAS,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIY,eAE/TC,EAAkB,GCMP,GACfC,KAAA,sBACAC,MAAA,CACAH,QAAA,CACAI,KAAAC,OACAC,QAAA,MCb6X,I,wBCQzXC,EAAY,eACd,EACApB,EACAc,GACA,EACA,KACA,WACA,MAIa,OAAAM,E,oECnBf,W,kCCAA,IAAIpB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,MAAM,CAACE,YAAY,OAAO,CAAEJ,EAAIoB,SAAUlB,EAAG,MAAM,CAACE,YAAY,OAAOI,MAAM,CAAC,IAAMC,EAAQ,WAA+BT,EAAIqB,KAAOrB,EAAIsB,QAAkItB,EAAIqB,KAA7HnB,EAAG,MAAM,CAACE,YAAY,WAAW,CAACJ,EAAIU,GAAG,WAAWV,EAAIW,GAAGX,EAAIuB,WAAWvB,EAAIwB,gBAAgBxB,EAAIY,WAAW,c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,KAAAuH,YAAA,KAAAA,UAAA,KAAAnG,MACApB,EACA,KAAAoB,KAAA,KAAAmG,UAAAlG,QAAA,SAAAC,GACA,OAAAA,EAAArC,QAAAmH,SAAApG,OAGA,KAAAoB,KAAA,KAAAmG,UACA,KAAAA,UAAA,OCxRkX,ICQ9W,G,UAAY,eACd,EACAnJ,EACAc,GACA,EACA,KACA,WACA,OAIa,e,2CCnBf,W,kCCAA","file":"js/chunk-24e88122.ce968f8e.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!./like-on-my.vue?vue&type=style&index=0&id=56535dd1&prod&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAw1JREFUWEftWU1IVFEU/s59zg9lhOZGE1pIkhUFleImrIgQIRprxoVYSEEQSJtSxI1WKJLRKi0kgogKnDBpUyLkqkVRFGGIgmEL+zMsJkNnxnk37htfMzrjzH3Px8wE3uW8c777nXPPOffcM4R46yy3YSbgAqkugPYBKADn2XFlzf5INAvgM8Bfg7MB5NoH0EvB5XAUg+/xVwO8C5wXmd3blB7RBECN8DoeR+tHCLZxhg/+TnDeaGoDq5SIurDD0Yw2UgVkhKBn/mrayelGCpJeZ1OEoDhWrvZb5QRLcIgdF8dNEAnx0z+a8phLZoWIyRxHCcHt9wBqXzJ5/XtpEaGhMgstD4OYmpHVMivHagieufvgqJWFqNvPcO+8HYPvQqhsj1SFnPVAcX5sUYiH65sDRqd48i0JDwie+TFwXpxc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85rwAvcXYRoGFYorfrZZ784gJqXVZKymlR+9WVMz57u03l6hap9lJKYrEdOKvlscGpkukjJZJGhrPfjDbkFO2gCffJUs3KK2Y6TXJ1pzXTXRvaeAeHOvVHIDmUCCVALFiF3O+f0P8AykzESWicFq5AAAAAElFTkSuQmCC\"","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","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\":\"点赞我的\",\"showSearch\":false},on:{\"handleChange\":_vm.handleSearch}},[_c('div',{staticClass:\"control-btn\",attrs:{\"slot\":\"control\"},slot:\"control\"},[(!_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 == 0 },on:{\"click\":function($event){return _vm.changeType(0)}}},[_vm._v(\"\\n 问题\\n \"),(!!_vm.forumMarkNum.praise_forum)?_c('div',{staticClass:\"mark\"}):_vm._e()]),_c('div',{staticClass:\"btn\",class:{ select: _vm.type == 1 },on:{\"click\":function($event){return _vm.changeType(1)}}},[_vm._v(\"\\n 回答\\n \"),(!!_vm.forumMarkNum.praise_reply)?_c('div',{staticClass:\"mark\"}):_vm._e()]),_c('div',{staticClass:\"btn\",class:{ select: _vm.type == 2 },on:{\"click\":function($event){return _vm.changeType(2)}}},[_vm._v(\"\\n 评论\\n \"),(!!_vm.forumMarkNum.praise_comment)?_c('div',{staticClass:\"mark\"}):_vm._e()])])])],1),_c('div',{staticClass:\"wrap-content\"},[(_vm.manageType)?_c('div',{staticClass:\"del-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\",on:{\"click\":function($event){_vm.handleDelete(_vm.list.filter((item) => item.checked))}}},[_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',{staticClass:\"card\",style:(_vm.manageType ? { width: 'calc(100% - 60px)' } : '')},[_c('LikeMyCard',{attrs:{\"info\":item,\"manageType\":_vm.manageType,\"cardType\":_vm.type == 0 ? 'question' : _vm.type == 1 ? 'answer' : 'comment'},on:{\"handleDelete\":function($event){return _vm.handleDelete([item])},\"handleToDetail\":(card_type) =>\n _vm.handleToDetail(item, card_type, {\n forum_id: _vm.type == 2 ? 'forum_id' : 'like_id',\n reply_id: 'reply_id',\n })}})],1)])}),(_vm.finished)?_c('el-empty',{attrs:{\"description\":\"没有更多数据\"}}):_vm._e()],2)])])\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,\"btnList\":[]}},_vm.$listeners))],1),_c('div',{staticClass:\"content\"},[_c('CardContent',{attrs:{\"content\":`点赞了这个${\n _vm.cardType == 'question'\n ? '问题'\n : _vm.cardType == 'answer'\n ? '回答'\n : '评论'\n }`}})],1),_c('div',{staticClass:\"target\"},[(_vm.cardType == 'comment')?_c('CardContent',{staticStyle:{\"margin-bottom\":\"10px\"},attrs:{\"content\":`@${_vm.userInfo.name}:${_vm.info.content}`}}):_vm._e(),(\n _vm.cardType == 'question' || (_vm.cardType == 'comment' && _vm.info.type == 1)\n )?_c('CardQuestionContent',{attrs:{\"content\":_vm.info.title,\"is_normal\":_vm.info.is_normal},on:{\"handleToDetail\":function($event){return _vm.$emit('handleToDetail', 'question')}}}):_vm._e(),(\n _vm.cardType == 'answer' || (_vm.cardType == 'comment' && _vm.info.type == 2)\n )?_c('CardAnswerContent',{attrs:{\"content\":_vm.info.content,\"showIcon\":true,\"show-vip\":_vm.showVip},on:{\"handleToDetail\":function($event){return _vm.$emit('handleToDetail', 'answer')}}}):_vm._e()],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 :btnList=\"[]\"\r\n v-on=\"$listeners\"\r\n />\r\n </div>\r\n <div class=\"content\">\r\n <CardContent\r\n :content=\"`点赞了这个${\r\n cardType == 'question'\r\n ? '问题'\r\n : cardType == 'answer'\r\n ? '回答'\r\n : '评论'\r\n }`\"\r\n />\r\n </div>\r\n <div class=\"target\">\r\n <CardContent\r\n v-if=\"cardType == 'comment'\"\r\n :content=\"`@${userInfo.name}:${info.content}`\"\r\n style=\"margin-bottom: 10px\"\r\n />\r\n <CardQuestionContent\r\n v-if=\"\r\n cardType == 'question' || (cardType == 'comment' && info.type == 1)\r\n \"\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-if=\"\r\n cardType == 'answer' || (cardType == 'comment' && info.type == 2)\r\n \"\r\n :content=\"info.content\"\r\n :showIcon=\"true\"\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\n\r\nexport default {\r\n name: \"LikeMyCard\",\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 return this.manageType ? [] : arr;\r\n },\r\n },\r\n mounted() {},\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!./like-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!./like-my-card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./like-my-card.vue?vue&type=template&id=44a1e083&scoped=true&\"\nimport script from \"./like-my-card.vue?vue&type=script&lang=js&\"\nexport * from \"./like-my-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./like-my-card.vue?vue&type=style&index=0&id=44a1e083&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 \"44a1e083\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"wrap\">\r\n <div class=\"wrap-title\">\r\n <TitleControl\r\n title=\"点赞我的\"\r\n :showSearch=\"false\"\r\n @handleChange=\"handleSearch\"\r\n >\r\n <div slot=\"control\" class=\"control-btn\">\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\r\n class=\"btn\"\r\n :class=\"{ select: type == 0 }\"\r\n @click=\"changeType(0)\"\r\n >\r\n 问题\r\n <div class=\"mark\" v-if=\"!!forumMarkNum.praise_forum\"></div>\r\n </div>\r\n <div\r\n class=\"btn\"\r\n :class=\"{ select: type == 1 }\"\r\n @click=\"changeType(1)\"\r\n >\r\n 回答\r\n <div class=\"mark\" v-if=\"!!forumMarkNum.praise_reply\"></div>\r\n </div>\r\n <div\r\n class=\"btn\"\r\n :class=\"{ select: type == 2 }\"\r\n @click=\"changeType(2)\"\r\n >\r\n 评论\r\n <div class=\"mark\" v-if=\"!!forumMarkNum.praise_comment\"></div>\r\n </div>\r\n </div>\r\n </TitleControl>\r\n </div>\r\n <div class=\"wrap-content\">\r\n <div class=\"del-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\"\r\n @click=\"handleDelete(list.filter((item) => item.checked))\"\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 :style=\"manageType ? { width: 'calc(100% - 60px)' } : ''\"\r\n >\r\n <LikeMyCard\r\n :info=\"item\"\r\n :manageType=\"manageType\"\r\n :cardType=\"\r\n type == 0 ? 'question' : type == 1 ? 'answer' : 'comment'\r\n \"\r\n @handleDelete=\"handleDelete([item])\"\r\n @handleToDetail=\"\r\n (card_type) =>\r\n handleToDetail(item, card_type, {\r\n forum_id: type == 2 ? 'forum_id' : 'like_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 </div>\r\n</template>\r\n\r\n<script>\r\nimport LikeMyCard from \"@/components/card/forum/like-my-card.vue\";\r\nimport TitleControl from \"@/components/module/title-control.vue\";\r\nimport { ForumService } from \"@/common/service\";\r\nimport { mapState } from \"vuex\";\r\nexport default {\r\n components: { LikeMyCard, TitleControl },\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 type: 0,\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.getQuestionList();\r\n },\r\n methods: {\r\n // 触底\r\n TouchBottom() {\r\n if (!this.finished) {\r\n this.type == 0\r\n ? this.getQuestionList()\r\n : this.type == 1\r\n ? this.getAnswerList()\r\n : this.getCommentList();\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.list = [];\r\n this.finished = false;\r\n this.params.page = 1;\r\n this.manageType = false;\r\n this.type == 0\r\n ? this.getQuestionList()\r\n : this.type == 1\r\n ? this.getAnswerList()\r\n : this.getCommentList();\r\n },\r\n // 获取数据--问题\r\n getQuestionList() {\r\n ForumService.praiseForumList(this.params).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 this.handleRead(this.list);\r\n });\r\n },\r\n // 获取数据--回答\r\n getAnswerList() {\r\n ForumService.praiseReplyList(this.params).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 this.handleRead(this.list);\r\n });\r\n },\r\n // 获取数据--评论\r\n getCommentList() {\r\n ForumService.praiseCommentList(this.params).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 this.handleRead(this.list);\r\n });\r\n },\r\n // 删除记录\r\n handleDelete(arr) {\r\n let that = this;\r\n this.showConfirmPopup(\"确定要删除该信息?\")\r\n .then(() => {\r\n let params = {\r\n id: \"\",\r\n type: 1,\r\n };\r\n params.id = arr.map((item) => item.id).join(\",\");\r\n if (!params.id) return;\r\n ForumService.batchesDel(params).then(({ data }) => {\r\n let list = that.list\r\n .map((item) => {\r\n return params.id.split(\",\").includes(item.id + \"\") ? \"\" : item;\r\n })\r\n .filter((item) => item);\r\n that.list = list;\r\n that.$message.success(\"删除成功!\");\r\n that.manageType = false;\r\n });\r\n })\r\n .catch((_) => {});\r\n },\r\n // 更改阅读状态\r\n handleRead(arr) {\r\n let params = {\r\n id: \"\",\r\n type: this.type == 0 ? 6 : this.type == 1 ? 7 : 8,\r\n is_read: 1,\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.$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.push({\r\n path:\r\n type == \"question\" ? \"/forum-question-details\" : \"/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 },\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};\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 .del-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 background: #ff9f18;\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: 20px;\r\n height: 20px;\r\n text-align: center;\r\n transform: scale(0.6);\r\n background: #ff5143;\r\n border-radius: 50%;\r\n position: absolute;\r\n top: -5px;\r\n right: -5px;\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!./like-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!./like-on-my.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./like-on-my.vue?vue&type=template&id=56535dd1&scoped=true&\"\nimport script from \"./like-on-my.vue?vue&type=script&lang=js&\"\nexport * from \"./like-on-my.vue?vue&type=script&lang=js&\"\nimport style0 from \"./like-on-my.vue?vue&type=style&index=0&id=56535dd1&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 \"56535dd1\",\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!./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!./like-my-card.vue?vue&type=style&index=0&id=44a1e083&prod&lang=scss&scoped=true&\""],"sourceRoot":""}