chunk-87c8cf54.f78f65f8.js.map 105 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/back-icon2.png","webpack:///./src/assets/avatar.png","webpack:///./src/views/forum/forum-my-comments.vue?e8f6","webpack:///./src/components/GetVip.vue","webpack:///src/components/GetVip.vue","webpack:///./src/components/GetVip.vue?fd66","webpack:///./src/components/GetVip.vue?db74","webpack:///./src/components/forum/forum-answer-comments.vue","webpack:///src/components/forum/forum-answer-comments.vue","webpack:///./src/components/forum/forum-answer-comments.vue?2a65","webpack:///./src/components/forum/forum-answer-comments.vue?d480","webpack:///./src/components/comment-post.vue","webpack:///src/components/comment-post.vue","webpack:///./src/components/comment-post.vue?95d8","webpack:///./src/components/comment-post.vue?23a4","webpack:///./src/components/text-hide-by-line.vue?188e","webpack:///./src/components/text-hide.vue?1036","webpack:///./src/assets/huida.png","webpack:///./src/components/GetVip.vue?79f6","webpack:///./src/components/file-icon.vue","webpack:///src/components/file-icon.vue","webpack:///./src/components/file-icon.vue?b77c","webpack:///./src/components/file-icon.vue?c7ed","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./src/assets/icon-152.png","webpack:///./src/components/forum/forum-answer-comments.vue?4312","webpack:///./src/components/text-hide.vue","webpack:///src/components/text-hide.vue","webpack:///./src/components/text-hide.vue?10de","webpack:///./src/components/text-hide.vue?a3c9","webpack:///./src/components/text-hide-by-line.vue","webpack:///src/components/text-hide-by-line.vue","webpack:///./src/components/text-hide-by-line.vue?59d7","webpack:///./src/components/text-hide-by-line.vue?b164","webpack:///./src/components/text-highlight.vue","webpack:///src/components/text-highlight.vue","webpack:///./src/components/text-highlight.vue?972c","webpack:///./src/components/text-highlight.vue?ad5c","webpack:///./src/assets/icon-151.png","webpack:///./src/components/comment-post.vue?a1e0","webpack:///./src/views/forum/forum-my-comments.vue","webpack:///src/views/forum/forum-my-comments.vue","webpack:///./src/views/forum/forum-my-comments.vue?ac39","webpack:///./src/views/forum/forum-my-comments.vue?735f","webpack:///./src/assets/questionIcon.png"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","style","margin","btnMargin","on","$event","stopPropagation","toOpenMember","_v","staticRenderFns","props","methods","component","toDetail","apply","arguments","contentStyle","icon","attrs","require","_e","_t","$slots","content","domProps","_s","value","button","buttonStyle","data","type","htmlField","default","fontSize","height","width","border","borderRadius","color","userInfo","mounted","computed","htmlValue","path","query","forum_id","reply_id","model","show","callback","$$v","expression","class","active","params","length","submit","comment","id","headimg","ref","maxHeight","minHeight","name","user_name","$set","watch","disabledKeydownFn","postApi","postReplyApi","showFn","getUserInfo","console","msg","Toast","newComment","fileIcon","fileName","fileType","dP","f","FProto","Function","prototype","nameRE","NAME","configurable","get","match","e","highlightKey","hideBtn","directives","rawName","valSize","maxSize","showAll","components","TextHighlight","val","lineClamp","contentLine","maxLine","background","bgColor","staticStyle","btnType","position","TextHide","heightChangeEvent","contentResizeObserver","$router","back","tabIndex","swipeCellMessage","openOrCloseEdit","edit","swipeCellList","tabChange","key","swipeCellOptionMessage","scopedSlots","_u","fn","item","unreadChange","then","is_read","create_at","title","titleShort","swipeCellOption","is_normal","level","level_id","cancelCatchUpPopup","batchesDel","checkIds","delMessagePopup","TextHideByLine","FileIcon","SwipeCellList","CommentPost","GetVip","forumAnswerComments","markNum","reply_num","comment_num","praise_num","video_praise_num","comment_praise_num","follow_num","showSearch","searchKey","nextItemFilter","getHeaderHeight","ForumService","datum_id","url_id","listApi","itemButtons","text","click","bottomButtons","getMarkNum","unreadChangeAll","items","swipeCell"],"mappings":"4HAAAA,EAAOC,QAAU,8wB,qBCAjBD,EAAOC,QAAU,IAA0B,2B,oCCA3C,W,kCCAA,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,SAAS,CAACG,MAAO,CAACC,OAAON,EAAIO,UAAUP,EA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A,CACAF,UACAzD,kBACA0D,iBAAA,gEACA,gBACA,iCAEA,uDACA,yBAKAhD,sBACAG,qBAGA7E,mBACA,oCACA,sEAEA,kDACA,4CACA,mBAEA7B,SACA2G,sBAAA,WACA,oBACA,gBACA,2BACA,4CACA,2CAIA8C,sBAAA,WACAR,sCAAA,aACA,gBAIA/I,qBAUA,GADA,oEACA,6CACA,2EAIAgH,2BAAA,qIACA,4BACAnE,KACA5B,OACAiG,YACA,8BACA,GACArD,kBAEA,GACA,mBAMA2F,4BAAA,WAEA,mDACA,uBACAC,uBAAA,sBACA,wCAKA9B,uBACA,MACA,2DACA,0BACA9E,KACA5B,SACA,8BACA4C,kBACA6F,cACAA,4BCpkB0W,I,wBCQtW3J,EAAY,eACd,EACAjB,EACAc,GACA,EACA,KACA,WACA,MAIa,aAAAG,E,mDCnBfnB,EAAOC,QAAU,s+B","file":"js/chunk-87c8cf54.f78f65f8.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAfBJREFUWEfFl79OG0EQh39jdLbiPICLXLNjP0eEAgFFgQ5oKKlCOlwh6EBpkkiR0kTp0tBQkIIngIaKBgosefcO7EOyBBJSKsvybXSSba0iE98f+3bbu9vv272Z2VmC5UGW+ZiJgOu6r6KFtdvtYNICpy7AzNsAvgEgItqQUp78T2KqAkKIOhF9juAD6A+l1IdcBIQQe0R0aMCeALxWSl3NXEAIcUhEewbooVAoLDebzcuZx0C1Wv2ita4boA4RLUopryfBo+dZYoCY+TuAjwYoCMNw0ff9mzjwLAIFZv4JYMsA3fZ6vYVWqyXjwtMKzDHzLwCbBkhqrRc8z7tNAk8j4DDzEYA1A3QzWPl9UngigVqtVgrD8BjAqgG60lq/9TyvkwYeW8B13RelUulEa71sgC673e5SEASPaeGxBCqVystyuXxKRPNDEBFd9Pv9d77vR8Um05iYhsz8CcCuQTl3HOd9o9H4k4k8+DiNwJnjOCu5CVj/BdFORUFYLBZ/A1jKPQiHQKtpaKzaXiEyJMaWYgBvlFJ3STNjYhY8M6HVw2hUj8Ydx4NDqRF3J9LuwGh+Zv4KYMcA5taQjJhWW7KhhRBin4gOjJ3Iryk1JOy15UOJfy4m61LKqII+OzIH4biZrV7N4qbfKJeTfjDt9/8CMgzTISg9gbIAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"img/avatar.0166dac5.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./forum-my-comments.vue?vue&type=style&index=0&id=458c99c4&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"open-vip-wrap\"},[_c('div',{staticClass:\"open-vip\"},[_c('button',{style:({margin:_vm.btnMargin?_vm.btnMargin:'25px 0 0'}),on:{\"click\":function($event){$event.stopPropagation();return _vm.toOpenMember()}}},[_vm._v(\"开通会员查看答案\")])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div >\r\n <div class=\"open-vip-wrap\">\r\n <div class=\"open-vip\">\r\n <button @click.stop=\"toOpenMember()\" :style=\"{margin:btnMargin?btnMargin:'25px 0 0'}\">开通会员查看答案</button>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n props:['btnMargin'],\r\n methods:{\r\n toOpenMember() {\r\n this.$router.push(\"/member\");\r\n },\r\n}\r\n}\r\n</script>\r\n\r\n<style>\r\n.open-vip-wrap {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n}\r\n\r\n.open-vip-close-btn {\r\n width: 100%;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 20px 0 0;\r\n}\r\n\r\n.open-vip-close-btn > img {\r\n width: 36px;\r\n}\r\n.open-vip {\r\n width: calc(100% - 120px);\r\n /* height: 190px; */\r\n /* background: #ffffff; */\r\n border-radius: 16px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.open-vip p {\r\n font-size: 16px;\r\n font-weight: bold;\r\n color: #222222;\r\n line-height: 35px;\r\n}\r\n\r\n.open-vip button {\r\n width: 180px;\r\n height: 35px;\r\n background: #ebd793;\r\n border-radius: 50px;\r\n font-size: 14px;\r\n font-weight: bold;\r\n color: #553d0e;\r\n}\r\n</style>","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!./GetVip.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!./GetVip.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GetVip.vue?vue&type=template&id=60e73c67&\"\nimport script from \"./GetVip.vue?vue&type=script&lang=js&\"\nexport * from \"./GetVip.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GetVip.vue?vue&type=style&index=0&id=60e73c67&prod&lang=css&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"answer\",on:{\"click\":function($event){$event.stopPropagation();return _vm.toDetail.apply(null, arguments)}}},[_c('div',{staticClass:\"answer-content\",style:(_vm.contentStyle)},[(_vm.icon == 'ask')?_c('img',{staticClass:\"answer-content-icon\",attrs:{\"src\":require(\"@/assets/questionIcon.png\"),\"alt\":\"\"}}):_vm._e(),(_vm.icon == 'answer')?_c('img',{staticClass:\"answer-content-icon\",attrs:{\"src\":require(\"@/assets/huida.png\"),\"alt\":\"\"}}):_vm._e(),_vm._t(\"content\"),(!_vm.$slots.content)?_c('div',{staticClass:\"answer-content-value\",domProps:{\"innerHTML\":_vm._s(_vm.value)}}):_vm._e()],2),(_vm.icon != 'ask' && !_vm.$slots.button)?_c('div',{staticClass:\"answer-btn\",style:(_vm.buttonStyle)},[_c('span',[_vm._v(\"点击查看答案\")])]):_vm._e(),_vm._t(\"button\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"answer\" @click.stop=\"toDetail\">\r\n <div class=\"answer-content\" :style=\"contentStyle\">\r\n <img\r\n class=\"answer-content-icon\"\r\n v-if=\"icon == 'ask'\"\r\n src=\"@/assets/questionIcon.png\"\r\n alt=\"\"\r\n />\r\n <img\r\n class=\"answer-content-icon\"\r\n v-if=\"icon == 'answer'\"\r\n src=\"@/assets/huida.png\"\r\n alt=\"\"\r\n />\r\n <slot name=\"content\"></slot>\r\n <div\r\n v-if=\"!$slots.content\"\r\n class=\"answer-content-value\"\r\n v-html=\"value\"\r\n ></div>\r\n </div>\r\n <div\r\n class=\"answer-btn\"\r\n :style=\"buttonStyle\"\r\n v-if=\"icon != 'ask' && !$slots.button\"\r\n >\r\n <span>点击查看答案</span>\r\n </div>\r\n <slot name=\"button\"></slot>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n props: {\r\n data: {\r\n type: Object,\r\n },\r\n htmlField: {\r\n type: String,\r\n default: \"content\",\r\n },\r\n icon: {\r\n type: String,\r\n default: null,\r\n },\r\n contentStyle: {\r\n type: Object,\r\n default: function () {\r\n return {\r\n fontSize: \"15px\",\r\n };\r\n },\r\n },\r\n buttonStyle: {\r\n type: Object,\r\n default: function () {\r\n return {\r\n height: \"28px\",\r\n width: \"120px\",\r\n border: \"1px solid #2A63F3\",\r\n borderRadius: \"30px\",\r\n fontSize: \"13px\",\r\n color: \"#2A63F3\",\r\n margin: \"10px auto\",\r\n };\r\n },\r\n },\r\n },\r\n data() {\r\n return {\r\n userInfo: {},\r\n };\r\n },\r\n mounted() {\r\n try {\r\n this.userInfo = JSON.parse(localStorage.getItem(\"user_info\"));\r\n } catch (e) {}\r\n },\r\n computed: {\r\n value() {\r\n if (!this.data) return;\r\n let htmlValue = this.data[this.htmlField] || \"\";\r\n while (htmlValue.indexOf(\"<\") != -1) {\r\n htmlValue = htmlValue.replace(\r\n htmlValue.slice(htmlValue.indexOf(\"<\"), htmlValue.indexOf(\">\") + 1),\r\n \"\"\r\n );\r\n }\r\n return htmlValue;\r\n },\r\n },\r\n methods: {\r\n // handleReplace(\r\n // value,\r\n // singleLabelAry = [\"img\"],\r\n // doubleLabelAry = [\"a\", \"div\", \"p\"]\r\n // ) {\r\n // doubleLabelAry.forEach((item) => {\r\n // let reg = new RegExp(\r\n // `<${item}(?:(?!<\\/${item}>).|\\n)*?<\\/${item}>`,\r\n // \"gm\"\r\n // );\r\n // value.replace(reg, \"\");\r\n // });\r\n // singleLabelAry.forEach((item) => {\r\n // let reg = new RegExp(`<${item}(?:(?!\\/>).|\\n)*?\\/>`, \"gm\");\r\n // value.replace(reg, \"\");\r\n // });\r\n // return value;\r\n // },\r\n toDetail() {\r\n if (!this.data) return;\r\n if (this.data.is_normal === 0) return Toast(\"已下架\");\r\n if (this.icon == \"ask\") {\r\n this.$router.push({\r\n path: \"/forum-question-details\",\r\n query: { forum_id: this.data.forum_id },\r\n });\r\n } else {\r\n this.$router.push({\r\n path: \"/forum-answer-item\",\r\n query: {\r\n forum_id: this.data.forum_id,\r\n reply_id: this.data.reply_id || this.data.id,\r\n },\r\n });\r\n }\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.answer {\r\n width: 100%;\r\n height: 100%;\r\n .answer-content {\r\n display: flex;\r\n align-items: flex-start;\r\n .answer-content-icon {\r\n width: 16px;\r\n height: 16px;\r\n transform: translate(0, 2px);\r\n margin-right: 8px;\r\n }\r\n .answer-content-value {\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 }\r\n .answer-btn {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background: white;\r\n font-size: 12px;\r\n span {\r\n transform: translate(0, -1px);\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-answer-comments.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-answer-comments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-answer-comments.vue?vue&type=template&id=05137e56&scoped=true&\"\nimport script from \"./forum-answer-comments.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-answer-comments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-answer-comments.vue?vue&type=style&index=0&id=05137e56&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 \"05137e56\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('van-popup',{attrs:{\"round\":\"\",\"position\":\"bottom\",\"z-index\":\"999999999\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('div',{staticClass:\"comment-footer-column\"},[_c('div',{staticClass:\"comment-footer-between\"},[_c('button',{staticClass:\"cancel-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.show = false}}},[_vm._v(\"取消\")]),_c('button',{staticClass:\"confirm-btn\",class:{active: _vm.params.content.length > 0 },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.submit()}}},[_vm._v(\"\\n 发布\\n \")])]),(_vm.comment.id > 0)?_c('div',{staticClass:\"comment-reply\"},[_c('img',{staticClass:\"comment-avatar\",attrs:{\"src\":_vm.comment.headimg || require('../assets/avatar.png'),\"alt\":\"\"}}),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.comment.content)}})]):_vm._e(),_c('div',{staticClass:\"comment-input-wrap\"},[_c('van-field',{ref:\"comment-send\",attrs:{\"rows\":\"1\",\"type\":\"textarea\",\"autosize\":{ maxHeight: 100, minHeight: 20 },\"placeholder\":_vm.comment.id > 0 ? `回复:${_vm.comment.name || _vm.comment.user_name || '匿名用户'}` : '发布一条友善的评论'},model:{value:(_vm.params.content),callback:function ($$v) {_vm.$set(_vm.params, \"content\", $$v)},expression:\"params.content\"}})],1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 发布评论 -->\r\n<template>\r\n <div>\r\n <!-- 评论窗口 -->\r\n <van-popup v-model=\"show\" round position=\"bottom\" z-index=\"999999999\">\r\n <div class=\"comment-footer-column\">\r\n <div class=\"comment-footer-between\">\r\n <button type=\"button\" class=\"cancel-btn\" @click=\"show = false\">取消</button>\r\n <button type=\"button\" class=\"confirm-btn\" :class=\"{active: params.content.length > 0 }\" @click=\"submit()\">\r\n 发布\r\n </button>\r\n </div>\r\n <div class=\"comment-reply\" v-if=\"comment.id > 0\">\r\n <img :src=\"comment.headimg || require('../assets/avatar.png')\" class=\"comment-avatar\" alt=\"\">\r\n <span v-html=\"comment.content\"></span>\r\n </div>\r\n <div class=\"comment-input-wrap\">\r\n <van-field\r\n rows=\"1\"\r\n type=\"textarea\"\r\n ref=\"comment-send\"\r\n v-model=\"params.content\"\r\n :autosize=\" { maxHeight: 100, minHeight: 20 }\"\r\n :placeholder=\"comment.id > 0 ? `回复:${comment.name || comment.user_name || '匿名用户'}` : '发布一条友善的评论'\"\r\n />\r\n </div>\r\n </div>\r\n </van-popup>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {Toast} from \"vant\";\r\nimport {disabledKeydownFn} from \"@/router\";\r\n\r\nexport default {\r\n name: 'comment-post',\r\n watch: {\r\n show() {\r\n if (this.show === true) {\r\n this.$nextTick(() => this.$refs['comment-send'].focus());\r\n }\r\n disabledKeydownFn(!this.show);\r\n }\r\n },\r\n props: {\r\n postApi: {\r\n type: Function,\r\n default: (params) => new Promise(resolve => resolve({})),\r\n },\r\n postReplyApi: {\r\n type: Function,\r\n default: (params, comment) => new Promise(resolve => resolve({})),\r\n },\r\n },\r\n data() {\r\n return {\r\n show: false,\r\n // 回复的用户\r\n comment: {},\r\n\r\n params: {\r\n content: '',\r\n },\r\n\r\n userInfo: {},\r\n };\r\n },\r\n mounted() {\r\n this.getUserInfo();\r\n },\r\n methods: {\r\n showFn(comment = {id: 0}) {\r\n this.comment = comment;\r\n this.params.content = '';\r\n this.show = true;\r\n },\r\n\r\n // 获取用户信息\r\n getUserInfo() {\r\n try {\r\n this.userInfo = JSON.parse(localStorage.getItem('user_info')) || {};\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n },\r\n\r\n submit() {\r\n const params = this.params;\r\n const comment = this.comment;\r\n if (params.content.length === 0) {\r\n return Toast('请输入评论内容');\r\n }\r\n const postApi = this.postApi;\r\n const postReplyApi = this.postReplyApi;\r\n return (comment.id > 0 ? postReplyApi(params, comment) : postApi(params, comment)).then(({data = {}, msg} = {}) => {\r\n const newComment = data.detail || {content: params.content};\r\n\r\n if (comment.id > 0) {\r\n Toast('回复成功');\r\n newComment.parent_comment = comment;\r\n }\r\n Toast('评论成功');\r\n\r\n newComment.is_like = 0;\r\n newComment.like_num = 0;\r\n newComment.contentShort = (newComment.content || '').substring(0, 50);\r\n newComment['user_id'] = this.userInfo.id || '';\r\n\r\n this.params.content = '';\r\n this.$emit('submit', newComment);\r\n this.show = false;\r\n return newComment;\r\n });\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n/* 新增 */\r\n.comment-footer-column {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 0 15px 20px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.comment-footer-between {\r\n width: 100%;\r\n height: 52px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.comment-footer-between button.cancel-btn {\r\n color: #333333;\r\n font-size: 15px;\r\n}\r\n\r\n.comment-footer-between button.confirm-btn {\r\n width: 62px;\r\n height: 28px;\r\n line-height: 28px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border-radius: 100px;\r\n color: #FFFFFF;\r\n font-size: 15px;\r\n background-color: #B0B9CD;\r\n}\r\n\r\n.comment-footer-between button.confirm-btn.active {\r\n background-color: #2A63F3;\r\n}\r\n\r\n.comment-reply {\r\n display: flex;\r\n align-items: center;\r\n padding-bottom: 12px;\r\n}\r\n.comment-reply img {\r\n width: 26px;\r\n height: 26px;\r\n border-radius: 50%;\r\n margin-right: 8px;\r\n}\r\n.comment-reply span {\r\n font-size: 13px;\r\n color: #555555;\r\n flex: 1;\r\n overflow:hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n\r\n.comment-input-wrap {\r\n width: 100%;\r\n line-height: 38px;\r\n border-radius: 19px;\r\n background-color: #F3F3F3;\r\n padding: 0 16px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.comment-input-wrap .van-field {\r\n background-color: #F3F3F3;\r\n padding: 8px 0;\r\n font-size: 15px;\r\n}\r\n\r\n.comment-input-wrap input {\r\n width: 100%;\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!./comment-post.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!./comment-post.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./comment-post.vue?vue&type=template&id=0dffb8f0&scoped=true&\"\nimport script from \"./comment-post.vue?vue&type=script&lang=js&\"\nexport * from \"./comment-post.vue?vue&type=script&lang=js&\"\nimport style0 from \"./comment-post.vue?vue&type=style&index=0&id=0dffb8f0&prod&scoped=true&lang=css&\"\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 \"0dffb8f0\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide-by-line.vue?vue&type=style&index=0&id=b3df1f9c&prod&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide.vue?vue&type=style&index=0&id=76d332c4&prod&scoped=true&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA/RJREFUWEfFl31MVWUcxz/PfVMQ7+XlCvIi5ksWI8EQLGo1s+iFXmYOaBdyrc1szmJU1h9lrca02fKll41V/JcpK9JZm7WwbLYGEzLIizanOCRELwFyL5e3e8897Ry7hOE958K4cv48z+/lc36/3/c8zyNy6x0ykX08CC4AdcJAdeOq/a3j04kbADA+nwSiaqjD90pryVejysKNBlBhBOLHwQ5foQIxIwBXSyI+bsrf9+IMAiAJI9kzCaD0Yk9YAPm2LOLMVn690ky/f2CCZuzmWFbH53HCfZq2ob/C15SgVRdAIDiwYhepsxJ5svklOkdcExI8n1bEhrR1fNJRS3XngfABwKMLcE9cDrtu2UJADkxIPhIY5VnnWxxcsRu7JY7u0T6GAyMTAIqbtyARuC6YJoBFmNmbtZ1FUal0DruINs5WW+H2D6itUAAa+1txJD9Cr68frzTEfIsds8HExWHXWNIpA1Skl1GW8ii/9J7g5TPvszgqjZqsHZz2nucZ51ZijFHUZu/EIAw81fIafX435emlrE95jO1t1Rx0/aTbjpAVUHq/Y1kFedZMSlpepdvXpwZ79+Zy/AGJDy/s4yH7XVhNMTT1t3Lc7VTX401WDt3+Ae3DXTx98vWpAwQ9ky12ukb/vibQrXMWUbl0MwtnJ6vvu0a62dZWPQahVKp96GLIvk95L7CZYtiUVsLapDXqDLxzrgplTrYu2YjVOIdvu4+xp30vHsmr++VBA10VKIZxJiulyYUUJT1AjCmahit/8Pa5Knp8/WqcREs8lUs2k2PLoM/npvbyEb6+XDe2rkWjCZBjzWDtvPtYk7CKWQaLGkeR45nBdmT52l1cGcRl0QsRQqh2voCfIz0N1Fz6nlPetpAMIQGMGKjJfo+bolJUCe7v+o48WyZ32JZrltc5cJYm9ymKkwpIsMQyKA3z+O/lqnSv92hWYKU1g1iTlaO9jQRC/EhC0ZiFiYftd6sSPeQ6OvkKjPeYZ46jaH5B2IOlGNZeqhuT7pRnIOioyO7z5dsmBbD+5Bv86T2v6xOWCoIAx3p/4zOdzea51HXcG7+SiAB84/qZyrZPNb/qzcUbeSJxdWQAnJ6z/NBTrwnwYEI+t81dGhkA3YaOM5hMC9zAXK3gwRlQ/oBfdB3W5ChLLuTO2KxwK+ARuQ0OJzKZmlJBYDGYkWQJvyxpApiEEaMwMhrwIaNz51GPZA2O3chUTKa802arHErzjjsyZYkWwDhtgcMLdPVYrtjm1pd+BPIL4flNl9W/FxMlXOaXxZboBebDMvL90xVeZ6b+u5oFDRWIqAXmnSBvimA7Jl5O/0+qzkSADUABMul6Eg2jYprX838AoLG8DCpP3FUAAAAASUVORK5CYII=\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GetVip.vue?vue&type=style&index=0&id=60e73c67&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('img',{attrs:{\"src\":_vm.fileIcon,\"alt\":\"\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <img :src=\"fileIcon\" alt=\"\">\r\n</template>\r\n\r\n<script>\r\n\r\nimport {getFileIcon, getFileType} from \"@/common/util\";\r\n\r\nexport default {\r\n name: 'file-icon',\r\n props: {\r\n type: {\r\n default: 1,\r\n },\r\n fileName: {\r\n default: '',\r\n },\r\n },\r\n computed: {\r\n fileType() {\r\n let fileType = '';\r\n if (this.type === 2) {\r\n fileType = 'folder';\r\n } else {\r\n fileType = getFileType(this.fileName || '');\r\n }\r\n return fileType;\r\n },\r\n fileIcon() {\r\n return getFileIcon(`${this.fileType}_bg`);\r\n },\r\n }\r\n}\r\n</script>\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!./file-icon.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!./file-icon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./file-icon.vue?vue&type=template&id=8f140120&\"\nimport script from \"./file-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./file-icon.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAOxJREFUWEft1bENwjAQheE/HRuwA2NQ0TIBFRVLMAjMQEtFyQhIjMAGVAhZsiULBZ995yKIS3tx8uX5Lh6Y2DVMzIODpB3xhDwhKQGp7j30twmt4pefpQSkeo8eCphTfNEaMKGsoISZRdATMKEsoBxzi6AFYEJpQZ+YZQRdABNKAxrDPCJoDphQraASJg2QCdUCqsGYUbWgFowJVQPSYNQoCWTBqFAlUA9MM6oE2gBH4A6E/0wabek4+lbPp+8AbMdulLYsHAPXDpg8qR2wB14akDYN9TopIfWDtQsdJCXnCXlCUgJS3Xvo5xJ6A/WPQiV5qJTwAAAAAElFTkSuQmCC\"","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-answer-comments.vue?vue&type=style&index=0&id=05137e56&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"text-hide\"},[_c('text-highlight',{attrs:{\"val\":_vm.content,\"highlight-key\":_vm.highlightKey,\"color\":_vm.color}}),(!_vm.hideBtn)?_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.valSize > _vm.maxSize),expression:\"valSize > maxSize\"}],staticClass:\"full-text\",on:{\"click\":function($event){$event.stopPropagation();_vm.showAll = !_vm.showAll}}},[_vm._v(\"\\n \"+_vm._s(_vm.showAll ? '收起' : '全文')+\"\\n \")]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-hide\">\r\n <text-highlight :val=\"content\" :highlight-key=\"highlightKey\" :color=\"color\"/>\r\n <span\r\n class=\"full-text\"\r\n @click.stop=\"showAll = !showAll\"\r\n v-show=\"valSize > maxSize\"\r\n v-if=\"!hideBtn\"\r\n >\r\n {{ showAll ? '收起' : '全文' }}\r\n </span>\r\n </span>\r\n</template>\r\n\r\n<script>\r\n\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\nimport {getStringByMaxSize, getStringSize} from \"@/common/util\";\r\n\r\nexport default {\r\n name: 'text-hide',\r\n components: {TextHighlight},\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n maxSize: {\r\n default: 50,\r\n },\r\n hideBtn: {\r\n default: false,\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n data() {\r\n return {\r\n showAll: false,\r\n };\r\n },\r\n computed: {\r\n valSize() {\r\n return getStringSize(this.val);\r\n },\r\n content() {\r\n const maxSize = this.maxSize;\r\n let val = this.val;\r\n if (!this.showAll && this.valSize > maxSize && maxSize > 0) {\r\n val = getStringByMaxSize(val, maxSize) + '...';\r\n }\r\n return val;\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.full-text {\r\n color: #2A63F3;\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!./text-hide.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!./text-hide.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-hide.vue?vue&type=template&id=76d332c4&scoped=true&\"\nimport script from \"./text-hide.vue?vue&type=script&lang=js&\"\nexport * from \"./text-hide.vue?vue&type=script&lang=js&\"\nimport style0 from \"./text-hide.vue?vue&type=style&index=0&id=76d332c4&prod&scoped=true&lang=css&\"\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 \"76d332c4\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{ref:\"textHide\",staticClass:\"text-hide-by-line ellipsis\",style:({\n lineClamp: _vm.showAll ? _vm.contentLine + 2 : _vm.maxLine,\n background: _vm.bgColor,\n})},[(_vm.contentLine === 0)?_c('span',{ref:\"textFixed\",staticClass:\"text-hide-by-line text-hide-by-line-fixed\"},[_vm._t(\"default\"),_c('text-highlight',{attrs:{\"val\":_vm.content,\"highlight-key\":_vm.highlightKey,\"color\":_vm.color}}),_c('span',{staticClass:\"full-text\",staticStyle:{\"position\":\"relative\"}},[_vm._v(\"全文\")])],2):_vm._e(),_vm._t(\"default\"),_c('text-highlight',{attrs:{\"val\":_vm.content,\"highlight-key\":_vm.highlightKey,\"color\":_vm.color}}),(!_vm.hideBtn && _vm.btnType === 'text')?_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.contentLine > _vm.maxLine),expression:\"contentLine > maxLine\"}],staticClass:\"full-text\",style:({\n background: _vm.bgColor,\n position: _vm.showAll ? 'relative' : 'absolute',\n }),on:{\"click\":function($event){$event.stopPropagation();_vm.showAll = !_vm.showAll}}},[_vm._v(\"\\n \"+_vm._s(_vm.showAll ? '收起' : '全文')+\"\\n \")]):_vm._e(),(!_vm.hideBtn && _vm.btnType === 'icon')?_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.contentLine > _vm.maxLine),expression:\"contentLine > maxLine\"}],staticClass:\"full-text-icon\",style:({\n background: _vm.bgColor,\n width: _vm.fontSize + 'px',\n height: _vm.fontSize + 'px',\n }),on:{\"click\":function($event){$event.stopPropagation();_vm.showAll = !_vm.showAll}}},[(_vm.showAll)?_c('img',{attrs:{\"src\":require(\"../assets/icon-152.png\"),\"alt\":\"\"}}):_c('img',{attrs:{\"src\":require(\"../assets/icon-151.png\"),\"alt\":\"\"}})]):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-hide-by-line ellipsis\" ref=\"textHide\" :style=\"{\r\n lineClamp: showAll ? contentLine + 2 : maxLine,\r\n background: bgColor,\r\n }\">\r\n <span class=\"text-hide-by-line text-hide-by-line-fixed\" ref=\"textFixed\" v-if=\"contentLine === 0\">\r\n <slot></slot>\r\n <text-highlight :val=\"content\" :highlight-key=\"highlightKey\" :color=\"color\"/>\r\n <span class=\"full-text\" style=\"position: relative\">全文</span>\r\n </span>\r\n <slot></slot>\r\n <text-highlight :val=\"content\" :highlight-key=\"highlightKey\" :color=\"color\"/>\r\n <span\r\n class=\"full-text\"\r\n :style=\"{\r\n background: bgColor,\r\n position: showAll ? 'relative' : 'absolute',\r\n }\"\r\n @click.stop=\"showAll = !showAll\"\r\n v-show=\"contentLine > maxLine\"\r\n v-if=\"!hideBtn && btnType === 'text'\"\r\n >\r\n {{ showAll ? '收起' : '全文' }}\r\n </span>\r\n <span\r\n class=\"full-text-icon\"\r\n :style=\"{\r\n background: bgColor,\r\n width: fontSize + 'px',\r\n height: fontSize + 'px',\r\n }\"\r\n @click.stop=\"showAll = !showAll\"\r\n v-show=\"contentLine > maxLine\"\r\n v-if=\"!hideBtn && btnType === 'icon'\"\r\n >\r\n <img src=\"../assets/icon-152.png\" alt=\"\" v-if=\"showAll\">\r\n <img src=\"../assets/icon-151.png\" alt=\"\" v-else>\r\n </span>\r\n </span>\r\n</template>\r\n\r\n<script>\r\n\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\nimport {getStringByMaxSize, getStringSize} from \"@/common/util\";\r\nimport TextHide from \"@/components/text-hide.vue\";\r\n\r\nexport default {\r\n name: 'text-hide-by-line',\r\n components: {TextHide, TextHighlight},\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n maxLine: {\r\n default: 2,\r\n },\r\n hideBtn: {\r\n default: false,\r\n },\r\n bgColor: {\r\n default: '#FFFFFF'\r\n },\r\n btnType: {\r\n default: 'text',\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n data() {\r\n return {\r\n showAll: false,\r\n contentLine: 0,\r\n fontSize: 0,\r\n };\r\n },\r\n computed: {\r\n valSize() {\r\n return getStringSize(this.val);\r\n },\r\n content() {\r\n const maxSize = this.maxSize;\r\n let val = this.val;\r\n if (!this.showAll && this.valSize > maxSize && maxSize > 0) {\r\n val = getStringByMaxSize(val, maxSize) + '...';\r\n }\r\n return val;\r\n },\r\n },\r\n mounted() {\r\n this.$nextTick(() => {\r\n this.heightChangeEvent();\r\n });\r\n },\r\n methods: {\r\n heightChangeEvent(item) {\r\n const content = this.$refs.textHide;\r\n // resize后的处理逻辑\r\n const contentResizeObserver = new ResizeObserver(() => {\r\n this.contentLine = 0;\r\n if (!!this.$refs.textHide) {\r\n this.fontSize = parseFloat(window.getComputedStyle(this.$refs.textHide).fontSize);\r\n }\r\n this.$nextTick(() => {\r\n if (this.contentLine === 0 && !!this.$refs.textFixed) {\r\n const textFixedWidth = parseFloat(this.$refs.textFixed.offsetWidth);\r\n const textHideWidth = parseFloat(this.$refs.textHide.offsetWidth);\r\n this.contentLine = Math.ceil(textFixedWidth / textHideWidth);\r\n }\r\n });\r\n }); // 创建一个observer实例\r\n contentResizeObserver.observe(content);\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.text-hide-by-line {\r\n position: relative;\r\n}\r\n\r\n.ellipsis {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n /*-webkit-line-clamp: 2;*/\r\n display: -webkit-box;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.full-text {\r\n color: #2A63F3;\r\n position: absolute;\r\n padding: 0 5px;\r\n right: 0;\r\n bottom: 0;\r\n}\r\n\r\n.text-hide-by-line-fixed {\r\n display: block;\r\n white-space: nowrap;\r\n position: fixed;\r\n left: -200vw;\r\n top: -100vh;\r\n}\r\n\r\n.text-hide-by-line-fixed * {\r\n display: inline-block;\r\n}\r\n\r\n.full-text-icon{\r\n position: absolute;\r\n padding: 0 5px;\r\n right: 0;\r\n bottom: 0;\r\n display: inline-block;\r\n align-items: center;\r\n}\r\n\r\n.full-text-icon img{\r\n width: 120%;\r\n display: block;\r\n position: relative;\r\n transform: translateX(-10%) translateY(-20%);\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!./text-hide-by-line.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!./text-hide-by-line.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-hide-by-line.vue?vue&type=template&id=b3df1f9c&scoped=true&\"\nimport script from \"./text-hide-by-line.vue?vue&type=script&lang=js&\"\nexport * from \"./text-hide-by-line.vue?vue&type=script&lang=js&\"\nimport style0 from \"./text-hide-by-line.vue?vue&type=style&index=0&id=b3df1f9c&prod&scoped=true&lang=css&\"\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 \"b3df1f9c\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"text-highlight\",domProps:{\"innerHTML\":_vm._s(_vm.content)}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-highlight\" v-html=\"content\"></span>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'text-highlight',\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n computed: {\r\n content() {\r\n const highlightKey = this.highlightKey;\r\n const color = this.color;\r\n let val = this.val;\r\n // if (val && highlightKey) {\r\n // val = val.replace(\r\n // RegExp(highlightKey, 'g'),\r\n // `<span style=\"color: ${color}\">${highlightKey}</span>`,\r\n // );\r\n // }\r\n return val;\r\n },\r\n }\r\n}\r\n</script>\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!./text-highlight.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!./text-highlight.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-highlight.vue?vue&type=template&id=3ec1bdd9&\"\nimport script from \"./text-highlight.vue?vue&type=script&lang=js&\"\nexport * from \"./text-highlight.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAP5JREFUWEft1bENwjAQheE/HRuwA2NQ0TIBFRVLMAjMQEtFyQhIjMAGVAhdYSlCse/OdhGhSxXFdvLl2T4PzOwaZuYhQNqMREKRkJaA1h5r6O8S2gJ34KX9mbF9CRyAI/CZGlNaQzvgDDyBdQeUYG7ACjgBey9oA1yABfBoRI0xb0CSv3pB0r8HyoyRD1q2fQvKhbGCapNyYzwgL6oK4wVZUdWYGpCGasLUgnIoeZ7qTHFrl4qoZZflxv/uPuknRa8a05JQQo5R8qwJ0wM0nj65z1Zg41lnKoyWd0lSck0eB5YXpD4ta8jzHXPfAGlRRUKRkJaA1h5rKBLSEtDav898QiVd7SACAAAAAElFTkSuQmCC\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./comment-post.vue?vue&type=style&index=0&id=0dffb8f0&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{ref:\"header\",staticClass:\"header-wrap\"},[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"return-img\",attrs:{\"src\":require(\"@/assets/return.png\"),\"alt\":\"\"},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"\\n 我的评论\\n \")]),(_vm.tabIndex === 0)?_c('button',{staticClass:\"header-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.swipeCellMessage.openOrCloseEdit()}}},[_vm._v(\"\\n \"+_vm._s(_vm.swipeCellMessage && _vm.swipeCellMessage.edit ? \"取消\" : \"管理\")+\"\\n \")]):_c('button',{staticClass:\"header-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.swipeCellList.openOrCloseEdit()}}},[_vm._v(\"\\n \"+_vm._s(_vm.swipeCellList && _vm.swipeCellList.edit ? \"取消\" : \"管理\")+\"\\n \")])]),_c('ul',{staticClass:\"header-tab-list\"},[_c('li',{class:{ active: _vm.tabIndex === 0 },on:{\"click\":function($event){return _vm.tabChange(0)}}},[_vm._v(\"\\n 问题\\n \")]),_c('li',{class:{ active: _vm.tabIndex === 1 },on:{\"click\":function($event){return _vm.tabChange(1)}}},[_vm._v(\"\\n 回答\\n \")])])]),(_vm.tabIndex === 0)?_c('swipe-cell-list',{key:\"1\",ref:\"swipeCellMessage\",attrs:{\"option\":_vm.swipeCellOptionMessage},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('div',{staticClass:\"my-collection-item-column\"},[_c('div',{staticClass:\"like-me-top\",on:{\"click\":function($event){_vm.unreadChange(item.id, 1, false).then(() => (item.is_read = 1))}}},[_c('div',{staticClass:\"like-me-top-top\"},[_c('div',{staticClass:\"like-me-top-top-img-box\"},[(item.headimg)?_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":item.headimg,\"alt\":\"\"}}):_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":require(\"@/assets/avatar.png\"),\"alt\":\"\"}})]),_c('div',{staticClass:\"reply-between-box\"},[_c('div',{staticClass:\"like-me-top-top-sidebar\"},[_c('p',{staticClass:\"like-me-top-top-name\"},[_c('text-hide',{attrs:{\"val\":item.name || '匿名用户',\"max-size\":10,\"hide-btn\":true}})],1),_c('p',{staticClass:\"like-me-top-top-time\"},[_vm._v(_vm._s(item.create_at))])])])]),_c('p',{staticClass:\"like-me-top-bottom\"},[_c('text-hide-by-line',{attrs:{\"val\":item.content}})],1)]),_c('div',{staticClass:\"my-collection-module\",on:{\"click\":function($event){return _vm.toDetail(item)}}},[_c('div',{ref:\"content-box\",staticClass:\"my-collection-module-top\"},[_c('img',{attrs:{\"src\":require(\"../../assets/questionIcon.png\"),\"alt\":\"\"}}),_c('div',[(item.showAll)?_c('span',[_vm._v(_vm._s(item.title)+\" \")]):_c('span',[_vm._v(_vm._s(item.titleShort)+_vm._s(item.title.length > 50 ? \"...\" : \"\")+\"\\n \")]),(item.title.length > 50 && !item.showAll)?_c('img',{staticClass:\"showIcon\",attrs:{\"src\":require(\"../../assets/back-icon2.png\"),\"alt\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$set(item, 'showAll', true)}}}):_vm._e(),(item.title.length > 50 && item.showAll)?_c('img',{staticClass:\"showIcon showIcon1\",attrs:{\"src\":require(\"../../assets/back-icon2.png\"),\"alt\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$set(item, 'showAll', false)}}}):_vm._e()])])])])]}}],null,false,936764626)}):_c('swipe-cell-list',{key:\"2\",ref:\"swipeCellList\",attrs:{\"option\":_vm.swipeCellOption},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('div',{staticClass:\"my-collection-item-column\"},[_c('div',{staticClass:\"like-me-top\",on:{\"click\":function($event){_vm.unreadChange(item.id, 1, false).then(() => (item.is_read = 1))}}},[_c('div',{staticClass:\"like-me-top-top\"},[_c('div',{staticClass:\"like-me-top-top-img-box\"},[(item.headimg)?_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":item.headimg,\"alt\":\"\"}}):_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":require(\"@/assets/avatar.png\"),\"alt\":\"\"}})]),_c('div',{staticClass:\"reply-between-box\"},[_c('div',{staticClass:\"like-me-top-top-sidebar\"},[_c('p',{staticClass:\"like-me-top-top-name\"},[_c('text-hide',{attrs:{\"val\":item.name || '匿名用户',\"max-size\":10,\"hide-btn\":true}})],1),_c('p',{staticClass:\"like-me-top-top-time\"},[_vm._v(_vm._s(item.create_at))])])])]),_c('p',{staticClass:\"like-me-top-bottom\"},[_c('text-hide-by-line',{attrs:{\"val\":item.content}})],1)]),_c('div',{staticClass:\"my-collection-module\",staticStyle:{\"margin-bottom\":\"10px\"},on:{\"click\":function($event){return _vm.toDetail(item)}}},[_c('div',{ref:\"content-box\",staticClass:\"my-collection-module-top\"},[(item.is_normal === 1 && item.level == 1 && _vm.level_id != 1)?_c('img',{attrs:{\"src\":require(\"../../assets/huida.png\"),\"alt\":\"\"}}):_vm._e()]),(\n (item.is_normal === 1 && _vm.level_id == 1) ||\n (item.is_normal === 1 && item.level == 0)\n )?_c('forumAnswerComments',{staticStyle:{\"margin\":\"0 !important\"},attrs:{\"icon\":\"answer\",\"data\":item}}):_vm._e(),(item.is_normal === 1 && item.level == 1 && _vm.level_id != 1)?_c('div',{staticStyle:{\"margin-bottom\":\"20px\"}},[_c('get-vip')],1):_vm._e()],1)])]}}])}),_c('van-overlay',{attrs:{\"show\":_vm.cancelCatchUpPopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.cancelCatchUpPopup = false}}},[_c('div',{staticClass:\"window\"},[_c('span',{staticClass:\"window-text\"},[_vm._v(\"确定要取消订阅?\")]),_c('div',{staticClass:\"window-btn-box\"},[_c('button',{staticClass:\"cancel\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.cancelCatchUpPopup = false}}},[_vm._v(\"\\n 取消\\n \")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.batchesDel(_vm.checkIds)}}},[_vm._v(\"\\n 确定\\n \")])])])]),_c('van-overlay',{attrs:{\"show\":_vm.delMessagePopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.delMessagePopup = false}}},[_c('div',{staticClass:\"window\"},[_c('span',{staticClass:\"window-text\"},[_vm._v(\"确定删除消息?\")]),_c('div',{staticClass:\"window-btn-box\"},[_c('button',{staticClass:\"cancel\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.delMessagePopup = false}}},[_vm._v(\"\\n 取消\\n \")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.batchesDel(_vm.checkIds)}}},[_vm._v(\"\\n 确定\\n \")])])])]),_c('comment-post',{ref:\"commentPost\",attrs:{\"post-api\":_vm.swipeCellOptionMessage.postApi,\"post-reply-api\":_vm.swipeCellOptionMessage.postReplyApi},on:{\"submit\":function($event){return _vm.swipeCellOptionMessage.submit()}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 学习服务-资料-我的订阅 -->\r\n<template>\r\n <div class=\"wrap\">\r\n <div class=\"header-wrap\" ref=\"header\">\r\n <div class=\"header\">\r\n <img\r\n src=\"@/assets/return.png\"\r\n class=\"return-img\"\r\n @click=\"$router.back()\"\r\n alt=\"\"\r\n />\r\n <p class=\"header-title\">\r\n 我的评论\r\n <!-- <button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\tclass=\"full-mark-read\"\r\n\t\t\t\t@click=\"unreadChangeAll(swipeCellMessage.list)\"\r\n\t\t\t\tv-if=\"tabIndex === 0\"\r\n\t\t\t>\r\n\t\t\t <img src=\"@/assets/icon-181.png\" alt=\"\">全标已读\r\n\t\t\t</button>\r\n\t\t\t<button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\tclass=\"full-mark-read\"\r\n\t\t\t\t@click=\"unreadChangeAll(swipeCellList.list)\"\r\n\t\t\t\tv-else\r\n\t\t\t>\r\n\t\t\t <img src=\"@/assets/icon-181.png\" alt=\"\">全标已读\r\n\t\t\t</button> -->\r\n </p>\r\n <button\r\n type=\"button\"\r\n class=\"header-btn\"\r\n @click=\"swipeCellMessage.openOrCloseEdit()\"\r\n v-if=\"tabIndex === 0\"\r\n >\r\n {{ swipeCellMessage && swipeCellMessage.edit ? \"取消\" : \"管理\" }}\r\n </button>\r\n <button\r\n type=\"button\"\r\n class=\"header-btn\"\r\n @click=\"swipeCellList.openOrCloseEdit()\"\r\n v-else\r\n >\r\n {{ swipeCellList && swipeCellList.edit ? \"取消\" : \"管理\" }}\r\n </button>\r\n </div>\r\n <ul class=\"header-tab-list\">\r\n <li :class=\"{ active: tabIndex === 0 }\" @click=\"tabChange(0)\">\r\n 问题\r\n <!-- <span class=\"header-tab-circle\" v-if=\"markNum.forum_comment && markNum.forum_comment > 0\">\r\n\t\t\t {{ markNum.forum_comment }}\r\n\t\t\t</span> -->\r\n </li>\r\n <li :class=\"{ active: tabIndex === 1 }\" @click=\"tabChange(1)\">\r\n 回答\r\n <!-- <span class=\"header-tab-circle\" v-if=\"markNum.reply_comment && markNum.reply_comment > 0\">\r\n\t\t\t {{ markNum.reply_comment }}\r\n\t\t\t</span> -->\r\n </li>\r\n </ul>\r\n </div>\r\n\r\n <swipe-cell-list\r\n ref=\"swipeCellMessage\"\r\n :option=\"swipeCellOptionMessage\"\r\n key=\"1\"\r\n v-if=\"tabIndex === 0\"\r\n >\r\n <template #item=\"{ item }\">\r\n <div class=\"my-collection-item-column\">\r\n <div\r\n class=\"like-me-top\"\r\n @click=\"\r\n unreadChange(item.id, 1, false).then(() => (item.is_read = 1))\r\n \"\r\n >\r\n <div class=\"like-me-top-top\">\r\n <div class=\"like-me-top-top-img-box\">\r\n <img\r\n :src=\"item.headimg\"\r\n class=\"like-me-top-top-img\"\r\n v-if=\"item.headimg\"\r\n alt=\"\"\r\n />\r\n <img\r\n src=\"@/assets/avatar.png\"\r\n class=\"like-me-top-top-img\"\r\n v-else\r\n alt=\"\"\r\n />\r\n <!-- <span class=\"like-me-top-top-img-box-tag\" v-if=\"!item.is_read\">未读</span> -->\r\n </div>\r\n <div class=\"reply-between-box\">\r\n <div class=\"like-me-top-top-sidebar\">\r\n <p class=\"like-me-top-top-name\">\r\n <text-hide\r\n :val=\"item.name || '匿名用户'\"\r\n :max-size=\"10\"\r\n :hide-btn=\"true\"\r\n />\r\n </p>\r\n <p class=\"like-me-top-top-time\">{{ item.create_at }}</p>\r\n </div>\r\n <!-- <button type=\"button\" class=\"reply-btn-blue\" @click=\"$refs.commentPost.showFn(item)\">\r\n\t\t\t回复\r\n\t\t </button> -->\r\n </div>\r\n </div>\r\n <p class=\"like-me-top-bottom\">\r\n <text-hide-by-line :val=\"item.content\"> </text-hide-by-line>\r\n </p>\r\n </div>\r\n <div class=\"my-collection-module\" @click=\"toDetail(item)\">\r\n <div class=\"my-collection-module-top\" ref=\"content-box\">\r\n <!-- 正常 -->\r\n <img src=\"../../assets/questionIcon.png\" alt=\"\" />\r\n <div>\r\n <span v-if=\"item.showAll\">{{ item.title }} </span>\r\n <span v-else\r\n >{{ item.titleShort\r\n }}{{ item.title.length > 50 ? \"...\" : \"\" }}\r\n </span>\r\n <img\r\n @click.stop=\"$set(item, 'showAll', true)\"\r\n v-if=\"item.title.length > 50 && !item.showAll\"\r\n class=\"showIcon\"\r\n src=\"../../assets/back-icon2.png\"\r\n alt=\"\"\r\n />\r\n <img\r\n @click.stop=\"$set(item, 'showAll', false)\"\r\n v-if=\"item.title.length > 50 && item.showAll\"\r\n class=\"showIcon showIcon1\"\r\n src=\"../../assets/back-icon2.png\"\r\n alt=\"\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </template>\r\n </swipe-cell-list>\r\n\r\n <swipe-cell-list\r\n ref=\"swipeCellList\"\r\n :option=\"swipeCellOption\"\r\n key=\"2\"\r\n v-else\r\n >\r\n <template #item=\"{ item }\">\r\n <div class=\"my-collection-item-column\">\r\n <div\r\n class=\"like-me-top\"\r\n @click=\"\r\n unreadChange(item.id, 1, false).then(() => (item.is_read = 1))\r\n \"\r\n >\r\n <div class=\"like-me-top-top\">\r\n <div class=\"like-me-top-top-img-box\">\r\n <img\r\n :src=\"item.headimg\"\r\n class=\"like-me-top-top-img\"\r\n v-if=\"item.headimg\"\r\n alt=\"\"\r\n />\r\n <img\r\n src=\"@/assets/avatar.png\"\r\n class=\"like-me-top-top-img\"\r\n v-else\r\n alt=\"\"\r\n />\r\n <!-- <span class=\"like-me-top-top-img-box-tag\" v-if=\"!item.is_read\">未读</span> -->\r\n </div>\r\n <div class=\"reply-between-box\">\r\n <div class=\"like-me-top-top-sidebar\">\r\n <p class=\"like-me-top-top-name\">\r\n <text-hide\r\n :val=\"item.name || '匿名用户'\"\r\n :max-size=\"10\"\r\n :hide-btn=\"true\"\r\n />\r\n </p>\r\n <p class=\"like-me-top-top-time\">{{ item.create_at }}</p>\r\n </div>\r\n <!-- <button type=\"button\" class=\"reply-btn-blue\" @click=\"$refs.commentPost.showFn(item)\">\r\n\t\t\t回复\r\n\t\t </button> -->\r\n </div>\r\n </div>\r\n <p class=\"like-me-top-bottom\">\r\n <text-hide-by-line :val=\"item.content\"> </text-hide-by-line>\r\n </p>\r\n </div>\r\n <div\r\n class=\"my-collection-module\"\r\n @click=\"toDetail(item)\"\r\n style=\"margin-bottom: 10px\"\r\n >\r\n <div class=\"my-collection-module-top\" ref=\"content-box\">\r\n <!-- 正常 -->\r\n <img\r\n src=\"../../assets/huida.png\"\r\n v-if=\"item.is_normal === 1 && item.level == 1 && level_id != 1\"\r\n alt=\"\"\r\n />\r\n <!-- <div\r\n v-if=\"\r\n (item.is_normal === 1 && level_id == 1) ||\r\n (item.is_normal === 1 && item.level == 0)\r\n \"\r\n >\r\n <span v-html=\"item.content\" v-if=\"item.contentshowAll\"\r\n >{{ item.content }}\r\n </span>\r\n <span v-else\r\n >{{ item.contentShort\r\n }}{{ item.content.length > 50 ? \"...\" : \"\" }}\r\n </span>\r\n <span\r\n @click.stop=\"$set(item, 'contentshowAll', true)\"\r\n v-if=\"item.content.length > 50 && !item.contentshowAll\"\r\n class=\"font-color-blue\"\r\n >展开更多</span\r\n >\r\n <span\r\n @click.stop=\"$set(item, 'contentshowAll', false)\"\r\n v-if=\"item.content.length > 50 && item.contentshowAll\"\r\n class=\"font-color-blue\"\r\n >收起</span\r\n >\r\n </div> -->\r\n </div>\r\n <forumAnswerComments\r\n v-if=\"\r\n (item.is_normal === 1 && level_id == 1) ||\r\n (item.is_normal === 1 && item.level == 0)\r\n \"\r\n icon=\"answer\"\r\n :data=\"item\"\r\n style=\"margin: 0 !important\"\r\n />\r\n <div\r\n style=\"margin-bottom: 20px\"\r\n v-if=\"item.is_normal === 1 && item.level == 1 && level_id != 1\"\r\n >\r\n <get-vip />\r\n </div>\r\n </div>\r\n <!-- <div class=\"my-collection-module\" @click=\"toDetail(item)\">\r\n\t \r\n\t <div class=\"my-collection-module-top\" ref=\"content-box\">\r\n\t\t<img src=\"../../assets/questionIcon.png\" alt=\"\">\r\n\t\t<div >\r\n\t\t\t<span v-if=\"item.showAll\">{{ item.title }} </span>\r\n\t\t\t<span v-else>{{ item.titleShort }}{{item.title.length > 50 ? '...' : ''}} </span>\r\n\t\t\t<img @click.stop=\"$set(item, 'showAll', true)\"\r\n\t\t\t\t v-if=\"item.title.length > 50 && !item.showAll\" class=\"showIcon\" src=\"../../assets/back-icon2.png\" alt=\"\">\r\n\t\t\t<img @click.stop=\"$set(item, 'showAll', false)\"\r\n\t\t\t\t v-if=\"item.title.length > 50 && item.showAll\" class=\"showIcon showIcon1\" src=\"../../assets/back-icon2.png\" alt=\"\">\r\n\t\t</div>\r\n\t </div>\r\n\r\n\t</div> -->\r\n </div>\r\n </template>\r\n </swipe-cell-list>\r\n\r\n <!-- 确认窗 -->\r\n <van-overlay\r\n :show=\"cancelCatchUpPopup\"\r\n @click=\"cancelCatchUpPopup = false\"\r\n z-index=\"99999\"\r\n >\r\n <div class=\"window\">\r\n <span class=\"window-text\">确定要取消订阅?</span>\r\n <div class=\"window-btn-box\">\r\n <button\r\n type=\"button\"\r\n class=\"cancel\"\r\n @click=\"cancelCatchUpPopup = false\"\r\n >\r\n 取消\r\n </button>\r\n <button type=\"button\" class=\"confirm\" @click=\"batchesDel(checkIds)\">\r\n 确定\r\n </button>\r\n </div>\r\n </div>\r\n </van-overlay>\r\n\r\n <van-overlay\r\n :show=\"delMessagePopup\"\r\n @click=\"delMessagePopup = false\"\r\n z-index=\"99999\"\r\n >\r\n <div class=\"window\">\r\n <span class=\"window-text\">确定删除消息?</span>\r\n <div class=\"window-btn-box\">\r\n <button type=\"button\" class=\"cancel\" @click=\"delMessagePopup = false\">\r\n 取消\r\n </button>\r\n <button type=\"button\" class=\"confirm\" @click=\"batchesDel(checkIds)\">\r\n 确定\r\n </button>\r\n </div>\r\n </div>\r\n </van-overlay>\r\n <comment-post\r\n ref=\"commentPost\"\r\n :post-api=\"swipeCellOptionMessage.postApi\"\r\n :post-reply-api=\"swipeCellOptionMessage.postReplyApi\"\r\n @submit=\"swipeCellOptionMessage.submit()\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n ArticleService,\r\n DatumService,\r\n DemandService,\r\n VideoService,\r\n ForumService,\r\n} from \"@/common/service\";\r\nimport forumAnswerComments from \"@/components/forum/forum-answer-comments.vue\";\r\n\r\nimport { getFileIcon, getFileType } from \"@/common/util\";\r\nimport SwipeCellList from \"@/components/swipe-cell-list.vue\";\r\nimport { Toast } from \"vant\";\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\nimport FileIcon from \"@/components/file-icon.vue\";\r\nimport TextHideByLine from \"@/components/text-hide-by-line.vue\";\r\nimport TextHide from \"@/components/text-hide.vue\";\r\nimport CommentPost from \"@/components/comment-post.vue\";\r\nimport GetVip from \"@/components/GetVip.vue\";\r\nexport default {\r\n components: {\r\n TextHideByLine,\r\n FileIcon,\r\n TextHighlight,\r\n SwipeCellList,\r\n TextHide,\r\n CommentPost,\r\n GetVip,\r\n forumAnswerComments,\r\n },\r\n data() {\r\n return {\r\n tabIndex: 0,\r\n level_id: \"\",\r\n // 取消订阅弹窗\r\n cancelCatchUpPopup: false,\r\n\r\n // 删除消息\r\n delMessagePopup: false,\r\n\r\n markNum: {\r\n reply_num: 0, // 回复我的\r\n comment_num: 0, // 评论我的\r\n praise_num: 0, // 点赞我的【包含视频点赞和评论点赞】\r\n video_praise_num: 0, // 视频点赞\r\n comment_praise_num: 0, // 评论点赞\r\n follow_num: 0, // 订阅\r\n },\r\n\r\n checkIds: \"\",\r\n\r\n swipeCellOptionMessage: {\r\n showSearch: true,\r\n searchKey: \"title\",\r\n\r\n // nextItemShow: true,\r\n nextItemFilter: (item) => item.is_read !== 1,\r\n getHeaderHeight: () => this.$refs.header.offsetHeight,\r\n submit: () => {\r\n Toast(\"回复成功\");\r\n },\r\n postApi: (params) =>\r\n ForumService.datumComment({\r\n ...params,\r\n datum_id: this.info.id,\r\n url_id: this.urlInfo.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 listApi: (params) => ForumService.myDiscuss({ ...params, type: 1 }),\r\n itemButtons: [\r\n // \t{\r\n // \ttext: item => item.is_read === 1 ? '标记未读' : '标记已读',\r\n // \tbgColor: '#2A63F3',\r\n // \tclick: item => {\r\n // \t const is_read = item.is_read === 1 ? 0 : 1;\r\n // \t return this.unreadChange(item.id, is_read).then(() => {\r\n // \t\titem.is_read = is_read;\r\n // \t });\r\n // \t},\r\n // },\r\n {\r\n text: \"删除\",\r\n bgColor: \"#FFAE18\",\r\n click: (item) => {\r\n this.checkIds = item.id;\r\n this.delMessagePopup = true;\r\n },\r\n },\r\n ],\r\n bottomButtons: [\r\n // \t{\r\n // \ttext: '已读',\r\n // \tbgColor: '#2A63F3',\r\n // \tclick: (items = []) => {\r\n // \t if (items.length === 0) {\r\n // \t\treturn Toast('请至少选择一个');\r\n // \t }\r\n // \t this.unreadChangeAll(items);\r\n // \t},\r\n // },\r\n {\r\n text: \"删除\",\r\n bgColor: \"#FFAE18\",\r\n click: (items = []) => {\r\n if (items.length === 0) {\r\n return Toast(\"请至少选择一个\");\r\n }\r\n this.checkIds = items.map((item) => item.id).join(\",\");\r\n this.delMessagePopup = true;\r\n },\r\n },\r\n ],\r\n },\r\n swipeCellOption: {\r\n showSearch: true,\r\n searchKey: \"title\",\r\n\r\n // nextItemShow: true,\r\n nextItemFilter: (item) => item.is_read !== 1,\r\n getHeaderHeight: () => this.$refs.header.offsetHeight,\r\n submit: () => {\r\n Toast(\"回复成功\");\r\n },\r\n postApi: (params) =>\r\n ForumService.datumComment({\r\n ...params,\r\n datum_id: this.info.id,\r\n url_id: this.urlInfo.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 listApi: (params) => ForumService.myDiscuss({ ...params, type: 2 }),\r\n itemButtons: [\r\n // \t{\r\n // \ttext: item => item.is_read === 1 ? '标记未读' : '标记已读',\r\n // \tbgColor: '#2A63F3',\r\n // \tclick: item => {\r\n // \t const is_read = item.is_read === 1 ? 0 : 1;\r\n // \t return this.unreadChange(item.id, is_read).then(() => {\r\n // \t\titem.is_read = is_read;\r\n // \t });\r\n // \t},\r\n // },\r\n {\r\n text: \"删除\",\r\n bgColor: \"#FFAE18\",\r\n click: (item) => {\r\n this.checkIds = item.id;\r\n this.delMessagePopup = true;\r\n },\r\n },\r\n ],\r\n bottomButtons: [\r\n // \t{\r\n // \ttext: '已读',\r\n // \tbgColor: '#2A63F3',\r\n // \tclick: (items = []) => {\r\n // \t if (items.length === 0) {\r\n // \t\treturn Toast('请至少选择一个');\r\n // \t }\r\n // \t this.unreadChangeAll(items);\r\n // \t},\r\n // },\r\n {\r\n text: \"删除\",\r\n bgColor: \"#FFAE18\",\r\n click: (items = []) => {\r\n if (items.length === 0) {\r\n return Toast(\"请至少选择一个\");\r\n }\r\n this.checkIds = items.map((item) => item.id).join(\",\");\r\n this.delMessagePopup = true;\r\n },\r\n },\r\n ],\r\n },\r\n swipeCellMessage: null,\r\n swipeCellList: null,\r\n };\r\n },\r\n mounted() {\r\n if (localStorage.getItem(\"user_info\")) {\r\n this.level_id = JSON.parse(localStorage.getItem(\"user_info\")).level_id;\r\n }\r\n this.swipeCellMessage = this.$refs.swipeCellMessage;\r\n this.swipeCellList = this.$refs.swipeCellList;\r\n this.getMarkNum();\r\n },\r\n methods: {\r\n tabChange(index) {\r\n if (this.tabIndex === index) return;\r\n this.tabIndex = index;\r\n this.$nextTick(() => {\r\n this.swipeCellMessage = this.$refs.swipeCellMessage;\r\n this.swipeCellList = this.$refs.swipeCellList;\r\n });\r\n },\r\n\r\n getMarkNum() {\r\n ForumService.getMarkNum().then(({ data }) => {\r\n this.markNum = data;\r\n });\r\n },\r\n\r\n toDetail(item, isMsg = false) {\r\n // if (isMsg) {\r\n // this.unreadChange(item.id, 1, false).then(() => item.is_read = 1);\r\n // }\r\n // if (item.children_id || item.recently_id) {\r\n // this.$router.push(`/information-details?id=${item.datum_id}&url_id=${item.children_id || item.recently_id}`);\r\n // } else {\r\n // this.$router.push(`/information-collection-list?id=${item.datum_id}`);\r\n // }\r\n this.unreadChange(item.id, 1, false).then(() => (item.is_read = 1));\r\n if (item.is_normal === 0) return Toast(\"已下架\");\r\n this.$router.push(`/forum-question-details?forum_id=${item.forum_id}`);\r\n },\r\n\r\n // 标记已读、未读\r\n unreadChange(ids, is_read, showToast = true, updateNum = true) {\r\n return ForumService.unreadChange({\r\n id: ids,\r\n type: 2, // 消息类型【1 评论我的,2 回复我的 3 订阅消息】\r\n is_read, // 变更类型【0 消息变更为未读 1 变更为已读】\r\n }).then(({ msg }) => {\r\n if (showToast) {\r\n Toast(msg);\r\n }\r\n if (updateNum) {\r\n this.getMarkNum();\r\n }\r\n });\r\n },\r\n\r\n // 已读提示\r\n unreadChangeAll(items) {\r\n // items.map(item => item.id).join(',')\r\n return this.unreadChange(\"\", 1, false).then(() => {\r\n this.$toast(\"已将所选消息标为已读\");\r\n items.forEach((item) => (item.is_read = 1));\r\n this.swipeCellList.openOrCloseEdit(true);\r\n });\r\n },\r\n\r\n // 删除\r\n batchesDel(ids) {\r\n const swipeCell =\r\n this.tabIndex === 0 ? this.swipeCellMessage : this.swipeCellList;\r\n return ForumService.batchesDel({\r\n id: ids,\r\n type: 9,\r\n }).then(({ msg }) => {\r\n Toast(msg);\r\n swipeCell.resetList();\r\n swipeCell.openOrCloseEdit(true);\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.showIcon {\r\n display: inline-block;\r\n width: 22px;\r\n height: 22px;\r\n transform: rotate(-90deg);\r\n}\r\n.showIcon1 {\r\n transform: rotate(90deg);\r\n}\r\n.font-color-blue {\r\n color: #2a63f3;\r\n}\r\n.reply-btn-blue {\r\n color: #2a63f3;\r\n font-size: 11px;\r\n width: 50px;\r\n height: 24px;\r\n line-height: 24px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border: 1px solid #2a63f3;\r\n border-radius: 40px;\r\n background-color: #ffffff;\r\n}\r\n\r\n.reply-between-box {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.like-me-top {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n margin-bottom: 8px;\r\n}\r\n\r\n.like-me-top-top {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.like-me-top-top-img-box {\r\n position: relative;\r\n}\r\n\r\n.like-me-top-top-img-box-tag {\r\n position: absolute;\r\n left: 6%;\r\n top: -6%;\r\n color: #ffffff;\r\n font-size: 10px;\r\n height: 16px;\r\n background-color: #ff5143;\r\n border-radius: 30px;\r\n line-height: 16px;\r\n padding: 0 5px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.like-me-top-top-img {\r\n width: 34px;\r\n height: 34px;\r\n border-radius: 50%;\r\n margin-right: 8px;\r\n}\r\n\r\n.like-me-top-top-sidebar {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.like-me-top-top-name {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n}\r\n\r\n.like-me-top-top-time {\r\n width: 100%;\r\n color: #999999;\r\n font-size: 10px;\r\n}\r\n\r\n.like-me-top-bottom {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n margin-top: 10px;\r\n}\r\n\r\n.my-collection-item-column {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 10px;\r\n}\r\n.my-collection-module {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n background-color: #f3f3f3;\r\n border-radius: 6px;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n}\r\n.my-collection-module-top {\r\n width: 100%;\r\n /* display: flex; */\r\n /* align-items: center; */\r\n font-size: 15px;\r\n font-weight: bold;\r\n}\r\n.my-collection-module-top img {\r\n width: 16px;\r\n height: 16px;\r\n margin-top: 3px;\r\n}\r\n.my-collection-module-top div {\r\n /* display: flex; */\r\n margin-left: 10px;\r\n}\r\n\r\n/* 头部样式 */\r\n.header-wrap {\r\n width: 100%;\r\n height: 84px;\r\n /* \theight: 102px; */\r\n display: flex;\r\n flex-direction: column;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 500;\r\n background-color: #ffffff;\r\n}\r\n\r\n.header-wrap-tab-list-none {\r\n height: 80px;\r\n padding-bottom: 10px;\r\n}\r\n\r\n.header {\r\n width: 100%;\r\n height: 44px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #ffffff;\r\n z-index: 999;\r\n /* padding: 0 15px; */\r\n position: relative;\r\n box-sizing: border-box;\r\n}\r\n\r\n.return-img {\r\n position: absolute;\r\n left: 15px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n width: 20px;\r\n z-index: 99999;\r\n}\r\n\r\n.header-title {\r\n width: 100%;\r\n text-align: center;\r\n color: #333333;\r\n font-size: 18px;\r\n font-weight: bold;\r\n position: relative;\r\n}\r\n\r\n.full-mark-read {\r\n position: absolute;\r\n right: 73px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n color: #2a63f3;\r\n font-size: 11px;\r\n padding: 0 6px;\r\n border-radius: 50px;\r\n background-color: #f2f6ff;\r\n height: 20px;\r\n line-height: 20px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.full-mark-read > img {\r\n width: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.header-btn {\r\n color: #222222;\r\n font-size: 14px;\r\n position: absolute;\r\n padding: 0 12px;\r\n right: 0;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n}\r\n\r\n.search-box {\r\n width: 100%;\r\n height: 56px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 12px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.search-bar {\r\n flex: 1;\r\n height: 36px;\r\n background-color: #ffffff;\r\n border-radius: 100px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.search-icon {\r\n width: 16px;\r\n margin-right: 8px;\r\n}\r\n\r\n.search-input {\r\n flex: 1;\r\n font-size: 14px;\r\n}\r\n\r\n.search-input::placeholder {\r\n color: #888888;\r\n}\r\n\r\n.tab-list > li {\r\n flex: 1;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 38px;\r\n line-height: 38px;\r\n font-size: 16px;\r\n color: #555555;\r\n position: relative;\r\n}\r\n\r\n.tab-list > li.active {\r\n font-size: 18px;\r\n font-weight: bold;\r\n color: #222222;\r\n}\r\n\r\n.tab-list > li.active::after {\r\n content: \"\";\r\n position: absolute;\r\n bottom: 0;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n background: linear-gradient(90deg, #2a63f3, #81b8ff);\r\n border-radius: 2px;\r\n width: 18px;\r\n height: 4px;\r\n}\r\n\r\n.wrap {\r\n width: 100%;\r\n min-height: calc(100vh - 84px);\r\n display: flex;\r\n flex-direction: column;\r\n margin: 84px 0 0;\r\n box-sizing: border-box;\r\n background: #f4f4f4;\r\n /*overflow-y: auto;*/\r\n}\r\n\r\n.wrap-tab-list-none {\r\n height: calc(100vh - 90px);\r\n margin: 90px 0 0;\r\n}\r\n\r\n.sub-list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 12px 15px;\r\n box-sizing: border-box;\r\n /*height: 100%;*/\r\n overflow: auto;\r\n}\r\n\r\n.sub-list > li {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n background-color: #ffffff;\r\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n border-radius: 12px;\r\n margin-bottom: 12px;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n position: relative;\r\n}\r\n\r\n.sub-list > li:last-child {\r\n margin-bottom: 0;\r\n}\r\n\r\n.float-box {\r\n position: fixed;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n bottom: 40px;\r\n z-index: 499;\r\n}\r\n\r\n.float-box > button {\r\n min-width: 175px;\r\n height: 44px;\r\n line-height: 44px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #2a63f3;\r\n border-radius: 100px;\r\n color: #ffffff;\r\n font-size: 18px;\r\n font-weight: bold;\r\n}\r\n\r\n.module {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 5px 15px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.time {\r\n width: 100%;\r\n color: #7f7f7f;\r\n font-size: 10px;\r\n margin-bottom: 12px;\r\n}\r\n\r\n.list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.list > li {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 12px;\r\n background-color: #ffffff;\r\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n border-radius: 12px;\r\n padding: 12px 10px 14px 18px;\r\n box-sizing: border-box;\r\n position: relative;\r\n}\r\n\r\n.list > li:last-child {\r\n margin-bottom: 0;\r\n}\r\n\r\n.img-box {\r\n width: 26px;\r\n height: 30px;\r\n position: relative;\r\n margin-right: 16px;\r\n}\r\n\r\n.img {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.tag {\r\n width: 34px;\r\n height: 14px;\r\n line-height: 14px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background: linear-gradient(90deg, #ffcd7c, #ffeeba);\r\n border-radius: 0 7px 0 7px;\r\n color: #222222;\r\n font-size: 12px;\r\n font-weight: bold;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n}\r\n\r\n.tag-black {\r\n width: 34px;\r\n height: 14px;\r\n line-height: 14px;\r\n background: rgba(0, 0, 0, 0.8);\r\n border-radius: 50px;\r\n color: #ffffff;\r\n font-size: 9px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n position: absolute;\r\n right: 8px;\r\n bottom: 8px;\r\n}\r\n\r\n.item-sidebar {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.item-name {\r\n width: 100%;\r\n line-height: 21px;\r\n color: #222222;\r\n font-size: 15px;\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\r\n.row {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 12px;\r\n}\r\n\r\n.avatar {\r\n width: 14px;\r\n height: 14px;\r\n border-radius: 50%;\r\n margin-right: 4px;\r\n object-fit: cover;\r\n}\r\n\r\n.row2 {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 12px;\r\n}\r\n\r\n.play-icon {\r\n width: 12px;\r\n margin-right: 4px;\r\n}\r\n\r\n.item-between {\r\n width: 100%;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n}\r\n\r\n.circle-btn {\r\n width: 13px;\r\n height: 13px;\r\n}\r\n\r\n.circle-icon {\r\n width: 13px;\r\n}\r\n\r\n.font-1 {\r\n font-size: 10px;\r\n color: #888888;\r\n}\r\n\r\n.normal-box-small {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n font-size: 16px;\r\n color: #888888;\r\n padding: 48px 0;\r\n}\r\n\r\n.normal-box-small > img {\r\n width: 195.2px;\r\n margin-bottom: 38px;\r\n}\r\n\r\n.my-collection-list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 0 12px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.my-collection-list > li {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n padding-top: 10px;\r\n padding-bottom: 10px;\r\n padding-right: 10px;\r\n padding-left: 10px;\r\n box-sizing: border-box;\r\n background-color: #ffffff;\r\n border-radius: 10px;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.my-circle-box {\r\n padding-right: 10px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.my-circle-box > img {\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.my-collection-module {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 10px;\r\n}\r\n\r\n.my-collection-module-top {\r\n width: 100%;\r\n display: flex;\r\n /* align-items: center; */\r\n}\r\n\r\n.my-collection-module-top-img-box {\r\n width: 80px;\r\n height: 80px;\r\n border-radius: 6px;\r\n overflow: hidden;\r\n position: relative;\r\n margin-right: 10px;\r\n}\r\n\r\n.my-collection-module-top-img {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.my-collection-module-top-time {\r\n background: rgba(0, 0, 0, 0.7);\r\n height: 12px;\r\n line-height: 12px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 2px;\r\n font-size: 9px;\r\n color: #ffffff;\r\n position: absolute;\r\n right: 7px;\r\n bottom: 4px;\r\n}\r\n\r\n.my-collection-module-top-time-gray {\r\n background: rgba(0, 0, 0, 0.3);\r\n height: 12px;\r\n line-height: 12px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 2px;\r\n font-size: 9px;\r\n color: #ffffff;\r\n position: absolute;\r\n right: 7px;\r\n bottom: 3px;\r\n}\r\n\r\n.my-collection-module-top-sidebar {\r\n flex: 1;\r\n height: 78px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n}\r\n\r\n.my-collection-module-top-sidebar-top {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.my-collection-module-top-sidebar-title {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.my-collection-module-top-sidebar-sub-title {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.my-collection-module-top-sidebar-bottom {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row1 {\r\n color: #666666;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n margin-right: 8px;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row1 > span {\r\n max-width: 73px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row1 > img {\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n margin-right: 2px;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row2 {\r\n color: #999999;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row2 > span {\r\n /* \tmax-width: 45px;\r\n\tdisplay: -webkit-box;\r\n\t-webkit-line-clamp: 1;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\t-webkit-box-orient: vertical; */\r\n}\r\n\r\n.my-collection-module-top-sidebar-row2 > img {\r\n width: 12px;\r\n margin-right: 2px;\r\n}\r\n\r\n.my-collection-module-bottom {\r\n width: 100%;\r\n height: 45px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-bottom-btn {\r\n display: flex;\r\n align-items: center;\r\n color: #333333;\r\n font-size: 12px;\r\n}\r\n\r\n.my-collection-module-bottom-btn.active {\r\n color: #2a63f3;\r\n}\r\n\r\n.my-collection-module-bottom-btn > img {\r\n width: 16px;\r\n margin-right: 4px;\r\n}\r\n\r\n.footer {\r\n width: 100%;\r\n height: 83px;\r\n box-sizing: border-box;\r\n padding-top: 8px;\r\n background-color: #ffffff;\r\n position: fixed;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 999;\r\n}\r\n\r\n.footer-wrap {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 0 12px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.footer-wrap-sidebar {\r\n flex: 1;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n}\r\n\r\n.footer-wrap-sidebar > button {\r\n margin-right: 10px;\r\n}\r\n\r\n.footer-wrap-sidebar > button:last-child {\r\n margin-right: 0;\r\n}\r\n\r\n.footer-all-btn {\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 14px;\r\n}\r\n\r\n.footer-all-btn > img {\r\n width: 24px;\r\n margin-right: 4px;\r\n}\r\n\r\n.cancel-collection-btn {\r\n background-color: #ffaf18;\r\n border-radius: 50px;\r\n width: 100px;\r\n height: 40px;\r\n color: #ffffff;\r\n font-size: 16px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.cancel-collection-btn.blue {\r\n background-color: #2a63f3;\r\n}\r\n\r\n.font-10 {\r\n color: #666666;\r\n font-size: 11px;\r\n}\r\n\r\n.font-11 {\r\n color: #ff6700;\r\n font-size: 11px;\r\n margin: 0 10px;\r\n}\r\n\r\n.header-tab-list {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n height: 40px;\r\n border-top: 1px solid #f4f4f4;\r\n box-sizing: border-box;\r\n background-color: #ffffff;\r\n}\r\n\r\n.header-tab-list > li {\r\n flex: 1;\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color: #222222;\r\n font-size: 15px;\r\n position: relative;\r\n}\r\n\r\n.header-tab-list > li.active {\r\n color: #2a63f3;\r\n font-weight: bold;\r\n}\r\n\r\n.header-tab-list > li.active::after {\r\n content: \"\";\r\n border-radius: 2px;\r\n background-color: #2a63f3;\r\n width: 34px;\r\n height: 3px;\r\n position: absolute;\r\n bottom: 0;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n}\r\n\r\n.header-tab-circle {\r\n color: #ffffff;\r\n font-size: 10px;\r\n min-width: 12px;\r\n height: 12px;\r\n line-height: 12px;\r\n padding: 0 2px;\r\n box-sizing: border-box;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 2px;\r\n background-color: #ff5143;\r\n border-radius: 50%;\r\n}\r\n\r\n.subscribe-messages-module {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.subscribe-messages-head-between {\r\n width: 100%;\r\n height: 45px;\r\n border-bottom: 1px solid #f4f4f4;\r\n box-sizing: border-box;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.subscribe-messages-head-left {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.font-12 {\r\n flex: 1;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n color: #222222;\r\n font-size: 15px;\r\n font-weight: bold;\r\n}\r\n\r\n.font-13 {\r\n margin-left: 4px;\r\n border-radius: 50px;\r\n background-color: #ff5143;\r\n padding: 0 5px;\r\n height: 16px;\r\n line-height: 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #ffffff;\r\n font-size: 10px;\r\n}\r\n\r\n.subscribe-messages-head-right {\r\n color: #999999;\r\n font-size: 12px;\r\n margin-left: 6px;\r\n}\r\n\r\n.subscribe-messages-bottom {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 9px 0 13px;\r\n}\r\n\r\n.subscribe-messages-bottom-title {\r\n width: 100%;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n color: #222222;\r\n font-size: 13px;\r\n}\r\n\r\n.subscribe-messages-bottom-btn-box {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-top: 12px;\r\n}\r\n\r\n.subscribe-messages-bottom-btn {\r\n color: #222222;\r\n font-size: 11px;\r\n padding: 0 11px;\r\n height: 24px;\r\n line-height: 24px;\r\n border: 1px solid #979797;\r\n box-sizing: border-box;\r\n border-radius: 50px;\r\n width: fit-content;\r\n background-color: #ffffff;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.next-unread {\r\n width: 108px;\r\n height: 30px;\r\n border-radius: 15px 0 0 15px;\r\n border: 1px solid #2a63f3;\r\n background-color: #ffffff;\r\n position: fixed;\r\n right: 0;\r\n bottom: 68px;\r\n z-index: 9999;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n color: #2a63f3;\r\n font-size: 12px;\r\n}\r\n\r\n.next-unread > img {\r\n width: 12px;\r\n margin-right: 2px;\r\n}\r\n\r\n.window {\r\n width: calc(100% - 54px);\r\n height: 180px;\r\n border-radius: 12px;\r\n background-color: #ffffff;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 38px 25px 32px;\r\n box-sizing: border-box;\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n z-index: 1000;\r\n}\r\n\r\n.window-text {\r\n color: #222222;\r\n font-size: 18px;\r\n}\r\n\r\n.window-btn-box {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-top: 43px;\r\n}\r\n\r\n.window-btn-box > button {\r\n flex: 1;\r\n height: 42px;\r\n font-size: 17px;\r\n margin-right: 27px;\r\n border-radius: 50px;\r\n}\r\n\r\n.window-btn-box > button:last-child {\r\n margin-right: 0;\r\n}\r\n\r\n.window-btn-box > button.cancel {\r\n background-color: #f4f4f4;\r\n color: #333333;\r\n}\r\n\r\n.window-btn-box > button.confirm {\r\n background-color: #2a63f3;\r\n color: #ffffff;\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-my-comments.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-my-comments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-my-comments.vue?vue&type=template&id=458c99c4&scoped=true&\"\nimport script from \"./forum-my-comments.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-my-comments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-my-comments.vue?vue&type=style&index=0&id=458c99c4&prod&scoped=true&lang=css&\"\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 \"458c99c4\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAApJJREFUWEftl01IVFEUgL/73hudcRwDkUgC+1upCyupXETRjxBKEZQuAiHQjEJBGFpGRFJi2A9GETW0iDZGrUIlbVHQpiAQGiko+lOoDCJfOc6M827MG63J5r2ZSWdm09vdd8859zvn3nPuuYJ5X8UhvVJKWoSkFigDPPNl0hzrwHspGBKC66PXPP54fTE3qGzw58milT0S44gANc1FUhKXEBEoV8TkW6//dmUoqmQCxBZf0Q9yR0qWFiwkHojJd3VRCBOgovlHLxhtC7ablgHl0qjP3S7MPTcYyVTYrZjM7VCoEuUt+nkh6UgLfpGEpeCCqGjWn0ePgZ1NRcD2dSpjE5IXH4xFWt40448CTCZLtbqNKmdbXbwaj9BwKkBoBgpdULteSwrz5GWE8S/SSk6PAljOxmt1teSzu8aBbyDEuTshVi0T3Ot0JwXwXp1m8OmMpZwtgEMDtxOCYdBU6O8sYEmhoKkrwNtPBvs2OywN76zWqFqtsiCAXRs0eg476XsY5uTNIPWbNNaUKty4H0Kfsnf+RFM+jVsdiwuQNN5xAhkD2LZWxe38VcH/YPqqSx77I+a/jAEMnC6gbKmSMBgjryMcOBPIDsDFu0FmYs7iKRC01ueRVYDqo9+ZNu8zKC0WDHe7/wNkNwIHu6cIzha4kiJBb5sruwCJ0iArh7B9r4NiT+I0HJsw8A2GM5uGqVbDjBWiVAF8Xic15RodlwMMPZstGAmUbW/D+ZdRssWPNeZRU67icQmWlygYUrLn+BRvPlrf+LYNSboADVs0vPvzkRI+fzO4NRym75F1LxB1yLYli+8HAsFk/v/bfE6b0lgEctSWz8Urhw+TGEKOnma/z0tWH6eJjulfvVUGnue26fET3LPFmuTjR88AAAAASUVORK5CYII=\""],"sourceRoot":""}