1 |
- {"version":3,"sources":["webpack:///./src/assets/back-icon2.png","webpack:///./src/assets/avatar.png","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/views/forum/forum-my-question.vue?494e","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/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/views/forum/forum-my-question.vue","webpack:///src/views/forum/forum-my-question.vue","webpack:///./src/views/forum/forum-my-question.vue?7540","webpack:///./src/views/forum/forum-my-question.vue?40e1","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","attrs","model","value","show","callback","$$v","expression","staticClass","on","$event","_v","class","active","params","content","length","submit","comment","id","headimg","require","domProps","_s","_e","ref","maxHeight","minHeight","name","user_name","$set","staticRenderFns","watch","disabledKeydownFn","props","postApi","type","default","postReplyApi","data","userInfo","mounted","methods","showFn","getUserInfo","console","msg","Toast","newComment","component","fileIcon","fileName","computed","fileType","dP","f","FProto","Function","prototype","nameRE","NAME","configurable","get","match","e","highlightKey","color","hideBtn","directives","rawName","valSize","maxSize","stopPropagation","showAll","components","TextHighlight","val","style","lineClamp","contentLine","maxLine","background","bgColor","_t","staticStyle","btnType","position","width","fontSize","height","TextHide","heightChangeEvent","contentResizeObserver","$router","back","swipeCellList","openOrCloseEdit","edit","swipeCellOption","scopedSlots","_u","key","fn","item","unreadChange","then","is_read","create_at","is_normal","toEdit","toDetail","title","titleShort","reply_num","browse_num","deletePopup","batchesDel","checkIds","oneDeletePopup","option","TextHideByLine","CommentPost","FileIcon","SwipeCellList","VideoTime","datum_id","url_id","showSearch","searchKey","nextItemFilter","getHeaderHeight","listApi","itemButtons","text","click","bottomButtons","editData","label","images","unreadChangeAll","items","duration","time"],"mappings":"qJAAAA,EAAOC,QAAU,8wB,qBCAjBD,EAAOC,QAAU,IAA0B,2B,kDCAvCC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,MAAQ,GAAG,SAAW,SAAS,UAAU,aAAaC,MAAM,CAACC,MAAON,EAAIO,KAAMC,SAAS,SAAUC,GAAMT,EAAIO,KAAKE,GAAKC,WAAW,SAAS,CAACR,EAAG,MAAM,CAACS,YAAY,yBAAyB,CAACT,EAAG,MAAM,CAACS,YAAY,0BAA0B,CAACT,EAAG,SAAS,CAACS,YAAY,aAAaP,MAAM,CAAC,KAAO,UAAUQ,GAAG,CAAC,MAAQ,SAASC,GAAQb,EAAIO,MAAO,KAAS,CAACP,EAAIc,GAAG,QAAQZ,EAAG,SAAS,CAACS,YAAY,cAAcI,MAAM,CAACC,OAAQhB,EAAIiB,OAAOC,QAAQC,OAAS,GAAIf,MAAM,CAAC,KAAO,UAAUQ,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIoB,YAA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EAAI0B,GAAG1B,EAAIgJ,SAAW,EAAIhJ,EAAIiJ,KAAO,UAEhJ/G,EAAkB,GCIP,GACfH,kBACAM,OAEA2G,UACAxG,YAGAe,UACA0F,gBACA,+CACA,mBACA,0BACA,+BACA,uECpBoV,I,wBCQhV7F,EAAY,eACd,EACArD,EACAmC,GACA,EACA,KACA,WACA,MAIa,OAAAkB,E,2CCnBf,W,mBCAAvD,EAAOC,QAAU,s+B","file":"js/chunk-8595d804.4796230b.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\";","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!./forum-my-question.vue?vue&type=style&index=0&id=47b99a08&prod&scoped=true&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\"","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('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:\"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\":\"\"}})]),_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))])]),(item.is_normal)?_c('button',{staticClass:\"reply-btn-blue\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.toEdit(item)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t编辑\\n\\t\\t\\t\\t \")]):_c('button',{staticClass:\"reply-btn-blue\",staticStyle:{\"color\":\"#999\",\"border-color\":\"#999\"},attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.toEdit(item)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t编辑\\n\\t\\t\\t\\t \")])])])]),_c('div',{staticClass:\"my-collection-module\",on:{\"click\":function($event){return _vm.toDetail(item)}}},[(item.is_normal==1)?_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 > 34 ? '...' : '')+\" \")]),(item.title.length > 34 && !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 > 34 && 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('div',{ref:\"content-box\",staticClass:\"my-collection-module-top\"},[_c('img',{staticStyle:{\"filter\":\"grayscale(1)\"},attrs:{\"src\":require(\"../../assets/questionIcon.png\"),\"alt\":\"\"}}),_c('div',[_c('span',{staticStyle:{\"color\":\"#999\"}},[_vm._v(\"此问题已被下架\")])])]),_c('div',{ref:\"content-box\",staticClass:\"my-collection-module-top\",staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{attrs:{\"src\":require(\"../../assets/huida.png\"),\"alt\":\"\"}}),_c('div',[_c('span',{staticStyle:{\"font-size\":\"11px\",\"color\":\"#666666\",\"font-weight\":\"normal\"}},[_vm._v(_vm._s(item.reply_num)+\"人回答·\"+_vm._s(item.browse_num)+\"浏览量\")])])])])])]}}])}),_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.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=\"toDetail(item)\" v-if=\"item.is_normal\">\r\n\t\t\t\t\t回复\r\n\t\t\t\t </button>\r\n\t\t\t\t <button type=\"button\" class=\"reply-btn-blue\" v-else style=\"color: #999;border-color: #999;\" @click=\"toDetail(item)\">\r\n\t\t\t\t\t回复\r\n\t\t\t\t </button> -->\r\n\t\t\t\t <button type=\"button\" class=\"reply-btn-blue\" @click=\"toEdit(item)\" v-if=\"item.is_normal\">\r\n\t\t\t\t\t编辑\r\n\t\t\t\t </button>\r\n\t\t\t\t <button type=\"button\" class=\"reply-btn-blue\" v-else style=\"color: #999;border-color: #999;\" @click=\"toEdit(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 \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\" v-if=\"item.is_normal==1\">\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 > 34 ? '...' : ''}} </span>\r\n\t\t\t\t\t<img @click.stop=\"$set(item, 'showAll', true)\"\r\n v-if=\"item.title.length > 34 && !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 > 34 && 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\t\t\t\t\r\n\t\t\t </div>\r\n\t\t\t <div class=\"my-collection-module-top\" ref=\"content-box\" v-else>\r\n\t\t\t\r\n\t\t\t<!-- 正常 -->\r\n\t\t\t<img src=\"../../assets/questionIcon.png\" alt=\"\" style=\"filter: grayscale(1);\">\r\n\t\t\t<div >\r\n\t\t\t\t<span style=\"color: #999;\">此问题已被下架</span>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t </div>\r\n\t\t\t <div class=\"my-collection-module-top\" ref=\"content-box\" style=\"display: flex;align-items: center;\">\r\n\t\t\t\r\n\t\t\t<!-- 正常 -->\r\n\t\t\t<img src=\"../../assets/huida.png\" alt=\"\">\r\n\t\t\t<div >\r\n\t\t\t\t<span style=\"font-size: 11px;color: #666666;font-weight: normal;\">{{item.reply_num}}人回答·{{item.browse_num}}浏览量</span>\r\n\t\t\t</div>\r\n\t\t\t\r\n\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 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 \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},\r\n\tdata() {\r\n\t return {\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.getUserForumList(params),\r\n\t\t itemButtons: [\r\n // {\r\n\t\t\t// text: item => item.is_read === 1 ? '标记未读' : '标记已读',\r\n\t\t\t// bgColor: '#2A63F3',\r\n\t\t\t// click: 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 {\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 // {\r\n\t\t\t// text: '已读',\r\n\t\t\t// bgColor: '#2A63F3',\r\n\t\t\t// click: 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 {\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 };\r\n\t},\r\n\tmounted() {\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.id}`);\r\n\t },\r\n\t toEdit(item){\r\n\t\tif (item.is_normal === 0) return Toast('已下架');\r\n\t\tthis.$router.push({\r\n\t\t\tname:'forum-release-issues',\r\n\t\t\tparams:{ \r\n\t\t\t\teditData:{\r\n title: item.title, //\t标题\r\n content: item.content, //\t内容\r\n label: item.label, //\t论坛标签(多个用逗号隔开)\r\n images: item.images, //\t(多个用|隔开)\r\n\t\t\t\t\tid: item.id // 详情id\r\n }\r\n\t\t\t}\r\n\t\t})\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: 2, // 消息类型【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: 10,\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\t/* background-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\tfont-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-my-question.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-question.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-my-question.vue?vue&type=template&id=47b99a08&scoped=true&\"\nimport script from \"./forum-my-question.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-my-question.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-my-question.vue?vue&type=style&index=0&id=47b99a08&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 \"47b99a08\",\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":""}
|