1 |
- {"version":3,"sources":["webpack:///./src/assets/icon-106.png","webpack:///./src/components/forum/forum-post-comments.vue?f2a2","webpack:///./src/components/forum/forum-post-comments.vue","webpack:///src/components/forum/forum-post-comments.vue","webpack:///./src/components/forum/forum-post-comments.vue?8b77","webpack:///./src/components/forum/forum-post-comments.vue?5858","webpack:///./src/components/forum/forum-all-comments.vue","webpack:///src/components/forum/forum-all-comments.vue","webpack:///./src/components/forum/forum-all-comments.vue?f6f7","webpack:///./src/components/forum/forum-all-comments.vue?5691","webpack:///./src/components/forum/forum-all-comments.vue?e2be","webpack:///./src/assets/top-icon.png","webpack:///./src/assets/icon-10.png","webpack:///./src/components/comments-popup.vue?86c4","webpack:///./src/components/normal-box.vue","webpack:///src/components/normal-box.vue","webpack:///./src/components/normal-box.vue?1f09","webpack:///./src/components/normal-box.vue?99a8","webpack:///./src/assets/return-2.png","webpack:///./src/components/comments-popup.vue","webpack:///src/components/comments-popup.vue","webpack:///./src/components/comments-popup.vue?e5c6","webpack:///./src/components/comments-popup.vue?24b3","webpack:///./src/components/normal-box.vue?567a","webpack:///./src/assets/normal.png","webpack:///./src/assets/return.png"],"names":["module","exports","render","_vm","this","_c","_self","attrs","model","value","callback","$$v","expression","staticClass","on","$event","_v","class","active","params","content","length","submit","ref","maxHeight","minHeight","toComment","id","name","$set","staticRenderFns","prop","event","props","show","default","currentReply","watch","computed","get","set","data","userInfo","reply_id","mounted","methods","ForumService","Toast","forumSecondComment","component","require","_s","total_num","scrollTop","$refs","finished","list","getList","loading","_l","item","index","key","refInFor","headimg","forumCommentTags","is_like","like_num","showAll","contentShort","stopPropagation","_e","showPostComments","create_at","parent_comment","goParent","staticStyle","directives","rawName","sendParams","domProps","target","composing","postSuccess","components","ForumPostComments","page","page_num","duration","forbidClick","message","console","go","getComment","like_id","init","hideImg","text","type","switchVal","switchChange","$emit","comments","commentPostShow","Comments","switchShow","checked","showFn","option","fixedListHeight"],"mappings":"mGAAAA,EAAOC,QAAU,soC,kCCAjB,W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AG,SAAS,CAACQ,YAAY,gCAAgCN,MAAM,CAAC,KAAO,WAAW,CAACJ,EAAIa,GAAG,aAEx1Cc,EAAkB,G,4qBCqCP,OACfF,sBACAwD,YAAAoB,iBACAvE,OACAkE,WACAhE,WAEAsE,YACAtE,YAEA+D,MACA/D,aAGAE,OACA8D,qBACA,8BAGA1D,gBACA,OACAiE,UACAxE,UAGAW,SACAuD,wBACA,8BAEAO,mBAAA,WACA,aACA,2BACA,6BACAC,OACAC,4BCzEwV,I,wBCQpV5D,EAAY,eACd,EACA/C,EACA4B,GACA,EACA,KACA,WACA,MAIa,OAAAmB,E,2CCnBf,W,qBCAAjD,EAAOC,QAAU,IAA0B,2B,0CCA3CD,EAAOC,QAAU,s7B","file":"js/chunk-d8935996.f6c2cd05.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAwtJREFUWEfNmM9PE1EQx7/T7QKBlEC7e+Biol408QASIVHCyejBs0biXSVR459iIok/zhKNdw4aTwRNgFS4GDhoTLxAsq+F0EAs23bMLF2zlHb37bZN2uO+eTOfvpl582YIMX/7+/vnXde9TUQzAC4z8zkAmbqaEhH9AbDFzCumaX4aGRn5HccE6Qgzc0opdQ/AEwDXAWjtA8AAvgFYsCzrIxHVouxFKlZK3WTmlwAuRSkLWyeiLQDPLMv6EirXapGZB4rF4gtmfsjMkeA6sETERPQ2m80+J6K/zfY0NbSzs2On0+klANd0DCWQWa9UKnfGxsacxr1ngATGNM1lZm7LRVGQRLTtuu5sI9QpIHFToVAQmG6dTCPnumVZs0H3nQIqFAqva7Xao6h/18n1VCr1JpfLPfZ1/geSbALwuVMBrAstgQ7glp99HlD9nvnRbmrrQpwJZKKtXC53Re4pD6hYLN6vVqvvkyrsxD7DMOay2ewHD8hxnBUAN6IU5/N5uK6LiYkJ9Pf3h4qXy2VsbGzANE1MTk5GqZb1r7Ztz9Du7u4FwzB+6pSDtbU1HBwcYHBw0DPSCkpgBP7o6AjDw8OYmprSAWLTNC+S4zgS4a90dhwfH3uGDg8PW0IFYYaGhjzwvr4+HfUiM09KqXfM/EB3RxhUmzAgokUByjPzVV0gkWsGJd99NyU4Gc88EX0Xl0k9seIANYOSbxIzSWHq9pUASdUNT5kWtMGTEpE2YURFuS2gYMyItqjs0/CCB5TIZUEYAfFd1iaUShTUjTD+xecHdVIoL6jjpn0zGP+CDFvTcNdJ2se5GHUM6siEwM1Tva35pVM6VldXUSqVIoM3CJXJZDA9Pa1zQCelI25xrVQqGB8f1yqum5ubSKfT8YqrAPXC8wPAnG3bJ8+PnnugCVRPPWH9iOupR37ddQNKqeUuNoiN2RbeBol0TzWKPn4daqlbDSMRrbuuq9dK+1A9NWwIOrpT4xgA20T0NPE4JgjFzMbe3t7darWaaGBlGMbC6OhoZwZWjWnR7ZHeP2HLCzN5PiMhAAAAAElFTkSuQmCC\"","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-post-comments.vue?vue&type=style&index=0&id=40638bbc&prod&scoped=true&lang=css&\"","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.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}},[_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.value = 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(\"完成\")])]),_c('div',{staticClass:\"comment-input-wrap\"},[_c('van-field',{ref:\"comment-send\",attrs:{\"rows\":\"1\",\"type\":\"textarea\",\"autosize\":{ maxHeight: 100, minHeight: 20 },\"placeholder\":_vm.toComment.id > 0 ? `回复:${_vm.toComment.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=\"value\" 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=\"value = false\">取消</button>\r\n <button type=\"button\" class=\"confirm-btn\" :class=\"{active: params.content.length > 0 }\" @click=\"submit()\">完成</button>\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=\"toComment.id > 0 ? `回复:${toComment.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 {ForumService} from \"@/common/service\";\r\nimport {Toast} from \"vant\";\r\n\r\nexport default {\r\n model: {\r\n prop: \"show\",\r\n event: \"show\"\r\n },\r\n props: {\r\n show: {\r\n default: false,\r\n },\r\n toComment: {\r\n default: {\r\n id: 0,\r\n name: '',\r\n },\r\n },\r\n currentReply: {\r\n default: {},\r\n }\r\n },\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 }\r\n },\r\n computed: {\r\n value: {\r\n get() {\r\n return this.show;\r\n },\r\n set(val) {\r\n this.$emit(\"show\", val);\r\n }\r\n },\r\n },\r\n data() {\r\n return {\r\n userInfo: {},\r\n\r\n params: {\r\n reply_id: 0,\r\n content: '',\r\n },\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 methods: {\r\n submit() {\r\n const params = this.params;\r\n if (params.content.length === 0) {\r\n return Toast('请输入评论内容');\r\n }\r\n if (this.toComment.id > 0) {\r\n this.forumSecondComment();\r\n return ;\r\n }\r\n params.reply_id = this.currentReply.id;\r\n params.forum_id = this.currentReply.forum_id;\r\n ForumService.commentReply(this.params).then(({ msg, data }) => {\r\n params.content = '';\r\n Toast(msg);\r\n data.detail.is_like = 0;\r\n data.detail.like_num = 0;\r\n data.detail.contentShort = (data.detail.content || '').substring(0, 50);\r\n if (!(/[+.wW]/.test(this.currentReply.children_num))) {\r\n this.currentReply.children_num += 1;\r\n }\r\n if(this.currentReply.hasOwnProperty('new_comment')){\r\n this.currentReply.new_comment = [data.detail, ...(this.currentReply.new_comment || [])];\r\n this.currentReply.children = [data.detail, ...(this.currentReply.children || [])];\r\n this.currentReply.children.length = Math.min(2, this.currentReply.children.length);\r\n\r\n this.currentReply.new_comment.length = Math.min(2, this.currentReply.new_comment.length);\r\n }else{\r\n this.currentReply.children = [data.detail, ...(this.currentReply.children || [])];\r\n this.currentReply.children.length = Math.min(2, this.currentReply.children.length);\r\n }\r\n // this.currentReply.children = [data.detail, ...(this.currentReply.children || [])];\r\n // this.currentReply.children.length = Math.min(2, this.currentReply.children.length);\r\n\r\n this.$emit(\"show\", false);\r\n this.$emit(\"success\", data.detail);\r\n });\r\n },\r\n forumSecondComment() {\r\n ForumService.forumSecondComment({\r\n id: this.toComment.id,\r\n content: this.params.content,\r\n }).then(({ msg, data }) => {\r\n this.params.content = '';\r\n Toast('回复成功');\r\n data.detail.is_like = 0;\r\n data.detail.like_num = 0;\r\n data.detail.contentShort = (data.detail.content || '').substring(0, 50);\r\n data.detail.parent_comment = this.toComment;\r\n if (!(/[+.wW]/.test(this.currentReply.children_num))) {\r\n this.currentReply.children_num += 1;\r\n }\r\n this.currentReply.children = [data.detail, ...(this.currentReply.children || [])];\r\n this.currentReply.children.length = Math.min(2, this.currentReply.children.length);\r\n\r\n this.$emit(\"show\", false);\r\n this.$emit(\"success\", data.detail);\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-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.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!./forum-post-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-post-comments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-post-comments.vue?vue&type=template&id=40638bbc&scoped=true&\"\nimport script from \"./forum-post-comments.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-post-comments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-post-comments.vue?vue&type=style&index=0&id=40638bbc&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 \"40638bbc\",\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\":\"99999999\"},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}},[_c('div',{staticClass:\"all-comments\"},[_c('div',{staticClass:\"all-comment-top\"},[_c('button',{staticClass:\"all-comment-top-btn\",attrs:{\"type\":\"button\"}},[_c('img',{attrs:{\"src\":require(\"../../assets/return-2.png\")}})]),_c('span',[_vm._v(\"全部评论\")])]),_c('div',{staticClass:\"all-comment-top-between\"},[_c('span',{staticClass:\"font-3\"},[_vm._v(\"评论 \"+_vm._s(_vm.total_num))])]),_c('ul',{ref:\"all-comments-content\",staticClass:\"all-comments-list\",on:{\"scroll\":function($event){_vm.scrollTop = _vm.$refs['all-comments-content'].scrollTop;}}},[_c('van-list',{attrs:{\"offset\":0,\"finished\":_vm.finished,\"finished-text\":_vm.list.length > 0 ? '没有更多了' : ''},on:{\"load\":_vm.getList},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}},_vm._l((_vm.list),function(item,index){return _c('li',{key:index,ref:`windowcomment_${item.id}`,refInFor:true},[(item.headimg)?_c('img',{staticClass:\"avatar\",attrs:{\"src\":item.headimg}}):_c('img',{staticClass:\"avatar\",attrs:{\"src\":require(\"../../assets/avatar.png\")}}),_c('div',{staticClass:\"comment-sidebar\"},[_c('div',{staticClass:\"comment-row-between\"},[_c('span',{staticClass:\"user-name\"},[_vm._v(_vm._s(item.name || '匿名用户'))]),_c('div',{staticClass:\"comment-row-right\"},[_c('button',{staticClass:\"hand-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.forumCommentTags(item)}}},[(item.is_like)?_c('img',{attrs:{\"src\":require(\"../../assets/icon-125active.png\")}}):_c('img',{attrs:{\"src\":require(\"../../assets/icon-125.png\")}}),_vm._v(\"\\n \"+_vm._s(item.like_num)+\"\\n \")]),_c('button',{staticClass:\"more-btn\",attrs:{\"type\":\"button\"}},[_c('img',{attrs:{\"src\":require(\"../../assets/icon-10.png\")}})])])]),_c('p',{staticClass:\"comment-msg\"},[(item.showAll)?_c('span',[_vm._v(_vm._s(item.content)+\" \")]):_c('span',[_vm._v(_vm._s(item.contentShort)+_vm._s(item.content.length > 50 ? '...' : '')+\" \")]),(item.content.length > 50 && !item.showAll)?_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$set(item, 'showAll', true)}}},[_vm._v(\"\\n 查看全文\\n \")]):_vm._e(),(item.content.length > 50 && item.showAll)?_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$set(item, 'showAll', false)}}},[_vm._v(\"\\n 收起\\n \")]):_vm._e(),_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();_vm.toComment = item; _vm.showPostComments = true}}},[_vm._v(\"回复\")])]),_c('p',{staticClass:\"comment-time\"},[_vm._v(_vm._s(item.create_at))]),(item.parent_comment && item.parent_comment.id > 0)?_c('div',{staticClass:\"reply-list\"},[_c('p',[_c('span',{staticClass:\"blue\"},[_vm._v(\"@\"+_vm._s(item.parent_comment.name || '游客'))]),_vm._v(\":\\n\\n \"),(item.parent_comment.showAll)?_c('span',[_vm._v(_vm._s(item.parent_comment.content)+\" \")]):_c('span',[_vm._v(_vm._s(item.parent_comment.contentShort)+_vm._s(item.parent_comment.content.length > 50 ? '...' : '')+\" \")]),(item.parent_comment.content.length > 50 && !item.parent_comment.showAll)?_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$set(item.parent_comment, 'showAll', true)}}},[_vm._v(\"\\n 查看全文\\n \")]):_vm._e(),(item.parent_comment.content.length > 50 && item.parent_comment.showAll)?_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$set(item.parent_comment, 'showAll', false)}}},[_vm._v(\"\\n 收起\\n \")]):_vm._e(),_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();_vm.toComment = item.parent_comment; _vm.showPostComments = true}}},[_vm._v(\"回复\")]),_c('span',{staticClass:\"font-color-blue\",on:{\"click\":function($event){$event.stopPropagation();return _vm.goParent(item.parent_comment.id)}}},[_vm._v(\" 跳转\")])])]):_vm._e()])])}),0)],1),_c('div',{staticClass:\"all-comments-bottom\"},[_c('div',{staticStyle:{\"flex\":\"1\"},on:{\"click\":function($event){_vm.toComment = {id: 0, name: ''}; _vm.showPostComments = true}}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.sendParams.content),expression:\"sendParams.content\"}],staticClass:\"comment-input\",attrs:{\"type\":\"text\",\"placeholder\":\"发布一条友善的评论\",\"disabled\":\"\"},domProps:{\"value\":(_vm.sendParams.content)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.sendParams, \"content\", $event.target.value)}}})]),_c('button',{staticClass:\"release-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.submit()}}},[_vm._v(\"发布\")])])])]),_c('forum-post-comments',{attrs:{\"currentReply\":_vm.currentReply,\"toComment\":_vm.toComment},on:{\"success\":_vm.postSuccess},model:{value:(_vm.showPostComments),callback:function ($$v) {_vm.showPostComments=$$v},expression:\"showPostComments\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.scrollTop >= 300),expression:\"scrollTop >= 300\"}],staticClass:\"top-float\",staticStyle:{\"z-index\":\"99999\"},on:{\"click\":function($event){$event.stopPropagation();_vm.$refs['all-comments-content'].scrollTop = 0}}},[_c('img',{attrs:{\"src\":require(\"../../assets/top-icon.png\")}})])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 论坛-问题详情 -->\r\n<template>\r\n <div>\r\n <van-popup v-model=\"value\" round position=\"bottom\" z-index=\"99999999\">\r\n <div class=\"all-comments\">\r\n <div class=\"all-comment-top\">\r\n <button type=\"button\" class=\"all-comment-top-btn\"><img src=\"../../assets/return-2.png\"></button>\r\n <span>全部评论</span>\r\n </div>\r\n <div class=\"all-comment-top-between\">\r\n <span class=\"font-3\">评论 {{ total_num }}</span>\r\n<!-- <ul class=\"switch-tab-list\">-->\r\n<!-- <li class=\"active\">默认</li>-->\r\n<!-- <li>最新</li>-->\r\n<!-- </ul>-->\r\n </div>\r\n <ul class=\"all-comments-list\" ref=\"all-comments-content\" @scroll=\"scrollTop = $refs['all-comments-content'].scrollTop;\">\r\n <van-list\r\n :offset=\"0\"\r\n v-model=\"loading\"\r\n :finished=\"finished\"\r\n :finished-text=\"list.length > 0 ? '没有更多了' : ''\"\r\n @load=\"getList\"\r\n >\r\n <li v-for=\"(item, index) in list\" :key=\"index\" :ref=\"`windowcomment_${item.id}`\">\r\n <img :src=\"item.headimg\" class=\"avatar\" v-if=\"item.headimg\">\r\n <img src=\"../../assets/avatar.png\" class=\"avatar\" v-else>\r\n <div class=\"comment-sidebar\">\r\n <div class=\"comment-row-between\">\r\n <span class=\"user-name\">{{ item.name || '匿名用户' }}</span>\r\n <div class=\"comment-row-right\">\r\n <button type=\"button\" class=\"hand-btn\" @click=\"forumCommentTags(item)\">\r\n <img src=\"../../assets/icon-125active.png\" v-if=\"item.is_like\">\r\n <img src=\"../../assets/icon-125.png\" v-else>\r\n {{ item.like_num }}\r\n </button>\r\n <button type=\"button\" class=\"more-btn\">\r\n <img src=\"../../assets/icon-10.png\">\r\n </button>\r\n </div>\r\n </div>\r\n <p class=\"comment-msg\">\r\n <span v-if=\"item.showAll\">{{ item.content }} </span>\r\n <span v-else>{{ item.contentShort }}{{item.content.length > 50 ? '...' : ''}} </span>\r\n <span class=\"font-color-blue\"\r\n @click.stop=\"$set(item, 'showAll', true)\"\r\n v-if=\"item.content.length > 50 && !item.showAll\"\r\n >\r\n 查看全文\r\n </span>\r\n <span class=\"font-color-blue\"\r\n @click.stop=\"$set(item, 'showAll', false)\"\r\n v-if=\"item.content.length > 50 && item.showAll\"\r\n >\r\n 收起\r\n </span>\r\n <span class=\"font-color-blue\" @click.stop=\"toComment = item; showPostComments = true\">回复</span>\r\n </p>\r\n <p class=\"comment-time\">{{ item.create_at }}</p>\r\n <div class=\"reply-list\" v-if=\"item.parent_comment && item.parent_comment.id > 0\">\r\n <p>\r\n <span class=\"blue\">@{{ item.parent_comment.name || '游客' }}</span>:\r\n\r\n <span v-if=\"item.parent_comment.showAll\">{{ item.parent_comment.content }} </span>\r\n <span v-else>{{ item.parent_comment.contentShort }}{{item.parent_comment.content.length > 50 ? '...' : ''}} </span>\r\n\r\n <span class=\"font-color-blue\"\r\n @click.stop=\"$set(item.parent_comment, 'showAll', true)\"\r\n v-if=\"item.parent_comment.content.length > 50 && !item.parent_comment.showAll\"\r\n >\r\n 查看全文\r\n </span>\r\n <span class=\"font-color-blue\"\r\n @click.stop=\"$set(item.parent_comment, 'showAll', false)\"\r\n v-if=\"item.parent_comment.content.length > 50 && item.parent_comment.showAll\"\r\n >\r\n 收起\r\n </span>\r\n <span class=\"font-color-blue\" @click.stop=\"toComment = item.parent_comment; showPostComments = true\">回复</span>\r\n <span class=\"font-color-blue\" @click.stop=\"goParent(item.parent_comment.id)\"> 跳转</span>\r\n </p>\r\n </div>\r\n </div>\r\n </li>\r\n </van-list>\r\n </ul>\r\n <div class=\"all-comments-bottom\">\r\n <div style=\"flex: 1\" @click=\"toComment = {id: 0, name: ''}; showPostComments = true\">\r\n <input\r\n type=\"text\"\r\n class=\"comment-input\"\r\n v-model=\"sendParams.content\"\r\n placeholder=\"发布一条友善的评论\"\r\n disabled\r\n />\r\n </div>\r\n <button type=\"button\" class=\"release-btn\" @click=\"submit()\">发布</button>\r\n </div>\r\n </div>\r\n </van-popup>\r\n\r\n <forum-post-comments v-model=\"showPostComments\" :currentReply=\"currentReply\" :toComment=\"toComment\" @success=\"postSuccess\"/>\r\n\r\n <div\r\n class=\"top-float\"\r\n style=\"z-index: 99999;\"\r\n v-show=\"scrollTop >= 300\"\r\n @click.stop=\"$refs['all-comments-content'].scrollTop = 0\"\r\n >\r\n <img src=\"../../assets/top-icon.png\">\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport ForumPostComments from \"@/components/forum/forum-post-comments\";\r\nimport {ForumService} from \"@/common/service\";\r\nimport {Toast} from \"vant\";\r\nexport default {\r\n components: {ForumPostComments},\r\n model: {\r\n prop: \"show\",\r\n event: \"show\"\r\n },\r\n props: {\r\n show: {\r\n default: false,\r\n },\r\n currentReply: {\r\n default: {},\r\n }\r\n },\r\n computed: {\r\n value: {\r\n get() {\r\n return this.show;\r\n },\r\n set(val) {\r\n this.$emit(\"show\", val);\r\n }\r\n },\r\n },\r\n watch: {\r\n currentReply() {\r\n this.init();\r\n },\r\n },\r\n data() {\r\n return {\r\n showPostComments: false,\r\n\r\n userInfo: {},\r\n\r\n params: {\r\n reply_id: 0, // 是否推荐0否1是\r\n page: 1, // 页数\r\n page_num: 10, // 每页数\r\n },\r\n list: [],\r\n loading: false,\r\n finished: false,\r\n total_num: 0,\r\n\r\n sendParams: {\r\n content: '',\r\n reply_id: 0,\r\n },\r\n toComment: {\r\n id: 0,\r\n name: '',\r\n },\r\n\r\n scrollTop: 0,\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 methods: {\r\n goParent(id) {\r\n Toast.loading({\r\n duration: 0,\r\n forbidClick: true,\r\n message: '加载中..',\r\n });\r\n const go = () => {\r\n const parentDom = this.$refs[`windowcomment_${id}`][0];\r\n if (!parentDom) {\r\n Toast.clear();\r\n console.log('未找到');\r\n }\r\n this.$refs['all-comments-content'].scrollTop = parentDom.offsetTop - this.$refs['all-comments-content'].offsetTop;\r\n Toast.clear();\r\n };\r\n\r\n const getComment = () => {\r\n const ids = this.list.map(item => item.id);\r\n if (ids.includes(id)) {\r\n if (this.finished) {\r\n go();\r\n } else {\r\n go();\r\n // this.getList().then(() => go());\r\n }\r\n return;\r\n }\r\n this.getList().then(() => {\r\n getComment();\r\n });\r\n };\r\n getComment();\r\n },\r\n postSuccess(detail) {\r\n this.list.unshift(detail);\r\n },\r\n submit() {\r\n const params = this.sendParams;\r\n params.reply_id = this.currentReply.id;\r\n if (params.content.length === 0) {\r\n return Toast('请输入评论内容');\r\n }\r\n params.reply_id = this.currentReply.id;\r\n ForumService.commentReply(params).then(({ msg, data }) => {\r\n params.content = '';\r\n Toast(msg);\r\n data.detail['like_num'] = 0;\r\n this.list.unshift(data.detail);\r\n if (!(/[+.wW]/.test(this.total_num))) {\r\n this.total_num += 1;\r\n }\r\n if(this.currentReply.hasOwnProperty('new_comment')){\r\n this.currentReply.new_comment = [data.detail, ...(this.currentReply.new_comment || [])];\r\n this.currentReply.new_comment.length = Math.min(2, this.currentReply.new_comment.length);\r\n }else{\r\n this.currentReply.children = [data.detail, ...(this.currentReply.children || [])];\r\n this.currentReply.children.length = Math.min(2, this.currentReply.children.length);\r\n }\r\n \r\n\r\n this.$emit('addComment', {\r\n data: data.detail,\r\n total_num: this.total_num,\r\n });\r\n });\r\n },\r\n // 评论点赞\r\n forumCommentTags(item) {\r\n ForumService.forumTags({like_id: item.id}).then(({ msg, data }) => {\r\n Toast(msg);\r\n this.$set(item, 'is_like', data.tags);\r\n if (!(/[+.wW]/.test(item.like_num))) {\r\n this.$set(item, 'like_num', item.like_num + (data.tags === 1 ? 1 : -1));\r\n }\r\n });\r\n },\r\n init() {\r\n this.params.page = 1;\r\n this.list = [];\r\n this.loading = false;\r\n this.finished = false;\r\n this.getList();\r\n },\r\n // 获取列表\r\n getList() {\r\n if ( !this.currentReply.id ) {\r\n return;\r\n }\r\n this.loading = true;\r\n this.params.reply_id = this.currentReply.id;\r\n this.params.forum_id = this.currentReply.forum_id;\r\n return ForumService.getReplyCommentList(this.params).then(({data}) => {\r\n this.total_num = data.total_num;\r\n const list = data.list.map(item => {\r\n item.contentShort = item.content.substring(0, 50);\r\n if (item.parent_comment && item.parent_comment.id > 0) {\r\n item.parent_comment.contentShort = item.parent_comment.content.substring(0, 50);\r\n }\r\n return item;\r\n });\r\n this.list = this.params.page === 1 ? list : [...this.list, ...list];\r\n if (list.length < this.params.page_num) {\r\n this.finished = true;\r\n } else {\r\n this.params.page++;\r\n }\r\n }).catch(() => {\r\n this.finished = true;\r\n }).finally(() => {\r\n this.loading = false;\r\n });\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.more-btn {\r\n width: 16px;\r\n height: 16px;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n margin-left: 10px;\r\n}\r\n\r\n.more-btn>img {\r\n height: 3px;\r\n}\r\n\r\n.hand-btn {\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 12px;\r\n}\r\n\r\n.hand-btn>img {\r\n width: 14px;\r\n margin-right: 6px;\r\n}\r\n\r\n\r\n.comment-list>li {\r\n width: 100%;\r\n display: flex;\r\n align-items: flex-start;\r\n padding: 9px 0;\r\n border-bottom: 1px solid #F2F2F2;\r\n box-sizing: border-box;\r\n}\r\n\r\n.comment-list>li:last-of-type {\r\n border-bottom: none;\r\n}\r\n\r\n.avatar {\r\n width: 28px;\r\n height: 28px;\r\n border-radius: 50%;\r\n margin-right: 10px;\r\n}\r\n\r\n.comment-sidebar {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.comment-row-between {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-bottom: 4px;\r\n}\r\n\r\n.user-name {\r\n color: #222222;\r\n font-size: 13px;\r\n font-weight: bold;\r\n}\r\n\r\n.comment-row-right {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.comment-msg {\r\n width: 100%;\r\n color: #666666;\r\n font-size: 13px;\r\n margin-bottom: 6px;\r\n}\r\n\r\n.comment-time {\r\n width: 100%;\r\n color: #666666;\r\n font-size: 12px;\r\n}\r\n\r\n.comment-input {\r\n width: 100%;\r\n height: 32px;\r\n line-height: 32px;\r\n background-color: #F3F3F3;\r\n border-radius: 50px;\r\n padding: 0 12px;\r\n box-sizing: border-box;\r\n font-size: 13px;\r\n pointer-events: none;\r\n}\r\n\r\n.comment-input::placeholder {\r\n color: #999999;\r\n}\r\n\r\n.mask-layer {\r\n width: 100%;\r\n height: 100vh;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 10000;\r\n background: rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n.all-comments {\r\n width: 100%;\r\n height: 88vh;\r\n /*position: fixed;*/\r\n /*bottom: 0;*/\r\n /*left: 0;*/\r\n /*z-index: 11000;*/\r\n background-color: #FFFFFF;\r\n border-radius: 12px 12px 0 0;\r\n}\r\n\r\n.all-comment-top {\r\n width: 100%;\r\n height: 55px;\r\n line-height: 55px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color: #222222;\r\n font-size: 18px;\r\n font-weight: bold;\r\n position: relative;\r\n}\r\n\r\n.all-comment-top-btn {\r\n padding: 0 19px;\r\n position: absolute;\r\n left: 0;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n}\r\n\r\n.all-comment-top-btn>img {\r\n width: 7px;\r\n}\r\n\r\n.all-comment-top-between {\r\n width: 100%;\r\n height: 26px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n margin-bottom: 20px;\r\n}\r\n\r\n.font-3 {\r\n font-size: 15px;\r\n font-weight: bold;\r\n color: #222222;\r\n}\r\n\r\n.switch-tab-list {\r\n width: fit-content;\r\n height: 26px;\r\n display: flex;\r\n align-items: center;\r\n background-color: #F4F4F4;\r\n border-radius: 50px;\r\n padding: 0 2px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.switch-tab-list>li {\r\n width: 50px;\r\n height: 22px;\r\n line-height: 22px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border-radius: 50px;\r\n background-color: #F4F4F4;\r\n color: #888888;\r\n font-size: 13px;\r\n}\r\n\r\n.switch-tab-list>li.active {\r\n background-color: #FFFFFF;\r\n color: #222222;\r\n font-size: 13px;\r\n font-weight: bold;\r\n}\r\n\r\n.all-comments-bottom {\r\n width: 100%;\r\n height: 83px;\r\n display: flex;\r\n align-items: center;\r\n position: absolute;\r\n bottom: 0;\r\n left: 0;\r\n background-color: #FFFFFF;\r\n padding-left: 15px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.comment-input {\r\n flex: 1;\r\n height: 38px;\r\n line-height: 38px;\r\n background-color: #F3F3F3;\r\n border-radius: 50px;\r\n padding: 0 18px;\r\n box-sizing: border-box;\r\n font-size: 15px;\r\n}\r\n\r\n.comment-input::placeholder {\r\n color: #999999;\r\n}\r\n\r\n.release-btn {\r\n height: 38px;\r\n line-height: 38px;\r\n padding: 0 15px;\r\n margin-left: 4px;\r\n color: #2A63F3;\r\n font-size: 15px;\r\n}\r\n\r\n.all-comments-list {\r\n width: calc(100% - 30px);\r\n height: calc(100vh - 184px);\r\n overflow-y: auto;\r\n padding: 0 15px calc(100vh - 310px);\r\n box-sizing: border-box;\r\n}\r\n\r\n\r\n.all-comments-list li {\r\n width: 100%;\r\n display: flex;\r\n align-items: flex-start;\r\n margin-bottom: 14px;\r\n}\r\n\r\n.reply-list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.reply-list>p {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 13px;\r\n margin-top: 6px;\r\n border-left: 1px solid #F3F3F3;\r\n padding: 0 4px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.reply-list>p>span.blue {\r\n color: #2A63F3;\r\n}\r\n\r\n.post-comments-mask-layer {\r\n width: 100%;\r\n height: 100vh;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 11100;\r\n background: rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n.post-comments-window {\r\n width: 100%;\r\n position: fixed;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 11110;\r\n background-color: #FFFFFF;\r\n border-radius: 12px 12px 0 0;\r\n}\r\n\r\n.post-comments-row-between {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 20px 15px 20px 20px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.post-comments-input {\r\n flex: 1;\r\n font-size: 14px;\r\n}\r\n\r\n.post-comments-input::placeholder {\r\n color: #999999;\r\n}\r\n\r\n.post-comments-icon {\r\n width: 16px;\r\n}\r\n\r\n.post-comments-btn {\r\n width: 100%;\r\n height: 36px;\r\n line-height: 36px;\r\n background-color: #F3F3F3;\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n font-size: 15px;\r\n color: #2A63F3;\r\n font-weight: bold;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n}\r\n\r\n.font-color-blue{\r\n color: #2A63F3;\r\n margin-left: 3px;\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-all-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-all-comments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forum-all-comments.vue?vue&type=template&id=271214bc&scoped=true&\"\nimport script from \"./forum-all-comments.vue?vue&type=script&lang=js&\"\nexport * from \"./forum-all-comments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forum-all-comments.vue?vue&type=style&index=0&id=271214bc&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 \"271214bc\",\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!./forum-all-comments.vue?vue&type=style&index=0&id=271214bc&prod&scoped=true&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAADRRJREFUeF7tnAtMFNsZx88My75YUMpDA1SrrVTk+mi1jRWwVu/FttZaNUoN0VgfteitD2yQEhVfF0EjKrXSFF+h2Vg1aK21Fq65tTw0abH1cTdatYkPJAqi8lj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U4OTFCNTlFRkU2OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowRTFFODBEQUVCQjkxMUVDQTVFNEU4OTFCNTlFRkU2OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhB3OGUAAACeSURBVHjapJExDgIhEEVnxo2JncVWwO3sLG1NNmTjHVYKPR2U6gUE/MQ1YbeUn/zAnzySYYattTut9SWldCCiNzyFECwzR6qE3MR1SqkRxVPFno0xUs6qVnITx865F8KelnrAfd0o/GzhZP7eWpv50U8Zji2cYKYTLmk15xt/RZWvLVznvbdYXunkCG9F5I7lDTnnBYw8gIv/ch8BBgDujmRSgJRA1wAAAABJRU5ErkJggg==\"","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!./comments-popup.vue?vue&type=style&index=0&id=66f46990&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('div',{staticClass:\"normal-box-small\"},[(_vm.hideImg)?_c('img',{attrs:{\"src\":require(\"../assets/normal.png\")}}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.text)+\"\\n\")]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"normal-box-small\" v-if=\"show\">\r\n <img src=\"../assets/normal.png\" v-if=\"hideImg\">\r\n {{ text }}\r\n </div>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'normal-box',\r\n props: {\r\n show: {\r\n default: false,\r\n },\r\n text: {\r\n default: '暂无数据',\r\n },\r\n hideImg: {\r\n default: true,\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.normal-box-small {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n font-size: 14px;\r\n color: #999992;\r\n padding: 50px 0;\r\n}\r\n\r\n.normal-box-small > img {\r\n width: 150px;\r\n margin-bottom: 9px;\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!./normal-box.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!./normal-box.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./normal-box.vue?vue&type=template&id=51f5bfbc&scoped=true&\"\nimport script from \"./normal-box.vue?vue&type=script&lang=js&\"\nexport * from \"./normal-box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./normal-box.vue?vue&type=style&index=0&id=51f5bfbc&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 \"51f5bfbc\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAA2CAMAAACRK2tAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+ID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JycqGhocjIyMvLy9zc3Orq6qurq8zMzJycnKampn5+fsTExNHR0Xx8fJSUlKqqqpiYmKWlpePj4/b29tXV1c7Oztvb25WVlcPDw5mZmW1tbe7u7nNzc39/f2xsbImJiY2NjWtra/X19fDw8PLy8uDg4IyMjHV1denp6Xp6end3d2lpadjY2IKCgrW1tebm5pqamp2dneTk5Ovr69LS0uzs7NPT07S0tIWFhc3NzaKiorm5ud3d3ba2toaGhsfHxy4OynMAAAEkSURBVHjanNXXUsMwEAXQlWM7vQOh9957JyGhhBr+/28IYXfGD1e+DHo9OyPZursS8a5Ss3kqKWstdq7y6PevjBuuOPL55sidG/N4Nv/rbhz7u7K7x942P8RHKJvnitAXzDdC6EvmWwXEQd28G0CfNK9DLyyaT8Htw3nzCejFnHkZenRu3oa+cmBehX48UM5ncXzu1DMz0E/2zBvQd+bUb1rQn67Uj2ahX16r769C71yob99C79XUKzig4bR6fIbzt66+uyz/LKBbJA754algn8l/lMgD+dXJy3r1VLDr5oEZRu4lPXI8tMnYf3oqWOPw1uPNm2z/t8BTQQYIH0F/GGJ8DIr0ySAVqZJRzIc5fw5EGqOKWkSepOe0R6vU+nnUvgUYAF4wF9G/TasaAAAAAElFTkSuQmCC\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _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:\"allComments-window\"},[_c('div',{staticClass:\"allComments-window-top\"},[_vm._v(\"\\n 全部评论\\n \"),_c('button',{staticClass:\"allComments-window-close\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.show = false}}},[_c('img',{attrs:{\"src\":require(\"../assets/icon-106.png\"),\"alt\":\"\"}})])])]),_c('div',{staticClass:\"comment-list-fixed-height\"},[(_vm.show)?_c('comments',{ref:\"comments\",attrs:{\"switchShow\":true,\"type\":_vm.type,\"switch-val\":_vm.switchVal,\"fixed-list-height\":true},on:{\"switchChange\":_vm.switchChange,\"append\":function($event){return _vm.$emit('append', $event)},\"delComment\":function($event){return _vm.$emit('delComment', $event)},\"likeComment\":function($event){return _vm.$emit('likeComment', $event)}}}):_vm._e()],1),_c('div',{staticClass:\"allComments-window-bottom\",on:{\"click\":function($event){return _vm.$refs.comments.commentPostShow()}}},[_c('div',{staticClass:\"allComments-window-input-box\"},[_c('input',{staticClass:\"allComments-window-input\",attrs:{\"placeholder\":\"发布一条友善的评论\",\"disabled\":\"\"}})]),_c('button',{staticClass:\"allComments-window-bottom-btn\",attrs:{\"type\":\"button\"}},[_vm._v(\"发布\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 全部评论 -->\r\n<template>\r\n <van-popup v-model=\"show\" round position=\"bottom\" z-index=\"999999999\">\r\n <div class=\"allComments-window\">\r\n <div class=\"allComments-window-top\">\r\n 全部评论\r\n <button type=\"button\" class=\"allComments-window-close\" @click=\"show = false\">\r\n <img src=\"../assets/icon-106.png\" alt=\"\">\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"comment-list-fixed-height\">\r\n <comments\r\n :switchShow=\"true\"\r\n :type=\"type\"\r\n v-if=\"show\"\r\n ref=\"comments\"\r\n :switch-val=\"switchVal\"\r\n :fixed-list-height=\"true\"\r\n @switchChange=\"switchChange\"\r\n @append=\"$emit('append', $event)\"\r\n @delComment=\"$emit('delComment', $event)\"\r\n @likeComment=\"$emit('likeComment', $event)\"\r\n />\r\n </div>\r\n\r\n <div class=\"allComments-window-bottom\" @click=\"$refs.comments.commentPostShow()\">\r\n <div class=\"allComments-window-input-box\">\r\n <input class=\"allComments-window-input\" placeholder=\"发布一条友善的评论\" disabled/>\r\n </div>\r\n <button type=\"button\" class=\"allComments-window-bottom-btn\">发布</button>\r\n </div>\r\n </van-popup>\r\n</template>\r\n\r\n<script>\r\nimport Comments from \"@/components/comments.vue\";\r\n\r\nexport default {\r\n name: 'comments-popup',\r\n components: {Comments},\r\n props: {\r\n switchVal: {\r\n default: 0,\r\n },\r\n switchShow:{\r\ndefault:true\r\n },\r\n type: {\r\n default: '',\r\n },\r\n },\r\n watch: {\r\n switchVal() {\r\n this.checked = this.switchVal;\r\n },\r\n },\r\n data() {\r\n return {\r\n checked: 0,\r\n show: false,\r\n };\r\n },\r\n methods: {\r\n switchChange(){\r\n this.$emit('switchChange', 1)\r\n },\r\n showFn(option) {\r\n this.show = true;\r\n this.$nextTick(() => {\r\n this.$refs.comments.init({\r\n ...option,\r\n fixedListHeight: true,\r\n });\r\n });\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.allComments-window {\r\n width: 100%;\r\n padding: 0 12px 0;\r\n box-sizing: border-box;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.allComments-window-top {\r\n width: 100%;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 18px 0 0;\r\n margin-bottom: 4px;\r\n color: #222222;\r\n font-size: 18px;\r\n font-weight: bold;\r\n position: relative;\r\n}\r\n\r\n.allComments-window-close {\r\n position: absolute;\r\n right: 0;\r\n top: 18px\r\n}\r\n\r\n.allComments-window-close > img {\r\n width: 18px;\r\n}\r\n\r\n.allComments-window-bottom {\r\n width: 100%;\r\n height: 83px;\r\n padding-top: 8px;\r\n box-sizing: border-box;\r\n display: flex;\r\n align-items: flex-start;\r\n}\r\n\r\n.allComments-window-input-box {\r\n flex: 1;\r\n margin-left: 12px;\r\n background-color: #F3F3F3;\r\n height: 36px;\r\n padding: 0 16px;\r\n box-sizing: border-box;\r\n border-radius: 50px;\r\n}\r\n\r\n.allComments-window-input {\r\n flex: 1;\r\n height: 36px;\r\n line-height: 36px;\r\n font-size: 14px;\r\n border-radius: 50px;\r\n pointer-events: none;\r\n}\r\n\r\n.allComments-window-input::placeholder {\r\n color: #999999;\r\n}\r\n\r\n.allComments-window-bottom-btn {\r\n height: 36px;\r\n line-height: 36px;\r\n padding: 0 12px;\r\n font-size: 16px;\r\n font-weight: bold;\r\n color: #2A63F3;\r\n}\r\n\r\n.comment-list-fixed-height {\r\n height: calc(100vh - 250px + 39px);\r\n overflow: hidden;\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!./comments-popup.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!./comments-popup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./comments-popup.vue?vue&type=template&id=66f46990&scoped=true&\"\nimport script from \"./comments-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./comments-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./comments-popup.vue?vue&type=style&index=0&id=66f46990&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 \"66f46990\",\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!./normal-box.vue?vue&type=style&index=0&id=51f5bfbc&prod&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/normal.bfd5e89f.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII=\""],"sourceRoot":""}
|