chunk-0a48dacf.b84e6100.js.map 95 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/back-icon2.png","webpack:///./src/assets/avatar.png","webpack:///./src/assets/icon-181.png","webpack:///./src/views/forum/forum-answer-me.vue?9437","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/views/forum/forum-answer-me.vue","webpack:///src/views/forum/forum-answer-me.vue","webpack:///./src/views/forum/forum-answer-me.vue?23e7","webpack:///./src/views/forum/forum-answer-me.vue?6d05","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/video-time.vue?d140","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/video-time.vue","webpack:///src/components/video-time.vue","webpack:///./src/components/video-time.vue?9497","webpack:///./src/components/video-time.vue?89a0","webpack:///./src/components/comment-post.vue?a1e0","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","$router","back","unreadChangeAll","swipeCellList","list","openOrCloseEdit","edit","swipeCellOption","scopedSlots","_u","key","fn","item","unreadChange","then","is_read","create_at","$refs","commentPost","is_normal","level_id","level","user_id","staticStyle","slot","showAll","title","titleShort","deletePopup","batchesDel","checkIds","oneDeletePopup","option","components","TextHideByLine","CommentPost","FileIcon","TextHide","TextHighlight","SwipeCellList","VideoTime","GetVip","forumAnswerComments","datum_id","url_id","showSearch","searchKey","nextItemShow","nextItemFilter","getHeaderHeight","listApi","itemButtons","text","bgColor","click","bottomButtons","items","fileIcon","fileName","fileType","dP","f","FProto","Function","prototype","nameRE","NAME","configurable","get","match","e","highlightKey","hideBtn","directives","rawName","valSize","maxSize","val","lineClamp","contentLine","maxLine","background","btnType","position","heightChangeEvent","contentResizeObserver","duration","time"],"mappings":"4HAAAA,EAAOC,QAAU,8wB,qBCAjBD,EAAOC,QAAU,IAA0B,2B,qBCA3CD,EAAOC,QAAU,03B,oCCAjB,W,kCCAA,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAAC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6B,GAAG7B,EAAIsK,SAAW,EAAItK,EAAIuK,KAAO,UAEhJ1J,EAAkB,GCIP,GACfsD,kBACArD,OAEAwJ,UACAlI,YAGAS,UACA0H,gBACA,+CACA,mBACA,0BACA,+BACA,uECpBoV,I,wBCQhVvJ,EAAY,eACd,EACAjB,EACAc,GACA,EACA,KACA,WACA,MAIa,OAAAG,E,2CCnBf,W,mBCAAnB,EAAOC,QAAU,s+B","file":"js/chunk-0a48dacf.b84e6100.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\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAkFJREFUSEvtlk1rE1EUht9zY5s0mUkXoqCIqAhtkpULC6Jbf4IoiCCJVakfINKFq7YrF0UEP4paJwgiKP4Et4pQF64yaUFURBQUF00madKY+0qkwUxnTKZ2KCLe5ZyP55xzz5lzBRt8ZIN5WAOQkspVLgI8IIBqBUpAA/KyaCVuAMIgwQcGpk6Vjwrx2M8pBceK980noQLT2fIEBJO+TolJO29O/Qe2KhD4Dv+tku69wCgcJ9nZBH3CcREZ9+1ScrpBmXbJDKP05qbUV+t7SprJlkYpcgtAf5Cu66KzLOT5Qj4526njAaZyzlsBd68T9tOckHdFy9jTFZjOlb8A2BIGEMBX2zK3/nXATwC2hZThZ9syt/fIsHIH0GdCAt61LfNsVyAmqIY/lA4rpVxjsdYAtJbS/M7EM0yJ7g4EkM46lwEaa4W49cWx88a1nnOYHqOBurOIlZ33y0BIkO1d2P7e2okCEaAlch2NqDFoz4jTNcNMrnSQkOfeyOQ4FWxovnbJlOwTjTTBR14bHipYyRc9gJUxQt/2GCs1EpN4YanpVDplAxEjUWM1Q63nvEB1rmAlZnr8acr3BBgNA0hgtmiZp7uPRdaZg3B/GEBQXtl5Y+T3wCOMpAYrZSEHwgBSZKm4mDDxVJptf67OGsrWhiLSmPcbB/mDO2z5aZLDC/nkgi9w10nG4puq10G9eTVURfqu1KLRj/1V52GnbDlunIjV6zt0s3HVE6iob9Xv8UvvH0jNF7i+QQ9mHfhNE8xdb60fYvsNLJOMxfQAAAAASUVORK5CYII=\"","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-answer-me.vue?vue&type=style&index=0&id=6fbcc479&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","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\\t\\t\\t回答我的\\n\\t\\t\\t\"),_c('button',{staticClass:\"full-mark-read\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.unreadChangeAll(_vm.swipeCellList.list)}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon-181.png\"),\"alt\":\"\"}}),_vm._v(\"\\n\\t\\t\\t 全标已读\\n\\t\\t\\t\")])]),_c('button',{staticClass:\"header-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.swipeCellList.openOrCloseEdit()}}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.swipeCellList && _vm.swipeCellList.edit ? '取消' : '管理')+\"\\n\\t\\t \")])])]),_c('swipe-cell-list',{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\":\"\"}}),(!item.is_read)?_c('span',{staticClass:\"like-me-top-top-img-box-tag\"},[_vm._v(\"未读\")]):_vm._e()]),_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.user_name || '匿名用户',\"max-size\":10,\"hide-btn\":true}})],1),_c('p',{staticClass:\"like-me-top-top-time\"},[_vm._v(_vm._s(item.create_at))])]),_c('button',{staticClass:\"reply-btn-blue\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$refs.commentPost.showFn(item)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t追问\\n\\t\\t\\t\\t \")])])]),(item.is_normal === 1 && ( _vm.level_id ==1 || item.level == 0 || _vm.userInfo.id == item.user_id) )?_c('forumAnswerComments',{staticStyle:{\"margin\":\"10px 0 0 !important\",\"font-weight\":\"normal\"},attrs:{\"data\":item}}):_vm._e(),(item.is_normal === 1 && item.level == 1 && _vm.level_id != 1 && _vm.userInfo.id != item.user_id)?_c('forumAnswerComments',[_c('get-vip',{attrs:{\"slot\":\"button\",\"btnMargin\":\"10px 0\"},slot:\"button\"})],1):_vm._e()],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 ? '...' : '')+\" \")]),(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()])])])])]}}])}),_c('van-overlay',{attrs:{\"show\":_vm.deletePopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.deletePopup = 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.deletePopup = false}}},[_vm._v(\"取消\")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.batchesDel(_vm.checkIds)}}},[_vm._v(\"确定\")])])])]),_c('van-overlay',{attrs:{\"show\":_vm.oneDeletePopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.oneDeletePopup = 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.oneDeletePopup = false}}},[_vm._v(\"取消\")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.batchesDel(_vm.checkIds)}}},[_vm._v(\"确定\")])])])]),_c('comment-post',{ref:\"commentPost\",attrs:{\"post-api\":_vm.option.postApi,\"post-reply-api\":_vm.option.postReplyApi},on:{\"submit\":function($event){return _vm.option.submit()}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 学习服务-图文-回复我的 -->\r\n<template>\r\n\t<div class=\"wrap\">\r\n \r\n\t <div class=\"header-wrap\" ref=\"header\">\r\n\t\t<div class=\"header\">\r\n\t\t <img src=\"@/assets/return.png\" class=\"return-img\" @click=\"$router.back()\" alt=\"\">\r\n\t\t <p class=\"header-title\">\r\n\t\t\t回答我的\r\n\t\t\t<button type=\"button\" class=\"full-mark-read\" @click=\"unreadChangeAll(swipeCellList.list)\">\r\n\t\t\t <img src=\"@/assets/icon-181.png\" alt=\"\">\r\n\t\t\t 全标已读\r\n\t\t\t</button>\r\n\t\t </p>\r\n\t\t <button type=\"button\" class=\"header-btn\" @click=\"swipeCellList.openOrCloseEdit()\">\r\n\t\t\t{{ swipeCellList && swipeCellList.edit ? '取消' : '管理' }}\r\n\t\t </button>\r\n\t\t</div>\r\n\t </div>\r\n \r\n\t <swipe-cell-list ref=\"swipeCellList\" :option=\"swipeCellOption\">\r\n\t\t<template #item=\"{item}\">\r\n \r\n\t\t <div class=\"my-collection-item-column\">\r\n\t\t\t<div class=\"like-me-top\" @click=\"unreadChange(item.id, 1, false).then(() => item.is_read = 1)\">\r\n\t\t\t <div class=\"like-me-top-top\">\r\n\t\t\t\t<div class=\"like-me-top-top-img-box\">\r\n\t\t\t\t <img :src=\"item.headimg\" class=\"like-me-top-top-img\" v-if=\"item.headimg\" alt=\"\">\r\n\t\t\t\t <img src=\"@/assets/avatar.png\" class=\"like-me-top-top-img\" v-else alt=\"\">\r\n\t\t\t\t <span class=\"like-me-top-top-img-box-tag\" v-if=\"!item.is_read\">未读</span>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"reply-between-box\">\r\n\t\t\t\t <div class=\"like-me-top-top-sidebar\">\r\n\t\t\t\t\t<p class=\"like-me-top-top-name\">\r\n\t\t\t\t\t <text-hide :val=\"item.user_name || '匿名用户'\" :max-size=\"10\" :hide-btn=\"true\"/>\r\n\t\t\t\t\t</p>\r\n\t\t\t\t\t<p class=\"like-me-top-top-time\">{{ item.create_at }}</p>\r\n\t\t\t\t </div>\r\n\t\t\t\t <button type=\"button\" class=\"reply-btn-blue\" @click=\"$refs.commentPost.showFn(item)\">\r\n\t\t\t\t\t追问\r\n\t\t\t\t </button>\r\n\t\t\t\t</div>\r\n\t\t\t </div>\r\n\t\t\t <!-- <get-vip v-if=\"item.level==1&&level_id!=1\" btnMargin=\"20px 0 10px\"/>\r\n\t\t\t <p class=\"like-me-top-bottom\" v-else>\r\n\t\t\t\t\r\n\t\t\t\t<text-hide-by-line :val=\"item.content\">\r\n\t\t\t\t</text-hide-by-line>\r\n\t\t\t </p> -->\r\n\t\t\t <forumAnswerComments v-if=\"item.is_normal === 1 && ( level_id ==1 || item.level == 0 || userInfo.id == item.user_id) \" :data=\"item\" style=\"margin: 10px 0 0 !important;font-weight:normal;\"/>\r\n\t\t\t\t<forumAnswerComments v-if=\"item.is_normal === 1 && item.level == 1 && level_id != 1 && userInfo.id != item.user_id\" >\r\n\t\t\t\t\t<get-vip slot=\"button\" btnMargin=\"10px 0\"/>\r\n\t\t\t\t</forumAnswerComments>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"my-collection-module\" @click=\"toDetail(item)\">\r\n\t\t\t \r\n\t\t\t <div class=\"my-collection-module-top\" ref=\"content-box\">\r\n\t\t\t\r\n\t\t\t\t<!-- 正常 -->\r\n\t\t\t\t<img src=\"../../assets/questionIcon.png\" alt=\"\">\r\n\t\t\t\t<div >\r\n\t\t\t\t\t<span v-if=\"item.showAll\">{{ item.title }} </span>\r\n\t\t\t\t\t<span v-else>{{ item.titleShort }}{{item.title.length > 50 ? '...' : ''}} </span>\r\n\t\t\t\t\t<img @click.stop=\"$set(item, 'showAll', true)\"\r\n v-if=\"item.title.length > 50 && !item.showAll\" class=\"showIcon\" src=\"../../assets/back-icon2.png\" alt=\"\">\r\n\t\t\t\t\t<img @click.stop=\"$set(item, 'showAll', false)\"\r\n v-if=\"item.title.length > 50 && item.showAll\" class=\"showIcon showIcon1\" src=\"../../assets/back-icon2.png\" alt=\"\">\r\n\t\t\t\t\t\r\n \r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t </div>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t </div>\r\n\t\t \r\n\t\t</template>\r\n\t </swipe-cell-list>\r\n \r\n\t <!-- 多选删除弹窗 -->\r\n\t <van-overlay :show=\"deletePopup\" @click=\"deletePopup = false\" z-index=\"99999\">\r\n\t\t<div class=\"window\">\r\n\t\t <span class=\"window-text\">确定要删除已选信息</span>\r\n\t\t <div class=\"window-btn-box\">\r\n\t\t\t<button type=\"button\" class=\"cancel\" @click=\"deletePopup = false\">取消</button>\r\n\t\t\t<button type=\"button\" class=\"confirm\" @click=\"batchesDel(checkIds)\">确定</button>\r\n\t\t </div>\r\n\t\t</div>\r\n\t </van-overlay>\r\n \r\n\t <!-- 评论我的-删除弹窗 -->\r\n\t <van-overlay :show=\"oneDeletePopup\" @click=\"oneDeletePopup = false\" z-index=\"99999\">\r\n\t\t<div class=\"window\">\r\n\t\t <span class=\"window-text\">确定要删除该信息</span>\r\n\t\t <div class=\"window-btn-box\">\r\n\t\t\t<button type=\"button\" class=\"cancel\" @click=\"oneDeletePopup = false\">取消</button>\r\n\t\t\t<button type=\"button\" class=\"confirm\" @click=\"batchesDel(checkIds)\">确定</button>\r\n\t\t </div>\r\n\t\t</div>\r\n\t </van-overlay>\r\n \r\n\t <comment-post\r\n\t\t ref=\"commentPost\"\r\n\t\t :post-api=\"option.postApi\"\r\n\t\t :post-reply-api=\"option.postReplyApi\"\r\n\t\t @submit=\"option.submit()\"\r\n\t />\r\n \r\n\t</div>\r\n </template>\r\n \r\n <script>\r\n import {\r\n\tArticleService, DatumService,ForumService,\r\n\tVideoService\r\n } from \"@/common/service\";\r\n import VideoTime from \"@/components/video-time\";\r\n import {\r\n\tToast\r\n } from \"vant\";\r\n import SwipeCellList from \"@/components/swipe-cell-list.vue\";\r\n import GetVip from \"@/components/GetVip.vue\";\r\n import TextHighlight from \"@/components/text-highlight.vue\";\r\n import TextHide from \"@/components/text-hide.vue\";\r\n import FileIcon from \"@/components/file-icon.vue\";\r\n import CommentPost from \"@/components/comment-post.vue\";\r\n import TextHideByLine from \"@/components/text-hide-by-line.vue\";\r\n import forumAnswerComments from \"@/components/forum/forum-answer-comments.vue\"\r\n \r\n export default {\r\n\tcomponents: {\r\n\t TextHideByLine,\r\n\t CommentPost,\r\n\t FileIcon,\r\n\t TextHide,\r\n\t TextHighlight,\r\n\t SwipeCellList,\r\n\t VideoTime,\r\n\t GetVip,\r\n\t forumAnswerComments\r\n\t},\r\n\tdata() {\r\n\t return {\r\n\t\tlevel_id:'',\r\n\t\t//多选删除弹窗\r\n\t\tdeletePopup: false,\r\n\t\t// 评论我的-删除弹窗\r\n\t\toneDeletePopup: false,\r\n \r\n\t\toption: {\r\n\t\t submit: () => {\r\n\t\t\tToast('回复成功');\r\n\t\t },\r\n\t\t // 发布评论\r\n\t\t postApi: params => ForumService.datumComment({\r\n\t\t\t...params,\r\n\t\t\tdatum_id: this.info.id,\r\n\t\t\turl_id: this.urlInfo.id,\r\n\t\t }),\r\n\t\t // 回复评论\r\n\t\t postReplyApi: (params, comment) => ForumService.forumSecondComment({\r\n\t\t\t...params,\r\n\t\t\tid: comment.id,\r\n\t\t }),\r\n\t\t},\r\n \r\n\t\tcheckIds: '',\r\n \r\n\t\tswipeCellOption: {\r\n\t\t showSearch: true,\r\n\t\t searchKey: 'title',\r\n \r\n\t\t nextItemShow: true,\r\n\t\t nextItemFilter: item => item.is_read !== 1,\r\n\t\t getHeaderHeight: () => this.$refs.header.offsetHeight,\r\n \r\n\t\t listApi: params => ForumService.replyToMyForum(params),\r\n\t\t itemButtons: [{\r\n\t\t\ttext: item => item.is_read === 1 ? '标记未读' : '标记已读',\r\n\t\t\tbgColor: '#2A63F3',\r\n\t\t\tclick: item => {\r\n\t\t\t const is_read = item.is_read === 1 ? 0 : 1;\r\n\t\t\t return this.unreadChange(item.id, is_read).then(() => {\r\n\t\t\t\titem.is_read = is_read;\r\n\t\t\t });\r\n\t\t\t},\r\n\t\t }, {\r\n\t\t\ttext: '删除',\r\n\t\t\tbgColor: '#FFAE18',\r\n\t\t\tclick: item => {\r\n\t\t\t this.checkIds = item.id;\r\n\t\t\t this.oneDeletePopup = true;\r\n\t\t\t},\r\n\t\t }],\r\n\t\t bottomButtons: [{\r\n\t\t\ttext: '已读',\r\n\t\t\tbgColor: '#2A63F3',\r\n\t\t\tclick: items => {\r\n\t\t\t if (items.length === 0) {\r\n\t\t\t\treturn Toast('请至少选择一个');\r\n\t\t\t }\r\n\t\t\t this.unreadChangeAll(items);\r\n\t\t\t},\r\n\t\t }, {\r\n\t\t\ttext: '删除',\r\n\t\t\tbgColor: '#FFAE18',\r\n\t\t\tclick: (items = []) => {\r\n\t\t\t if (items.length === 0) {\r\n\t\t\t\treturn Toast('请至少选择一个');\r\n\t\t\t }\r\n\t\t\t this.checkIds = items.map(item => item.id).join(',');\r\n\t\t\t this.deletePopup = true;\r\n\t\t\t},\r\n\t\t }],\r\n\t\t},\r\n\t\tswipeCellList: null,\r\n\t\tuserInfo:JSON.parse(localStorage.getItem('user_info'))\r\n\t };\r\n\t},\r\n\tmounted() {\r\n\t\tif(localStorage.getItem('user_info')){\r\n\t\t\tthis.level_id=JSON.parse(localStorage.getItem('user_info')).level_id\r\n\r\n\t\t}\r\n\t this.swipeCellList = this.$refs.swipeCellList;\r\n\t},\r\n\tmethods: {\r\n\t toDetail(item) {\r\n\t\tthis.unreadChange(item.id, 1, false).then(() => item.is_read = 1);\r\n\t\tif (item.is_normal === 0) return Toast('已下架');\r\n\t\tthis.$router.push(`/forum-question-details?forum_id=${item.forum_id}`);\r\n\t },\r\n \r\n\t // 标记已读、未读\r\n\t unreadChange(ids, is_read, showToast = true) {\r\n\t\treturn ForumService.unreadChange({\r\n\t\t id: ids,\r\n\t\t type: 1, // 消息类型【1 评论我的,2 回复我的 3 追番消息】\r\n\t\t is_read, // 变更类型【0 消息变更为未读 1 变更为已读】\r\n\t\t}).then(({msg}) => {\r\n\t\t if (showToast) {\r\n\t\t\tToast(msg);\r\n\t\t }\r\n\t\t});\r\n\t },\r\n \r\n\t // 已读提示\r\n\t unreadChangeAll(items) {\r\n\t\t// items.map(item => item.id).join(',')\r\n\t\treturn this.unreadChange('', 1, false)\r\n\t\t\t.then(() => {\r\n\t\t\t this.$toast('已将所选消息标为已读');\r\n\t\t\t items.forEach(item => item.is_read = 1);\r\n\t\t\t this.swipeCellList.openOrCloseEdit(true);\r\n\t\t\t});\r\n\t },\r\n \r\n\t // 删除\r\n\t batchesDel(ids) {\r\n\t\treturn ForumService.batchesDel({\r\n\t\t id: ids,\r\n\t\t type: 2,\r\n\t\t}).then(({msg}) => {\r\n\t\t Toast(msg);\r\n\t\t this.swipeCellList.resetList();\r\n\t\t this.swipeCellList.openOrCloseEdit(true);\r\n\t\t});\r\n\t },\r\n\t},\r\n }\r\n </script>\r\n \r\n <style scoped>\r\n .showIcon{\r\n\tdisplay: inline-block;\r\n\twidth: 22px;\r\n\theight: 22px;\r\n\ttransform: rotate(-90deg);\r\n }\r\n .showIcon1{\r\n\ttransform: rotate(90deg);\r\n }\r\n /* 头部样式 */\r\n .header-wrap {\r\n\twidth: 100%;\r\n\theight: 44px;\r\n\t/* \theight: 102px; */\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 500;\r\n\tbackground-color: #FFFFFF;\r\n }\r\n \r\n .header-wrap-tab-list-none {\r\n\theight: 80px;\r\n\tpadding-bottom: 10px;\r\n }\r\n \r\n .header {\r\n\twidth: 100%;\r\n\theight: 44px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tbackground-color: #FFFFFF;\r\n\tz-index: 999;\r\n\t/* padding: 0 15px; */\r\n\tposition: relative;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n .return-img {\r\n\tposition: absolute;\r\n\tleft: 15px;\r\n\ttop: 50%;\r\n\ttransform: translate(0, -50%);\r\n\twidth: 20px;\r\n\tz-index: 99999;\r\n }\r\n \r\n .header-title {\r\n\twidth: 100%;\r\n\ttext-align: center;\r\n\tcolor: #333333;\r\n\tfont-size: 18px;\r\n\tfont-weight:bold;\r\n\tposition: relative;\r\n }\r\n \r\n .full-mark-read {\r\n\tposition: absolute;\r\n\tright: 73px;\r\n\ttop: 50%;\r\n\ttransform: translate(0, -50%);\r\n\tcolor: #2A63F3;\r\n\tfont-size: 11px;\r\n\tpadding: 0 6px;\r\n\tborder-radius: 50px;\r\n\tbackground-color: #F2F6FF;\r\n\theight: 20px;\r\n\tline-height: 20px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .full-mark-read>img {\r\n\twidth: 14px;\r\n\tmargin-right: 2px;\r\n }\r\n \r\n .header-btn {\r\n\tcolor: #222222;\r\n\tfont-size: 14px;\r\n\tposition: absolute;\r\n\tpadding: 0 12px;\r\n\tright: 0;\r\n\ttop: 50%;\r\n\ttransform: translate(0, -50%);\r\n }\r\n \r\n .search-box {\r\n\twidth: 100%;\r\n\theight: 56px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding: 0 12px;\r\n\tbox-sizing: border-box;\r\n \r\n }\r\n \r\n .search-bar {\r\n\tflex: 1;\r\n\theight: 36px;\r\n\tbackground-color: #FFFFFF;\r\n\tborder-radius: 100px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding: 0 15px;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n .search-icon {\r\n\twidth: 16px;\r\n\tmargin-right: 8px;\r\n }\r\n \r\n .search-input {\r\n\tflex: 1;\r\n\tfont-size: 14px;\r\n }\r\n \r\n .search-input::placeholder {\r\n\tcolor: #888888;\r\n }\r\n \r\n .tab-list>li {\r\n\tflex: 1;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\theight: 38px;\r\n\tline-height: 38px;\r\n\tfont-size: 16px;\r\n\tcolor: #555555;\r\n\tposition: relative;\r\n }\r\n \r\n .tab-list>li.active {\r\n\tfont-size: 18px;\r\n\tfont-weight:bold;\r\n\tcolor: #222222;\r\n }\r\n \r\n .tab-list>li.active::after {\r\n\tcontent: \"\";\r\n\tposition: absolute;\r\n\tbottom: 0;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, 0);\r\n\tbackground: linear-gradient(90deg, #2A63F3, #81B8FF);\r\n\tborder-radius: 2px;\r\n\twidth: 18px;\r\n\theight: 4px;\r\n }\r\n \r\n \r\n \r\n \r\n .wrap {\r\n\twidth: 100%;\r\n\tmin-height: calc(100vh - 44px);\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin: 44px 0 0;\r\n\tbox-sizing: border-box;\r\n\tbackground: #F4F4F4;\r\n\t/*overflow-y: auto;*/\r\n }\r\n \r\n .wrap-tab-list-none {\r\n\theight: calc(100vh - 90px);\r\n\tmargin: 90px 0 0;\r\n }\r\n \r\n \r\n .sub-list {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tpadding: 12px 15px;\r\n\tbox-sizing: border-box;\r\n\t/*height: 100%;*/\r\n\toverflow: auto;\r\n }\r\n \r\n .sub-list>li {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tbackground-color: #FFFFFF;\r\n\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n\tborder-radius: 12px;\r\n\tmargin-bottom: 12px;\r\n\tpadding: 10px;\r\n\tbox-sizing: border-box;\r\n\tposition: relative;\r\n }\r\n \r\n \r\n .sub-list>li:last-child {\r\n\tmargin-bottom: 0;\r\n }\r\n \r\n .float-box {\r\n\tposition: fixed;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, 0);\r\n\tbottom: 40px;\r\n\tz-index: 499;\r\n }\r\n \r\n .float-box>button {\r\n\tmin-width: 175px;\r\n\theight: 44px;\r\n\tline-height: 44px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tbackground-color: #2A63F3;\r\n\tborder-radius: 100px;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 18px;\r\n\tfont-weight:bold;\r\n }\r\n \r\n .module {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tpadding: 5px 15px;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n .time {\r\n\twidth: 100%;\r\n\tcolor: #7F7F7F;\r\n\tfont-size: 10px;\r\n\tmargin-bottom: 12px;\r\n }\r\n \r\n .list {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n }\r\n \r\n .list>li {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin-bottom: 12px;\r\n\tbackground-color: #FFFFFF;\r\n\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n\tborder-radius: 12px;\r\n\tpadding: 12px 10px 14px 18px;\r\n\tbox-sizing: border-box;\r\n\tposition: relative;\r\n }\r\n \r\n .list>li:last-child {\r\n\tmargin-bottom: 0;\r\n }\r\n \r\n .img-box {\r\n\twidth: 26px;\r\n\theight: 30px;\r\n\tposition: relative;\r\n\tmargin-right: 16px;\r\n }\r\n \r\n .img {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n }\r\n \r\n .tag {\r\n\twidth: 34px;\r\n\theight: 14px;\r\n\tline-height: 14px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tbackground: linear-gradient(90deg, #FFCD7C, #FFEEBA);\r\n\tborder-radius: 0 7px 0 7px;\r\n\tcolor: #222222;\r\n\tfont-size: 12px;\r\n\tfont-weight: bold;\r\n\tposition: absolute;\r\n\tright: 0;\r\n\ttop: 0;\r\n }\r\n \r\n .tag-black {\r\n\twidth: 34px;\r\n\theight: 14px;\r\n\tline-height: 14px;\r\n\tbackground: rgba(0, 0, 0, 0.8);\r\n\tborder-radius: 50px;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 9px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: absolute;\r\n\tright: 8px;\r\n\tbottom: 8px;\r\n }\r\n \r\n .item-sidebar {\r\n\tflex: 1;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n }\r\n \r\n .item-name {\r\n\twidth: 100%;\r\n\tline-height: 21px;\r\n\tcolor: #222222;\r\n\tfont-size: 15px;\r\n\tdisplay: -webkit-box;\r\n\t-webkit-line-clamp: 2;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\t-webkit-box-orient: vertical;\r\n }\r\n \r\n .row {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #999999;\r\n\tfont-size: 12px;\r\n }\r\n \r\n .avatar {\r\n\twidth: 14px;\r\n\theight: 14px;\r\n\tborder-radius: 50%;\r\n\tmargin-right: 4px;\r\n\tobject-fit: cover;\r\n }\r\n \r\n .row2 {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #999999;\r\n\tfont-size: 12px;\r\n }\r\n \r\n .play-icon {\r\n\twidth: 12px;\r\n\tmargin-right: 4px;\r\n }\r\n \r\n .item-between {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tjustify-content: flex-end;\r\n\talign-items: center;\r\n }\r\n \r\n .circle-btn {\r\n\twidth: 13px;\r\n\theight: 13px;\r\n }\r\n \r\n .circle-icon {\r\n\twidth: 13px;\r\n }\r\n \r\n .font-1 {\r\n\tfont-size: 10px;\r\n\tcolor: #888888;\r\n }\r\n \r\n .normal-box-small {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tfont-size: 16px;\r\n\tcolor: #888888;\r\n\tpadding: 48px 0;\r\n }\r\n \r\n .normal-box-small>img {\r\n\twidth: 195.2px;\r\n\tmargin-bottom: 38px;\r\n }\r\n \r\n .my-collection-list {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tpadding: 0 12px 0;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n .my-collection-list>li {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding-top: 14px;\r\n\tpadding-bottom: 10px;\r\n\tpadding-right: 10px;\r\n\tpadding-left: 10px;\r\n\tbox-sizing: border-box;\r\n\tbackground-color: #FFFFFF;\r\n\tborder-radius: 10px;\r\n\tmargin-bottom: 10px;\r\n }\r\n \r\n .my-circle-box {\r\n\tpadding-right: 10px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n }\r\n \r\n .my-circle-box>img {\r\n\twidth: 24px;\r\n\theight: 24px;\r\n }\r\n \r\n .my-collection-module {\r\n\tflex: 1;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbackground-color: #F3F3F3;\r\n\tborder-radius: 6px;\r\n\tpadding: 10px;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n .my-collection-module-top {\r\n\t\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\t/* align-items: center; */\r\n\tfont-size: 15px;\r\n\t/* font-weight: bold; */\r\n }\r\n .my-collection-module-top img{\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tmargin-top: 3px;\r\n\t\r\n }\r\n .my-collection-module-top div{\r\n\tdisplay: flex;\r\n\tmargin-left: 10px;\r\n }\r\n \r\n .my-collection-module-top-img-box {\r\n\twidth: 80px;\r\n\theight: 80px;\r\n\tborder-radius: 6px;\r\n\toverflow: hidden;\r\n\tposition: relative;\r\n\tmargin-right: 10px;\r\n }\r\n \r\n .my-collection-module-top-img {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n }\r\n \r\n .my-collection-module-top-time {\r\n\tbackground: rgba(0, 0, 0, 0.7);\r\n\theight: 12px;\r\n\tline-height: 12px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding: 0 2px;\r\n\tfont-size: 9px;\r\n\tcolor: #FFFFFF;\r\n\tposition: absolute;\r\n\tright: 7px;\r\n\tbottom: 4px;\r\n }\r\n \r\n .my-collection-module-top-time-gray {\r\n\tbackground: rgba(0, 0, 0, 0.3);\r\n\theight: 12px;\r\n\tline-height: 12px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding: 0 2px;\r\n\tfont-size: 9px;\r\n\tcolor: #FFFFFF;\r\n\tposition: absolute;\r\n\tright: 7px;\r\n\tbottom: 3px;\r\n }\r\n \r\n .my-collection-module-top-sidebar {\r\n\tflex: 1;\r\n\theight: 73px;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tjustify-content: space-between;\r\n }\r\n \r\n .my-collection-module-top-sidebar-top {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n }\r\n \r\n .my-collection-module-top-sidebar-title {\r\n\twidth: 100%;\r\n\tcolor: #222222;\r\n\tfont-size: 14px;\r\n\tdisplay: -webkit-box;\r\n\t-webkit-line-clamp: 2;\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-sub-title {\r\n\twidth: 100%;\r\n\tcolor: #222222;\r\n\tfont-size: 14px;\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-bottom {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .my-collection-module-top-sidebar-row1 {\r\n\tcolor: #666666;\r\n\tfont-size: 10px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin-right: 8px;\r\n }\r\n \r\n .my-collection-module-top-sidebar-row1>span {\r\n\tmax-width: 73px;\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-row1>img {\r\n\twidth: 12px;\r\n\theight: 12px;\r\n\tborder-radius: 50%;\r\n\tmargin-right: 2px;\r\n }\r\n \r\n .my-collection-module-top-sidebar-row2 {\r\n\tcolor: #999999;\r\n\tfont-size: 10px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .my-collection-module-top-sidebar-row2>span {\r\n\t/* \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\twidth: 12px;\r\n\tmargin-right: 2px;\r\n }\r\n \r\n .my-collection-module-bottom {\r\n\twidth: 100%;\r\n\theight: 45px;\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n }\r\n \r\n .my-collection-module-bottom-btn {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #333333;\r\n\tfont-size: 12px;\r\n }\r\n \r\n .my-collection-module-bottom-btn.active {\r\n\tcolor: #2A63F3;\r\n }\r\n \r\n .my-collection-module-bottom-btn>img {\r\n\twidth: 16px;\r\n\tmargin-right: 4px;\r\n }\r\n \r\n .footer {\r\n\twidth: 100%;\r\n\theight: 83px;\r\n\tbox-sizing: border-box;\r\n\tpadding-top: 8px;\r\n\tbackground-color: #FFFFFF;\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tz-index: 999;\r\n }\r\n \r\n .footer-wrap {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n\tpadding: 0 12px;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n .footer-wrap-sidebar {\r\n\tflex: 1;\r\n\tdisplay: flex;\r\n\tjustify-content: flex-end;\r\n\talign-items: center;\r\n }\r\n \r\n .footer-wrap-sidebar>button {\r\n\tmargin-right: 14px;\r\n }\r\n \r\n .footer-wrap-sidebar>button:last-child {\r\n\tmargin-right: 0;\r\n }\r\n \r\n .footer-wrap-sidebar>button.blue {\r\n\tbackground-color: #2A63F3;\r\n }\r\n \r\n .footer-wrap-sidebar>button.yellow {\r\n\tbackground-color: #FFAF18;\r\n }\r\n \r\n .footer-all-btn {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #999999;\r\n\tfont-size: 14px;\r\n }\r\n \r\n .footer-all-btn>img {\r\n\twidth: 24px;\r\n\tmargin-right: 4px;\r\n }\r\n \r\n .cancel-collection-btn {\r\n\tbackground-color: #FFAF18;\r\n\tborder-radius: 50px;\r\n\twidth: 100px;\r\n\theight: 40px;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 16px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n }\r\n \r\n .font-10 {\r\n\tcolor: #666666;\r\n\tfont-size: 11px;\r\n }\r\n \r\n .font-11 {\r\n\tcolor: #FF6700;\r\n\tfont-size: 11px;\r\n\tmargin: 0 10px;\r\n }\r\n \r\n .header-tab-list {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\theight: 40px;\r\n\tborder-top: 1px solid #F4F4F4;\r\n\tbox-sizing: border-box;\r\n\tbackground-color: #FFFFFF;\r\n }\r\n \r\n .header-tab-list>li {\r\n\tflex: 1;\r\n\theight: 40px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tcolor: #222222;\r\n\tfont-size: 15px;\r\n\tposition: relative;\r\n }\r\n \r\n .header-tab-list>li.active {\r\n\tcolor: #2A63F3;\r\n\tfont-weight: bold;\r\n }\r\n \r\n .header-tab-list>li.active::after {\r\n\tcontent: \"\";\r\n\tborder-radius: 2px;\r\n\tbackground-color: #2A63F3;\r\n\twidth: 34px;\r\n\theight: 3px;\r\n\tposition: absolute;\r\n\tbottom: 0;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, 0);\r\n }\r\n \r\n .header-tab-circle {\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 10px;\r\n\tmin-width: 12px;\r\n\theight: 12px;\r\n\tline-height: 12px;\r\n\tpadding: 0 2px;\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tmargin-left: 2px;\r\n\tbackground-color: #FF5143;\r\n\tborder-radius: 50%;\r\n }\r\n \r\n .subscribe-messages-module {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n }\r\n \r\n .subscribe-messages-head-between {\r\n\twidth: 100%;\r\n\theight: 45px;\r\n\tborder-bottom: 1px solid #F4F4F4;\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n }\r\n \r\n .subscribe-messages-head-left {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .font-12 {\r\n\tflex: 1;\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\tcolor: #222222;\r\n\tfont-size: 15px;\r\n\tfont-weight: bold;\r\n }\r\n \r\n .font-13 {\r\n\tmargin-left: 4px;\r\n\tborder-radius: 50px;\r\n\tbackground-color: #FF5143;\r\n\tpadding: 0 5px;\r\n\theight: 16px;\r\n\tline-height: 16px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 10px;\r\n }\r\n \r\n .subscribe-messages-head-right {\r\n\tcolor: #999999;\r\n\tfont-size: 12px;\r\n\tmargin-left: 6px;\r\n }\r\n \r\n .subscribe-messages-bottom {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tpadding: 9px 0 13px;\r\n }\r\n \r\n .subscribe-messages-bottom-title {\r\n\twidth: 100%;\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\tcolor: #222222;\r\n\tfont-size: 13px;\r\n }\r\n \r\n .subscribe-messages-bottom-btn-box {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin-top: 12px;\r\n }\r\n \r\n .subscribe-messages-bottom-btn {\r\n\tcolor: #222222;\r\n\tfont-size: 11px;\r\n\tpadding: 0 11px;\r\n\theight: 24px;\r\n\tline-height: 24px;\r\n\tborder: 1px solid #979797;\r\n\tbox-sizing: border-box;\r\n\tborder-radius: 50px;\r\n\twidth: fit-content;\r\n\tbackground-color: #FFFFFF;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .next-unread {\r\n\twidth: 108px;\r\n\theight: 30px;\r\n\tborder-radius: 15px 0 0 15px;\r\n\tborder: 1px solid #2A63F3;\r\n\tbackground-color: #FFFFFF;\r\n\tposition: fixed;\r\n\tright: 0;\r\n\tbottom: 68px;\r\n\tz-index: 9999;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcolor: #2A63F3;\r\n\tfont-size: 12px;\r\n }\r\n \r\n .next-unread>img {\r\n\twidth: 12px;\r\n\tmargin-right: 2px;\r\n }\r\n \r\n .like-me-top {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin-bottom: 8px;\r\n }\r\n \r\n .like-me-top-top {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .like-me-top-top-img-box {\r\n\tposition: relative;\r\n }\r\n \r\n .like-me-top-top-img-box-tag {\r\n\tposition: absolute;\r\n\tleft: 6%;\r\n\ttop: -6%;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 10px;\r\n\theight: 16px;\r\n\tbackground-color: #FF5143;\r\n\tborder-radius: 30px;\r\n\tline-height: 16px;\r\n\tpadding: 0 5px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n }\r\n \r\n .like-me-top-top-img {\r\n\twidth: 34px;\r\n\theight: 34px;\r\n\tborder-radius: 50%;\r\n\tmargin-right: 8px;\r\n }\r\n \r\n .like-me-top-top-sidebar {\r\n\tflex: 1;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n }\r\n \r\n .like-me-top-top-name {\r\n\twidth: 100%;\r\n\tcolor: #222222;\r\n\tfont-size: 14px;\r\n }\r\n \r\n .like-me-top-top-time {\r\n\twidth: 100%;\r\n\tcolor: #999999;\r\n\tfont-size: 10px;\r\n }\r\n \r\n .like-me-top-bottom {\r\n\twidth: 100%;\r\n\tcolor: #222222;\r\n\tfont-size: 14px;\r\n\tmargin-top: 10px;\r\n }\r\n \r\n .comment-on {\r\n\twidth: 100%;\r\n\tcolor: #666666;\r\n\tfont-size: 14px;\r\n\tmargin-bottom: 10px;\r\n }\r\n \r\n .full-text-btn {\r\n\tcolor: #2A63F3;\r\n\tfont-size: 14px;\r\n }\r\n \r\n .reply-between-box {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n }\r\n \r\n .reply-btn-blue {\r\n\tcolor: #2A63F3;\r\n\tfont-size: 11px;\r\n\twidth: 50px;\r\n\theight: 24px;\r\n\tline-height: 24px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tborder: 1px solid #2A63F3;\r\n\tborder-radius: 40px;\r\n\tbackground-color: #FFFFFF;\r\n }\r\n \r\n .my-collection-item-column {\r\n\tflex: 1;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tpadding: 10px;\r\n }\r\n \r\n .window {\r\n\twidth: calc(100% - 54px);\r\n\theight: 180px;\r\n\tborder-radius: 12px;\r\n\tbackground-color: #FFFFFF;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tpadding: 38px 25px 32px;\r\n\tbox-sizing: border-box;\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, -50%);\r\n\tz-index: 1000;\r\n }\r\n \r\n .window-text {\r\n\tcolor: #222222;\r\n\tfont-size: 18px;\r\n }\r\n \r\n .window-btn-box {\r\n\twidth: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin-top: 43px;\r\n }\r\n \r\n .window-btn-box>button {\r\n\tflex: 1;\r\n\theight: 42px;\r\n\tfont-size: 17px;\r\n\tmargin-right: 27px;\r\n\tborder-radius: 50px;\r\n }\r\n \r\n .window-btn-box>button:last-child {\r\n\tmargin-right: 0;\r\n }\r\n \r\n .window-btn-box>button.cancel {\r\n\tbackground-color: #F4F4F4;\r\n\tcolor: #333333;\r\n }\r\n \r\n .window-btn-box>button.confirm {\r\n\tbackground-color: #2A63F3;\r\n\tcolor: #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-answer-me.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-me.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-answer-me.vue?vue&type=template&id=6fbcc479&scoped=true&\"\nimport script from \"./forum-answer-me.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-answer-me.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-answer-me.vue?vue&type=style&index=0&id=6fbcc479&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 \"6fbcc479\",\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+nwSiaqj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OaXxZboBebDMvL90xVeZ6b+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","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!./video-time.vue?vue&type=style&index=0&id=555be09a&prod&scoped=true&lang=css&\"","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\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"video-time\"},[_vm._v(_vm._s(_vm.duration > 0 ? _vm.time : '视频'))])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"video-time\">{{ duration > 0 ? time : '视频'}}</div>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'video-time',\r\n props: {\r\n // 秒\r\n duration: {\r\n default: 0,\r\n },\r\n },\r\n computed: {\r\n time() {\r\n const add0 = num => (num >= 0 && num < 10 ? '0' : '') + num;\r\n const s = this.duration % 60;\r\n const m = (this.duration - s) / 60 % 60;\r\n const h = (this.duration - s - m * 60) / 60 / 60;\r\n return (h > 0 ? `${add0(h)}:` : '') + `${add0(m)}:${add0(m)}`;\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.video-time{\r\n padding: 0 4px;\r\n background-color: #000000;\r\n color: #FFFFFF;\r\n height: 14px;\r\n line-height: 14px;\r\n font-size: 10px;\r\n border-radius: 7px;\r\n opacity: 0.8;\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!./video-time.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!./video-time.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./video-time.vue?vue&type=template&id=555be09a&scoped=true&\"\nimport script from \"./video-time.vue?vue&type=script&lang=js&\"\nexport * from \"./video-time.vue?vue&type=script&lang=js&\"\nimport style0 from \"./video-time.vue?vue&type=style&index=0&id=555be09a&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 \"555be09a\",\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!./comment-post.vue?vue&type=style&index=0&id=0dffb8f0&prod&scoped=true&lang=css&\"","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":""}