chunk-03250031.5db8bcf8.js.map 66 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/icon/dianzan_fill_blue.png","webpack:///./src/assets/icon/jubao_border_grey.png","webpack:///./src/components/module/overflow-content.vue?d4df","webpack:///./src/assets/icon/huifu_border_blue.png","webpack:///./src/components/module/comment.vue?3560","webpack:///./src/assets/icon/huifu_border_grey.png","webpack:///./src/assets/icon/dianzan_border_grey.png","webpack:///./src/components/module/report.vue","webpack:///src/components/module/report.vue","webpack:///./src/components/module/report.vue?d995","webpack:///./src/components/module/report.vue?9b14","webpack:///./src/assets/icon/shanchu.png","webpack:///./src/assets/icon/tiaozhuan.png","webpack:///./src/components/module/report.vue?9ee5","webpack:///./src/components/module/comment.vue","webpack:///./src/components/card/comment-detail-card.vue","webpack:///./src/components/module/overflow-content.vue","webpack:///src/components/module/overflow-content.vue","webpack:///./src/components/module/overflow-content.vue?798e","webpack:///./src/components/module/overflow-content.vue?45d7","webpack:///./src/components/module/delete.vue","webpack:///src/components/module/delete.vue","webpack:///./src/components/module/delete.vue?e788","webpack:///./src/components/module/delete.vue?8b09","webpack:///src/components/card/comment-detail-card.vue","webpack:///./src/components/card/comment-detail-card.vue?bfb0","webpack:///./src/components/card/comment-detail-card.vue?d878","webpack:///src/components/module/comment.vue","webpack:///./src/components/module/comment.vue?d567","webpack:///./src/components/module/comment.vue?d537","webpack:///./src/components/card/comment-detail-card.vue?f077","webpack:///./src/components/module/delete.vue?3530"],"names":["module","exports","render","_vm","this","_c","_self","visible","attrs","_","$emit","on","$event","staticClass","_l","reportCase","item","_v","_s","title","children","child","handleRadio","class","select","reportIds","includes","id","_e","directives","name","rawName","value","reportContent","expression","domProps","target","composing","slot","staticStyle","report","staticRenderFns","props","type","Boolean","default","info","Object","Number","model","prop","event","data","computed","$store","state","methods","indexOf","push","splice","_this","filter","length","$message","error","report_id","video_id","datum_id","article_id","params","case_ids","join","content","ReportService","userReport","then","_ref","msg","success","component","total_num","userInfo","headimg","require","expand","hideSendBox","style","opacity","isSend","handlePost","sort_type","changeSwitch","list","key","ref","refInFor","option","reportType","handleJump","handleReply","handleDelete","finished","getList","childHeadimg","isChild","comment","childTitle","is_top","create_at","slice","send","handleTags","is_like","like_num","reportVisible","can_delete","deleteVisible","concat","parent_comment","_g","$listeners","callback","$$v","isOverflow","hide","show","String","mounted","valueWidth","$refs","scrollWidth","contentWidth","offsetWidth","components","OverflowContent","Report","Delete","listApi","likeApi","postApi","postReplyApi","delApi","tags","_this2","_ref2","detail","_this3","_ref3","CommentDetailCard","page","page_num","init","setTimeout","comment_detail","_objectSpread","unshift","box","offsetTop","window","scrollTo","i","j"],"mappings":"mGAAAA,EAAOC,QAAU,0lB,4CCAjBD,EAAOC,QAAU,80B,oCCAjB,W,qBCAAD,EAAOC,QAAU,smB,6DCAjB,W,qBCAAD,EAAOC,QAAU,8jB,qECAjBD,EAAOC,QAAU,0qB,0DCAbC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,QAASF,EAAG,YAAY,CAACG,MAAM,CAAC,OAAS,GAAG,MAAQ,UAAU,MAAQ,QAAQ,iBAAiB,GAAG,QAAUL,EAAII,QAAQ,eAAe,SAACE,GAAC,OAAKN,EAAIO,MAAM,WAAW,KAAQC,GAAG,CAAC,iBAAiB,SAASC,GAAQT,EAAII,QAAQK,KAAU,CAACP,EAAG,MAAM,CAACQ,YAAY,UAAU,CAACV,EAAIW,GAAIX,EAAIY,YAAY,SAASC,GAAM,OAAOX,EAAG,MAAM,CAACQ,YAAY,eAAe,CAACR,EAAG,MAAM,CAACQ,YAAY,SAAS,CAACV,EAAIc,GAAGd,EAAIe,GAAGF,EAAKG,UAAUd,EAAG,MAAM,CAACQ,YAAY,gBAAgBV,EAAIW,GAAIE,EAAKI,UAAU,SAASC,GAAO,OAAOhB,EAAG,MAAM,CAACQ,YAAY,gBAAgBF,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAImB,YAAYD,M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A,SAAAmG,GAMA,OALAA,EAAA5I,SACA4I,EAAA5I,UACA4I,EAAA5I,SAAAyC,QAAA,SAAAoG,GACA,OAAAA,EAAAtI,IAAAX,EAAAW,MAEAqI,EAAArI,IAAAX,EAAAW,SC5MgW,ICQ5V,G,UAAY,eACd,EACAzB,EACAuC,GACA,EACA,KACA,WACA,OAIa,S,2CCnBf,W,kCCAA,W","file":"js/chunk-03250031.5db8bcf8.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAWhJREFUOE+t1D1Lw1AUxvH/SatNXFzq4gs6iYOizi5K0VlrKuLiIPgRxK8g4gfQQQS7JVVxLg4Ojgq+IKUIDk7O2jaW5koV6Ytp04bc8dzz/Ljk3Fwh5CUdeUk1jFaYQUVyZPR8u4w/aDopcNNAL1BGxMTSL1uh7cF5FSXuvIIaqgNusI25YKBZTADZhrDikYwxFQxcLR0iarsxrM6x+5LdgyvOJBH3FuhpDGu72LG9zsCUihAlTvlrAdwDYPBfUGSJj9j1T30ElyMp1/fUhrLmLOO6J0B/R1fpt0mh5A6NDSw9Vy3UQLP0DGqiC6zWKmSxjMUmsPgODAQCIY9tjIcJHmMbW+GBQgLLuAoLfMPWR0HccECRfSx95+/b1005yFBEITKNFXvwAu+Blv+o5/RFbCw95X2xzUIKtDSo6jPltxSiztCNTU7l0xusVteLY1S0WVQl2lIUzaHMExf6i1eP/wPrd9am/W8VUGkVx2Ud3QAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAiBJREFUOE+tlD+IU0EQxmfCSxEVsTBYiIIWehdNYmb3GYKNxXnmtBDBP3CnWFhbiIVwjRwndiKiINhYiAo2CvaCImrIm415XKKVViIWUUQkIe+5I++4hJjkYoTbapnd7zff8u0uwhoOXEMW/AuGRHQKEbcCwCNm/jKq+UiYUmoBAIoiUkHE6SAI0r7v/1oNuCrMdd2d1tqS4zh7S6XSV631fRH5yMxX/humlHosIu+MMdciseu626y1JgzDfdVq9fMw4FBnWusDIvKg0WhMJJPJEyKS9jzvslJqEQC2M/O5cWGolHoLADeZ+aHW+raIHGXmHalUakMikfggIseMMdwPHHBGRHOIeIGZCwAgRHQVEY8wM0VirfV5a+1ZY8zBkbBCoZBot9vvY7HYbLlcfr0ivigiRWY+vCKOEZEBgAVjzJNe4F/OiGgeEbPMfLqziYjOIOIMM891aq7rTllr7zSbzT31er3dqXdh+Xx+SxiGS0EQ7Pd9/1MPbBIRdzPz014XSqlniPjc87wbAzCl1F1E/B6l1ieaBoA0M1/vq08AwItWqzVZq9W+RWvLzrLZ7C7HcV4CQOTgR58oum8zxphNAPC7d42IbiHiT2ae78KUUicBYJaZj/cnlMlk1sfj8Y3D3iURFQHgkjHmUC9sMwBECb2KOo3zk4hIdKopEVk0xtzrwqJJLpdLImIU/7pxYNEdFJGlSqXyZiCAMQEjt/0B9AbqE+QaypcAAAAASUVORK5CYII=\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./overflow-content.vue?vue&type=style&index=0&id=18de3e16&prod&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAXNJREFUOE/tk7FLAnEUx7/vNCG8Ky2iQmiJllPENRpyqT8gcCsQPAgamoMSCWoInBoi5BBxi4L+grAlmgIpvAoqCKIp0vBUkvP3ohPFSERo7c3f9+H7vnwf4Y9Drf1QlD31gdoKGg0VgNSVK0EAuHVZVjaf8Za+NTYgFC166k7nJQHvDJwz28JfQ2SD5wCMuyx5Np+hkg1QtfI6QEv4eF40jv31XlepkYKLlakcSTgydGXfBvi18gFDKhq6e7OfSFStskuAt6C715oOYuVDIumtoLu3+gH4tfIOC4wZaWX1H9DKQKskAJ4xdHm5rxBjZpaJHg3dvW2HGNDMoGA+A2hPsLiQ2PmjSKIx+GDWXqpD8miQJTFP4I0GUfhel6/bVQ5o5oJgTgDkA7izyiMEOmWCH8yTAJ6IES+klVy7yp221Qi76hPNig9/wlGzzCsQfAQkiw45+Zqiaqe+7aDr7WF2qtNmXDjo5C4l33T9j35C66X5AukQrxH9T2YDAAAAAElFTkSuQmCC\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./comment.vue?vue&type=style&index=0&id=5e5c4f8c&prod&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAVNJREFUOE/tkjFLA0EQhd/siqSLCiKS2uYECZdtxMJr9AdYay1YWAsaRNBCsLIQ63SC4C+Q2IjNzhEUkkb9BaJCIISD25E9kiNgCAe2Dkz35puZxyP8sWg4X61WZ7TWOwACIlLjuCLiAHTSNG20Wq1vr8kAg+EnEflUSj0MhL8YHuycWyOihTRNVz0kA9RqtX0R2er3+5vtdjuZ9FUQBNOlUqlJRDfMfDkEXBHRl7X2sIglxpgzEZll5r0MEIbhNYCPOI6PigDCMDxVSs1ba3f/AQMPjDHHIrLEzNtFTDTGNAC8WWtPhiauENE9gHPn3KNSyicuL631q9a6lySJ16075w4ARHEcP+dRNsZsiIi/pDIaZRGZU0rdicgygEUA7wDqzNzMozy6zSctSZIMXC6XNQAGUAFw4ZuZe6P6/IJxv0dRNNXtdusAbpn5ZZxmIqCIoT9b+60Rgd15VwAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAaZJREFUOE+tlD9oVEEQxr+Zd0YO49nYGGKTIshBPG7nXRtimUIiQiAiiAjpUgdExUIs0gm2WmkhVklh4Z/isH1vFjkSErVJHQTRpAnc25E9ziMEcx6X226Wb38738wwhBEdGhEHfUHOuasAXhDReQD3VXX9pI/7gRIR2QSwYWY7RPQcwKSq/voX7ERQmqb3zOwBgCuqGkTkNwBR1Z2BQdVqdaxcLn8nood5nr+q1+vzzPxSVS8DKPqCRORMURTnoqhUKt0NISx772cAxGzeAoj1ev8XQkQHIYTX3vvteNex1mg0pkIIHsCFI8JbeZ6/iRoReQrg7LFMLgK4DmBaVX90QGmaLpjZk6IoZmOcJMkuM89lWfal33g4574R0YqqfuiAROQGgMeqWu/GP5n52n9Asav7ZibR3tCgWq02nSRJq1KpjDebzfbQIOfcTSKKLmq9Yg9jTUQedWfs9qlAzrmPAN5575/1QN2urTHzUrwMIXxm5mUAX493zczGzGzRzO602+2ZVqu1dzSjSwA+AZgYYBscAlBmXs2ybKs3dwM8HEgysn30BwcnwRPOfLspAAAAAElFTkSuQmCC\"","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.visible)?_c('el-dialog',{attrs:{\"center\":\"\",\"title\":\"请选择举报理由\",\"width\":\"600px\",\"append-to-body\":\"\",\"visible\":_vm.visible,\"before-close\":(_) => _vm.$emit('visible', false)},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"report\"},[_vm._l((_vm.reportCase),function(item){return _c('div',{staticClass:\"report-item\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"children-box\"},_vm._l((item.children),function(child){return _c('div',{staticClass:\"children-item\",on:{\"click\":function($event){return _vm.handleRadio(child)}}},[_c('div',{staticClass:\"radio\",class:{ select: _vm.reportIds.includes(child.id) }},[(_vm.reportIds.includes(child.id))?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]),_c('div',{staticClass:\"label\"},[_vm._v(_vm._s(child.title))])])}),0)])}),(_vm.reportIds.includes('other'))?_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reportContent),expression:\"reportContent\"}],staticClass:\"report-content\",attrs:{\"placeholder\":\"请输入填写举报内容(必填)\"},domProps:{\"value\":(_vm.reportContent)},on:{\"input\":function($event){if($event.target.composing)return;_vm.reportContent=$event.target.value}}}):_vm._e()],2),_c('div',{staticClass:\"report-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){return _vm.$emit('visible', false)}}},[_vm._v(\"取 消\")]),_c('el-button',{staticStyle:{\"background-color\":\"#0054f7\",\"color\":\"white\"},on:{\"click\":_vm.report}},[_vm._v(\"确 定\")])],1)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <el-dialog\r\n v-if=\"visible\"\r\n center\r\n title=\"请选择举报理由\"\r\n width=\"600px\"\r\n append-to-body\r\n :visible.sync=\"visible\"\r\n :before-close=\"(_) => $emit('visible', false)\"\r\n >\r\n <div class=\"report\">\r\n <div class=\"report-item\" v-for=\"item in reportCase\">\r\n <div class=\"title\">{{ item.title }}</div>\r\n <div class=\"children-box\">\r\n <div\r\n class=\"children-item\"\r\n v-for=\"child in item.children\"\r\n @click=\"handleRadio(child)\"\r\n >\r\n <div\r\n class=\"radio\"\r\n :class=\"{ select: reportIds.includes(child.id) }\"\r\n >\r\n <i v-if=\"reportIds.includes(child.id)\" class=\"el-icon-check\"></i>\r\n </div>\r\n <div class=\"label\">{{ child.title }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <textarea\r\n v-if=\"reportIds.includes('other')\"\r\n v-model=\"reportContent\"\r\n class=\"report-content\"\r\n placeholder=\"请输入填写举报内容(必填)\"\r\n ></textarea>\r\n </div>\r\n <div slot=\"footer\" class=\"report-footer\">\r\n <el-button @click=\"$emit('visible', false)\">取 消</el-button>\r\n <el-button style=\"background-color: #0054f7; color: white\" @click=\"report\"\r\n >确 定</el-button\r\n >\r\n </div>\r\n </el-dialog>\r\n</template>\r\n\r\n<script>\r\nimport { ReportService } from \"@/common/service\";\r\n\r\nexport default {\r\n name: \"Report\",\r\n props: {\r\n visible: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n info: {\r\n type: Object,\r\n },\r\n type: {\r\n type: Number,\r\n },\r\n },\r\n model: {\r\n prop: \"visible\",\r\n event: \"visible\",\r\n },\r\n data() {\r\n return {\r\n reportIds: [],\r\n reportContent: \"\",\r\n };\r\n },\r\n computed: {\r\n reportCase() {\r\n return this.$store.state.report.reportCase;\r\n },\r\n },\r\n methods: {\r\n // 点击举报项目\r\n handleRadio(item) {\r\n this.reportIds.indexOf(item.id) == -1\r\n ? this.reportIds.push(item.id)\r\n : this.reportIds.splice(this.reportIds.indexOf(item.id), 1);\r\n },\r\n // 举报\r\n report() {\r\n if (!this.reportIds.filter((item) => item != \"other\").length)\r\n return this.$message.error(\"请选择举报类目\");\r\n if (this.reportIds.includes(\"other\") && !this.reportContent)\r\n return this.$message.error(\"请填写举报内容\");\r\n let report_id = 0;\r\n switch (this.type) {\r\n case 1:\r\n report_id = this.info.video_id;\r\n break;\r\n case 4:\r\n report_id = this.info.datum_id;\r\n break;\r\n case 5:\r\n report_id = this.info.article_id;\r\n break;\r\n default:\r\n report_id = this.info.id;\r\n }\r\n let params = {\r\n report_id,\r\n type: this.type,\r\n case_ids: this.reportIds.filter((item) => item != \"other\").join(\",\"),\r\n content: this.reportIds.includes(\"other\") ? this.reportContent : \"\",\r\n };\r\n ReportService.userReport(params).then(({ msg, data }) => {\r\n this.$message.success(msg);\r\n this.$emit(\"visible\", false);\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n::v-deep .el-dialog {\r\n z-index: 9999;\r\n}\r\n::v-deep .el-dialog__header .el-dialog__title {\r\n font-size: 20px;\r\n font-weight: 500;\r\n color: #333333;\r\n}\r\n::v-deep .el-dialog__body {\r\n padding-top: 5px;\r\n}\r\n.report {\r\n padding: 20px 0 50px;\r\n width: 100%;\r\n border-top: 1px solid #d8d8d8;\r\n display: flex;\r\n flex-direction: column;\r\n .report-item {\r\n margin-bottom: 40px;\r\n .title {\r\n font-size: 16px;\r\n font-weight: 400;\r\n margin-bottom: 20px;\r\n }\r\n .children-box {\r\n display: flex;\r\n flex-wrap: wrap;\r\n align-items: center;\r\n .children-item {\r\n display: flex;\r\n align-items: center;\r\n width: 25%;\r\n .radio {\r\n width: 16px;\r\n height: 16px;\r\n border: 1px solid #979797;\r\n border-radius: 50%;\r\n color: white;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n }\r\n .select {\r\n border-color: transparent;\r\n background-color: #2a63f3;\r\n }\r\n .label {\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n height: 16px;\r\n line-height: 16px;\r\n margin-left: 5px;\r\n }\r\n }\r\n }\r\n }\r\n .report-content {\r\n width: 100%;\r\n height: 120px;\r\n padding: 15px 10px;\r\n background: #f5f5f5;\r\n border-radius: 10px;\r\n border: none;\r\n outline: none;\r\n resize: none;\r\n box-sizing: border-box;\r\n font-size: 14px;\r\n\r\n ::placeholder {\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #666666;\r\n }\r\n }\r\n}\r\n.report-footer {\r\n .el-button {\r\n width: 120px;\r\n height: 40px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.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!./report.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./report.vue?vue&type=template&id=0387d88f&scoped=true&\"\nimport script from \"./report.vue?vue&type=script&lang=js&\"\nexport * from \"./report.vue?vue&type=script&lang=js&\"\nimport style0 from \"./report.vue?vue&type=style&index=0&id=0387d88f&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0387d88f\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAApVJREFUSEvtls9rU0EQx7/zkiJFQSFYLC0qgohg8W5vavUPEKMXD0Lc3USKoigqiKEHW/yFPyJ5u3ngwYsi/gFWvXrwJooogj+gErEe7KGKPrIjCy/hNfWlSchBoXt77Mx83u7MfmcISyxjzD5mPgNgBMCKBPNfAF4S0ZQQ4mGrkNRq0xhzjJmvL/VT8X0iOi6EuJHkkwgsl8sDnud9BNAPIARwF8C7hECbARwC0Afgp7V2Yz6f//o320Sg7/sHiOhe5HREShm0OqnWOgeg4myY+aBS6n4ikJmpWCwugA8ODioiuu2cPM9bNzMzM9sKODw8vNZa+yUCHq1Wq37cvlgsMhExGWOmmXk3gJb57CSPCbYO+IS01t8BrO5BwHZCzFEQBKO1Wm2HO6HneUPWWpdsVyS9WH2e5w1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OKc+xHH8Yler/c1CJbtwVvgpJntK8vy/Yo9EJEu8Kler7c7nc6vJYGIbAdChB+AQ6r6eU2bOBHHgAdszbfwP5f6G4nOqROCiOqNAAAAAElFTkSuQmCC\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./report.vue?vue&type=style&index=0&id=0387d88f&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"comment\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"评论 \"+_vm._s(_vm.total_num))]),_c('div',{staticClass:\"send\"},[_c('img',{staticClass:\"headimg\",attrs:{\"src\":_vm.userInfo.headimg || require('@/assets/icon/avatar.png')}}),_c('div',{staticClass:\"send-box\",class:{ expand: _vm.expand }},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.content),expression:\"content\"}],staticClass:\"sendText\",attrs:{\"placeholder\":\"发布一条友善的评论\"},domProps:{\"value\":(_vm.content)},on:{\"focus\":function($event){_vm.expand = false},\"blur\":_vm.hideSendBox,\"input\":function($event){if($event.target.composing)return;_vm.content=$event.target.value}}}),_c('div',{staticClass:\"sendBtn\",style:({ opacity: !!_vm.content ? '1' : '0.3' }),on:{\"click\":(_) => {\n _vm.isSend = true;\n !!_vm.content ? _vm.handlePost() : '';\n }}},[_vm._v(\"\\n 发布\\n \")])])]),_c('div',{staticClass:\"switch\"},[_c('div',{staticClass:\"switch-btn\",class:{ select: _vm.params.sort_type == 2 },on:{\"click\":function($event){return _vm.changeSwitch(2)}}},[_vm._v(\"\\n 最热\\n \")]),_c('div',{staticClass:\"switch-btn\",class:{ select: _vm.params.sort_type == 1 },on:{\"click\":function($event){return _vm.changeSwitch(1)}}},[_vm._v(\"\\n 最新\\n \")])]),_c('div',{staticClass:\"list\"},_vm._l((_vm.list),function(item){return _c('div',{key:'comment' + item.id,ref:'comment' + item.id,refInFor:true,staticClass:\"list-item\"},[_c('CommentDetailCard',{attrs:{\"comment\":item,\"option\":_vm.option,\"reportType\":_vm.option.reportType},on:{\"jump\":_vm.handleJump,\"reply\":_vm.handleReply,\"delete\":_vm.handleDelete}})],1)}),0),(!_vm.finished)?_c('div',{staticClass:\"loadmore\",on:{\"click\":function($event){return _vm.getList()}}},[_vm._v(\"\\n 点击查看更多评论\\n \")]):_vm._e(),_c('div',{staticClass:\"empty\"},[(_vm.finished)?_c('el-empty',{attrs:{\"description\":\"没有更多数据\"}}):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"comment-detail-card\"},[_c('img',{staticClass:\"card-headimg\",class:{ childHeadimg: _vm.isChild },attrs:{\"src\":_vm.comment.headimg}}),_c('div',{staticClass:\"card-content\"},[_c('div',{staticClass:\"title\",class:{ childTitle: _vm.isChild }},[_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.comment.name))]),(_vm.comment.is_top)?_c('div',{staticClass:\"is-top\"},[_vm._v(\"置顶\")]):_vm._e()]),_c('div',{staticClass:\"content\"},[_c('OverflowContent',{attrs:{\"value\":_vm.comment.content}})],1),_c('div',{staticClass:\"footer\"},[_c('div',{staticClass:\"time\"},[_vm._v(\"\\n \"+_vm._s(_vm.comment.create_at ? _vm.comment.create_at.slice(5, 16) : \"--:--\")+\"\\n \")]),_c('div',{staticClass:\"interactive\"},[(!_vm.send)?_c('div',{staticClass:\"item\",on:{\"click\":function($event){_vm.send = true}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/huifu_border_grey.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(\"回复\")])]):_c('div',{staticClass:\"item\",on:{\"click\":function($event){_vm.send = false}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/huifu_border_blue.png\"),\"alt\":\"\"}}),_c('span',{staticClass:\"select\"},[_vm._v(\"取消回复\")])]),(!_vm.isChild)?_c('div',{staticClass:\"item\",on:{\"click\":_vm.handleTags}},[_c('img',{attrs:{\"src\":require(_vm.comment.is_like === 0\n ? '@/assets/icon/dianzan_border_grey.png'\n : '@/assets/icon/dianzan_fill_blue.png'),\"alt\":\"\"}}),_c('span',{class:{ select: _vm.comment.is_like === 1 }},[_vm._v(_vm._s(_vm.comment.like_num || \"0\"))])]):_vm._e(),(!_vm.isChild)?_c('div',{staticClass:\"item\",on:{\"click\":function($event){_vm.reportVisible = true}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/jubao_border_grey.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(\"举报\")])]):_vm._e(),(!_vm.isChild && _vm.comment.can_delete)?_c('div',{staticClass:\"item\",on:{\"click\":function($event){_vm.deleteVisible = true}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/shanchu.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(\"删除\")])]):_vm._e(),(_vm.isChild)?_c('div',{staticClass:\"item\",on:{\"click\":function($event){return _vm.$emit('jump', _vm.comment)}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/tiaozhuan.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(\"跳转\")])]):_vm._e()])]),(_vm.send)?_c('div',{staticClass:\"send-box\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.content),expression:\"content\"}],staticClass:\"sendText\",attrs:{\"placeholder\":`回复 ${_vm.comment.name}`},domProps:{\"value\":(_vm.content)},on:{\"input\":function($event){if($event.target.composing)return;_vm.content=$event.target.value}}}),_c('div',{staticClass:\"sendBtn\",style:({ opacity: !!_vm.content ? '1' : '0.3' }),on:{\"click\":(_) => (!!_vm.content ? _vm.handleReply() : '')}},[_vm._v(\"\\n 发布\\n \")])]):_vm._e(),(_vm.comment.parent_comment)?_c('div',{staticClass:\"parent-box\"},[_c('CommentDetailCard',_vm._g({attrs:{\"comment\":_vm.comment.parent_comment,\"isChild\":true,\"option\":_vm.option}},_vm.$listeners))],1):_vm._e()]),_c('Report',{attrs:{\"type\":_vm.reportType,\"info\":_vm.comment},model:{value:(_vm.reportVisible),callback:function ($$v) {_vm.reportVisible=$$v},expression:\"reportVisible\"}}),_c('Delete',{on:{\"handleDelete\":_vm.handleDelete},model:{value:(_vm.deleteVisible),callback:function ($$v) {_vm.deleteVisible=$$v},expression:\"deleteVisible\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"overflow-content\",staticClass:\"overflow-content\"},[_c('div',{ref:\"virtually\",staticClass:\"virtually\"},[_vm._v(\"\\n \"+_vm._s(_vm.value)+\"\\n \")]),(!_vm.isOverflow)?_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.value))]):(_vm.isOverflow && _vm.hide)?_c('div',{staticClass:\"content\",class:{ hide: _vm.hide }},[_vm._v(\"\\n \"+_vm._s(_vm.value)+\"\\n \")]):(_vm.isOverflow && !_vm.hide)?_c('div',{staticClass:\"content\",class:{ show: !_vm.hide }},[_vm._v(\"\\n \"+_vm._s(_vm.value)),_c('span',{staticClass:\"hideBtn\",on:{\"click\":function($event){_vm.hide = true}}},[_vm._v(\"收起\"),_c('img',{attrs:{\"src\":require(\"@/assets/icon/arrow-blue.png\"),\"alt\":\"\"}})])]):_vm._e(),(_vm.isOverflow && _vm.hide)?_c('span',{staticClass:\"showBtn\",on:{\"click\":function($event){_vm.hide = false}}},[_vm._v(\"全文\"),_c('img',{attrs:{\"src\":require(\"@/assets/icon/arrow-blue.png\"),\"alt\":\"\"}})]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"overflow-content\" ref=\"overflow-content\">\r\n <div class=\"virtually\" ref=\"virtually\">\r\n {{ value }}\r\n </div>\r\n <div class=\"content\" v-if=\"!isOverflow\">{{ value }}</div>\r\n <div class=\"content\" :class=\"{ hide: hide }\" v-else-if=\"isOverflow && hide\">\r\n {{ value }}\r\n </div>\r\n <div\r\n class=\"content\"\r\n :class=\"{ show: !hide }\"\r\n v-else-if=\"isOverflow && !hide\"\r\n >\r\n {{ value\r\n }}<span class=\"hideBtn\" @click=\"hide = true\"\r\n >收起<img src=\"@/assets/icon/arrow-blue.png\" alt=\"\"\r\n /></span>\r\n </div>\r\n <span class=\"showBtn\" v-if=\"isOverflow && hide\" @click=\"hide = false\"\r\n >全文<img src=\"@/assets/icon/arrow-blue.png\" alt=\"\"\r\n /></span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"OverflowContent\",\r\n props: {\r\n value: {\r\n type: String,\r\n },\r\n },\r\n data() {\r\n return {\r\n isOverflow: false,\r\n hide: true,\r\n };\r\n },\r\n mounted() {\r\n let valueWidth = this.$refs[\"virtually\"].scrollWidth;\r\n let contentWidth = this.$refs[\"overflow-content\"].offsetWidth;\r\n this.isOverflow = valueWidth > contentWidth;\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.overflow-content {\r\n width: 100%;\r\n overflow: hidden;\r\n position: relative;\r\n user-select: none;\r\n .virtually {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n white-space: nowrap;\r\n user-select: none;\r\n opacity: 0;\r\n z-index: -1;\r\n }\r\n .content {\r\n }\r\n .hide {\r\n width: calc(100% - 3em);\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n }\r\n span {\r\n font-weight: 400;\r\n color: #2a63f3;\r\n img {\r\n width: 0.3em;\r\n height: 0.6em;\r\n margin-left: 5px;\r\n }\r\n }\r\n .showBtn {\r\n position: absolute;\r\n right: 2px;\r\n top: 0;\r\n img {\r\n transform: rotate(90deg);\r\n }\r\n }\r\n .hideBtn {\r\n margin-left: 10px;\r\n img {\r\n transform: rotate(-90deg);\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./overflow-content.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./overflow-content.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./overflow-content.vue?vue&type=template&id=18de3e16&scoped=true&\"\nimport script from \"./overflow-content.vue?vue&type=script&lang=js&\"\nexport * from \"./overflow-content.vue?vue&type=script&lang=js&\"\nimport style0 from \"./overflow-content.vue?vue&type=style&index=0&id=18de3e16&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"18de3e16\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"delete\"},[(_vm.visible)?_c('el-dialog',{attrs:{\"center\":\"\",\"width\":\"360px\",\"show-close\":false,\"visible\":_vm.visible,\"before-close\":(_) => _vm.$emit('visible', false)},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',{staticClass:\"content\"},[_c('img',{staticClass:\"icon\",attrs:{\"src\":require(\"@/assets/icon/info.png\"),\"alt\":\"\"}}),_c('div',{staticClass:\"info\"},[_vm._v(\"是否确认删除!\")]),_c('div',{staticClass:\"footer\"},[_c('div',{staticClass:\"footer-btn cancel\",on:{\"click\":function($event){return _vm.$emit('visible', false)}}},[_vm._v(\"取消\")]),_c('div',{staticClass:\"footer-btn confirm\",on:{\"click\":(_) => {\n _vm.$emit('handleDelete');\n _vm.$emit('visible', false);\n }}},[_vm._v(\"\\n 确定\\n \")])])])]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"delete\">\r\n <el-dialog\r\n v-if=\"visible\"\r\n center\r\n width=\"360px\"\r\n :show-close=\"false\"\r\n :visible.sync=\"visible\"\r\n :before-close=\"(_) => $emit('visible', false)\"\r\n >\r\n <div class=\"content\">\r\n <img class=\"icon\" src=\"@/assets/icon/info.png\" alt=\"\" />\r\n <div class=\"info\">是否确认删除!</div>\r\n <div class=\"footer\">\r\n <div class=\"footer-btn cancel\" @click=\"$emit('visible', false)\">取消</div>\r\n <div\r\n class=\"footer-btn confirm\"\r\n @click=\"\r\n (_) => {\r\n $emit('handleDelete');\r\n $emit('visible', false);\r\n }\r\n \"\r\n >\r\n 确定\r\n </div>\r\n </div>\r\n </div>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"Delete\",\r\n props: {\r\n visible: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n model: {\r\n prop: \"visible\",\r\n event: \"visible\",\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.delete {\r\n ::v-deep .el-dialog__header {\r\n display: none;\r\n }\r\n ::v-deep .el-dialog {\r\n border-radius: 10px;\r\n }\r\n}\r\n.content {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: space-around;\r\n user-select: none;\r\n height: 280px;\r\n .icon {\r\n width: 75px;\r\n height: 75px;\r\n border-radius: 50%;\r\n }\r\n .info {\r\n font-size: 18px;\r\n font-weight: 400;\r\n color: #999999;\r\n margin-top: 10px;\r\n }\r\n .footer {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n margin-top: 40px;\r\n .footer-btn {\r\n width: 110px;\r\n height: 45px;\r\n line-height: 45px;\r\n text-align: center;\r\n border-radius: 10px;\r\n font-size: 18px;\r\n font-weight: 400;\r\n }\r\n .confirm {\r\n background: #2a63f3;\r\n color: #ffffff;\r\n margin-left: 20px;\r\n }\r\n .cancel {\r\n background: #e6e6e6;\r\n color: #ffffff;\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./delete.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!./delete.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./delete.vue?vue&type=template&id=134444ef&scoped=true&\"\nimport script from \"./delete.vue?vue&type=script&lang=js&\"\nexport * from \"./delete.vue?vue&type=script&lang=js&\"\nimport style0 from \"./delete.vue?vue&type=style&index=0&id=134444ef&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"134444ef\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"comment-detail-card\">\r\n <img\r\n class=\"card-headimg\"\r\n :src=\"comment.headimg\"\r\n :class=\"{ childHeadimg: isChild }\"\r\n />\r\n <div class=\"card-content\">\r\n <div class=\"title\" :class=\"{ childTitle: isChild }\">\r\n <div class=\"name\">{{ comment.name }}</div>\r\n <div class=\"is-top\" v-if=\"comment.is_top\">置顶</div>\r\n </div>\r\n <div class=\"content\">\r\n <OverflowContent :value=\"comment.content\" />\r\n </div>\r\n <div class=\"footer\">\r\n <div class=\"time\">\r\n {{ comment.create_at ? comment.create_at.slice(5, 16) : \"--:--\" }}\r\n </div>\r\n <div class=\"interactive\">\r\n <div class=\"item\" v-if=\"!send\" @click=\"send = true\">\r\n <img src=\"@/assets/icon/huifu_border_grey.png\" alt=\"\" />\r\n <span>回复</span>\r\n </div>\r\n <div class=\"item\" v-else @click=\"send = false\">\r\n <img src=\"@/assets/icon/huifu_border_blue.png\" alt=\"\" />\r\n <span class=\"select\">取消回复</span>\r\n </div>\r\n <div class=\"item\" v-if=\"!isChild\" @click=\"handleTags\">\r\n <img\r\n :src=\"\r\n require(comment.is_like === 0\r\n ? '@/assets/icon/dianzan_border_grey.png'\r\n : '@/assets/icon/dianzan_fill_blue.png')\r\n \"\r\n alt=\"\"\r\n />\r\n <span :class=\"{ select: comment.is_like === 1 }\">{{\r\n comment.like_num || \"0\"\r\n }}</span>\r\n </div>\r\n <div class=\"item\" v-if=\"!isChild\" @click=\"reportVisible = true\">\r\n <img src=\"@/assets/icon/jubao_border_grey.png\" alt=\"\" />\r\n <span>举报</span>\r\n </div>\r\n <div\r\n class=\"item\"\r\n v-if=\"!isChild && comment.can_delete\"\r\n @click=\"deleteVisible = true\"\r\n >\r\n <img src=\"@/assets/icon/shanchu.png\" alt=\"\" />\r\n <span>删除</span>\r\n </div>\r\n <div class=\"item\" v-if=\"isChild\" @click=\"$emit('jump', comment)\">\r\n <img src=\"@/assets/icon/tiaozhuan.png\" alt=\"\" />\r\n <span>跳转</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"send-box\" v-if=\"send\">\r\n <textarea\r\n class=\"sendText\"\r\n :placeholder=\"`回复 ${comment.name}`\"\r\n v-model=\"content\"\r\n >\r\n </textarea>\r\n <div\r\n class=\"sendBtn\"\r\n :style=\"{ opacity: !!content ? '1' : '0.3' }\"\r\n @click=\"(_) => (!!content ? handleReply() : '')\"\r\n >\r\n 发布\r\n </div>\r\n </div>\r\n <!-- <div\r\n class=\"children-box\"\r\n v-if=\"comment.children && comment.children.length\"\r\n >\r\n <div\r\n class=\"children\"\r\n v-for=\"child in comment.children\"\r\n v-if=\"!child.is_deleted\"\r\n >\r\n <CommentDetailCard\r\n :comment=\"child\"\r\n :isChild=\"true\"\r\n :option=\"option\"\r\n v-on=\"$listeners\"\r\n />\r\n </div>\r\n </div> -->\r\n <div class=\"parent-box\" v-if=\"comment.parent_comment\">\r\n <CommentDetailCard\r\n :comment=\"comment.parent_comment\"\r\n :isChild=\"true\"\r\n :option=\"option\"\r\n v-on=\"$listeners\"\r\n />\r\n </div>\r\n </div>\r\n <Report :type=\"reportType\" :info=\"comment\" v-model=\"reportVisible\" />\r\n <Delete v-model=\"deleteVisible\" @handleDelete=\"handleDelete\" />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport OverflowContent from \"@/components/module/overflow-content.vue\";\r\nimport Report from \"@/components/module/report.vue\";\r\nimport Delete from \"@/components/module/delete.vue\";\r\nexport default {\r\n name: \"CommentDetailCard\",\r\n components: { OverflowContent, Report, Delete },\r\n props: {\r\n comment: {\r\n type: Object,\r\n },\r\n isChild: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n option: {\r\n type: Object,\r\n default: () => {\r\n return {\r\n // 列表api\r\n listApi: (_) => {},\r\n // 点赞api\r\n likeApi: (_) => {},\r\n // 评论api\r\n postApi: (_) => {},\r\n // 回复api\r\n postReplyApi: (_) => {},\r\n // 删除api\r\n delApi: (_) => {},\r\n };\r\n },\r\n },\r\n reportType: {\r\n type: Number,\r\n },\r\n },\r\n data() {\r\n return {\r\n send: false,\r\n content: \"\",\r\n reportVisible: false,\r\n deleteVisible: false,\r\n };\r\n },\r\n computed: {\r\n userInfo() {\r\n return this.$store.state.userInfo;\r\n },\r\n },\r\n mounted() {},\r\n methods: {\r\n // 点赞\r\n handleTags() {\r\n this.option.likeApi(this.comment).then(({ data, msg }) => {\r\n this.comment.is_like = data.tags;\r\n this.comment.like_num = data.tags\r\n ? Number(this.comment.like_num) + 1\r\n : Number(this.comment.like_num) - 1;\r\n this.$message.success(msg);\r\n });\r\n },\r\n // 回复\r\n handleReply() {\r\n this.option\r\n .postReplyApi({ content: this.content }, this.comment)\r\n .then(({ data, msg }) => {\r\n this.$message.success(msg);\r\n this.content = \"\";\r\n this.send = false;\r\n if (!this.isChild) {\r\n this.comment.children.push(data.detail);\r\n this.$emit(\"reply\", data.detail);\r\n }\r\n });\r\n },\r\n // 删除\r\n handleDelete() {\r\n this.option.delApi(this.comment).then(({ msg }) => {\r\n this.$message.success(msg);\r\n this.$emit(\"delete\", this.comment);\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.comment-detail-card {\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n .card-headimg {\r\n width: 60px;\r\n height: 60px;\r\n border-radius: 50%;\r\n }\r\n .childHeadimg {\r\n width: 45px;\r\n height: 45px;\r\n }\r\n\r\n .card-content {\r\n margin-left: 15px;\r\n width: calc(100% - 75px);\r\n\r\n .title {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n height: 60px;\r\n\r\n .name {\r\n font-size: 18px;\r\n font-weight: 500;\r\n color: #222222;\r\n }\r\n .is-top {\r\n width: 34px;\r\n height: 20px;\r\n border-radius: 3px;\r\n border: 1px solid #2a63f3;\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #2a63f3;\r\n text-align: center;\r\n line-height: 20px;\r\n margin-left: 10px;\r\n }\r\n }\r\n .childTitle {\r\n height: 50px;\r\n }\r\n .content {\r\n width: 100%;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #151625;\r\n }\r\n .footer {\r\n display: flex;\r\n align-items: center;\r\n margin-top: 15px;\r\n user-select: none;\r\n .time {\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #666666;\r\n }\r\n .interactive {\r\n display: flex;\r\n align-items: center;\r\n margin-left: 10px;\r\n .item {\r\n display: flex;\r\n align-items: center;\r\n margin-right: 10px;\r\n img {\r\n width: 16px;\r\n height: 16px;\r\n }\r\n span {\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #151625;\r\n margin-left: 3px;\r\n }\r\n .select {\r\n color: #2a63f3;\r\n }\r\n }\r\n }\r\n }\r\n .send-box {\r\n width: 100%;\r\n border-radius: 12px;\r\n position: relative;\r\n margin-top: 10px;\r\n .sendText {\r\n width: 100%;\r\n height: 180px;\r\n outline: none;\r\n border: none;\r\n resize: none;\r\n padding: 20px 15px;\r\n background: #f4f4f4;\r\n font-size: 18px;\r\n font-weight: 400;\r\n box-sizing: border-box;\r\n }\r\n .sendText::placeholder {\r\n font-size: 18px;\r\n font-weight: 400;\r\n color: #999999;\r\n }\r\n .sendBtn {\r\n width: 90px;\r\n height: 45px;\r\n text-align: center;\r\n line-height: 45px;\r\n background-color: #2a63f3;\r\n border-radius: 23px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #ffffff;\r\n position: absolute;\r\n top: 120px;\r\n right: 10px;\r\n cursor: pointer;\r\n }\r\n }\r\n .children-box {\r\n margin-top: 15px;\r\n }\r\n .parent-box{\r\n margin-top: 15px;\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./comment-detail-card.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./comment-detail-card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./comment-detail-card.vue?vue&type=template&id=7258cdf0&scoped=true&\"\nimport script from \"./comment-detail-card.vue?vue&type=script&lang=js&\"\nexport * from \"./comment-detail-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./comment-detail-card.vue?vue&type=style&index=0&id=7258cdf0&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7258cdf0\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"comment\">\r\n <div class=\"title\">评论&nbsp;{{ total_num }}</div>\r\n <div class=\"send\">\r\n <img\r\n class=\"headimg\"\r\n :src=\"userInfo.headimg || require('@/assets/icon/avatar.png')\"\r\n />\r\n <div class=\"send-box\" :class=\"{ expand: expand }\">\r\n <textarea\r\n class=\"sendText\"\r\n placeholder=\"发布一条友善的评论\"\r\n v-model=\"content\"\r\n @focus=\"expand = false\"\r\n @blur=\"hideSendBox\"\r\n >\r\n </textarea>\r\n <div\r\n class=\"sendBtn\"\r\n :style=\"{ opacity: !!content ? '1' : '0.3' }\"\r\n @click=\"\r\n (_) => {\r\n isSend = true;\r\n !!content ? handlePost() : '';\r\n }\r\n \"\r\n >\r\n 发布\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"switch\">\r\n <div\r\n class=\"switch-btn\"\r\n :class=\"{ select: params.sort_type == 2 }\"\r\n @click=\"changeSwitch(2)\"\r\n >\r\n 最热\r\n </div>\r\n <div\r\n class=\"switch-btn\"\r\n :class=\"{ select: params.sort_type == 1 }\"\r\n @click=\"changeSwitch(1)\"\r\n >\r\n 最新\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div\r\n class=\"list-item\"\r\n v-for=\"item in list\"\r\n :ref=\"'comment' + item.id\"\r\n :key=\"'comment' + item.id\"\r\n >\r\n <CommentDetailCard\r\n :comment=\"item\"\r\n :option=\"option\"\r\n :reportType=\"option.reportType\"\r\n @jump=\"handleJump\"\r\n @reply=\"handleReply\"\r\n @delete=\"handleDelete\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"loadmore\" v-if=\"!finished\" @click=\"getList()\">\r\n 点击查看更多评论\r\n </div>\r\n <div class=\"empty\">\r\n <el-empty v-if=\"finished\" description=\"没有更多数据\"></el-empty>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport CommentDetailCard from \"@/components/card/comment-detail-card.vue\";\r\nexport default {\r\n name: \"Comment\",\r\n components: { CommentDetailCard },\r\n props: [\"box\"],\r\n data() {\r\n return {\r\n // 输入框聚焦\r\n expand: true,\r\n isSend: false,\r\n // 输入框内容\r\n content: \"\",\r\n\r\n // 获取评论列表参数\r\n params: {\r\n // 页码\r\n page: 1,\r\n // 条目\r\n page_num: 10,\r\n // 排序方式\r\n sort_type: 2,\r\n },\r\n\r\n // 交互配置\r\n option: {\r\n // 列表api\r\n listApi: (_) => {},\r\n // 点赞api\r\n likeApi: (_) => {},\r\n // 评论api\r\n postApi: (_) => {},\r\n // 回复api\r\n postReplyApi: (_) => {},\r\n // 删除api\r\n delApi: (_) => {},\r\n // 举报类型\r\n reportType: 0,\r\n },\r\n\r\n // 数据列表\r\n list: [],\r\n // 数据总条目\r\n total_num: 0,\r\n // 无更多\r\n finished: false,\r\n };\r\n },\r\n computed: {\r\n userInfo() {\r\n return this.$store.state.userInfo;\r\n },\r\n },\r\n mounted() {},\r\n methods: {\r\n // 初始化\r\n init(option) {\r\n this.option = option;\r\n this.getList();\r\n },\r\n // 隐藏发送区域\r\n hideSendBox() {\r\n setTimeout((_) => {\r\n this.expand = this.isSend ? false : true;\r\n this.isSend = false;\r\n }, 100);\r\n },\r\n // 更换排序方式\r\n changeSwitch(type) {\r\n this.params.page = 1;\r\n this.params.sort_type = type;\r\n this.getList();\r\n },\r\n // 获取评论列表\r\n getList() {\r\n this.option.listApi(this.params).then(({ data }) => {\r\n this.total_num = data.total_num;\r\n this.list =\r\n this.params.page == 1 ? data.list : this.list.concat(data.list);\r\n this.params.page++;\r\n this.finished = data.list.length < this.params.page_num;\r\n });\r\n },\r\n // 评论\r\n handlePost() {\r\n this.option\r\n .postApi({ content: this.content }, this.comment)\r\n .then(({ data, msg }) => {\r\n this.$message.success(msg);\r\n this.content = \"\";\r\n this.send = false;\r\n let comment_detail = {\r\n is_like: 0,\r\n like_num: 0,\r\n can_delete: 1,\r\n ...data.detail,\r\n };\r\n this.params.sort_type == 1\r\n ? this.list.unshift(comment_detail)\r\n : this.list.push(comment_detail);\r\n });\r\n },\r\n // 跳转\r\n handleJump(item) {\r\n if (!this.$refs[\"comment\" + item.id]) return;\r\n if (!this.box) {\r\n window.scrollTo(0, this.$refs[\"comment\" + item.id][0].offsetTop);\r\n } else {\r\n this.$emit(\"handleJump\", this.$refs[\"comment\" + item.id][0].offsetTop);\r\n }\r\n },\r\n // 回复\r\n handleReply(item) {\r\n let comment_detail = {\r\n is_like: 0,\r\n like_num: 0,\r\n can_delete: 1,\r\n ...item,\r\n };\r\n this.params.sort_type == 1\r\n ? this.list.unshift(comment_detail)\r\n : this.list.push(comment_detail);\r\n },\r\n // 删除\r\n handleDelete(item) {\r\n this.list = this.list.filter((i) => {\r\n i.children =\r\n i.children &&\r\n i.children.filter((j) => {\r\n return j.id != item.id;\r\n });\r\n return i.id != item.id;\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.comment {\r\n padding-bottom: 100px;\r\n .title {\r\n font-size: 38px;\r\n font-weight: 600;\r\n color: #151625;\r\n }\r\n .send {\r\n display: flex;\r\n align-items: flex-start;\r\n margin-top: 20px;\r\n\r\n .headimg {\r\n width: 60px;\r\n height: 60px;\r\n border-radius: 50%;\r\n }\r\n .send-box {\r\n height: 200px;\r\n margin-left: 15px;\r\n width: calc(100% - 80px);\r\n border-radius: 12px;\r\n position: relative;\r\n overflow: hidden;\r\n background: #f4f4f4;\r\n .sendText {\r\n width: 100%;\r\n height: 140px;\r\n outline: none;\r\n border: none;\r\n resize: none;\r\n padding: 20px 15px;\r\n background: #f4f4f4;\r\n font-size: 18px;\r\n font-weight: 400;\r\n box-sizing: border-box;\r\n }\r\n .sendText::placeholder {\r\n font-size: 18px;\r\n font-weight: 400;\r\n color: #999999;\r\n }\r\n .sendBtn {\r\n width: 90px;\r\n height: 45px;\r\n text-align: center;\r\n line-height: 45px;\r\n background-color: #2a63f3;\r\n border-radius: 23px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #ffffff;\r\n // position: absolute;\r\n // top: 125px;\r\n // right: 10px;\r\n float: right;\r\n transform: translate(-20px, 5px);\r\n cursor: pointer;\r\n }\r\n }\r\n .expand {\r\n height: 60px;\r\n }\r\n }\r\n .switch {\r\n display: flex;\r\n align-items: center;\r\n margin-top: 20px;\r\n .switch-btn {\r\n width: 75px;\r\n height: 40px;\r\n text-align: center;\r\n line-height: 40px;\r\n border-radius: 22px;\r\n font-weight: 400;\r\n font-size: 14px;\r\n background: #f4f4f4;\r\n color: #646464;\r\n margin-right: 10px;\r\n cursor: pointer;\r\n }\r\n .select {\r\n background: #2a63f3;\r\n color: #f3f3f3;\r\n }\r\n }\r\n .list {\r\n margin-top: 20px;\r\n .list-item {\r\n margin-top: 10px;\r\n }\r\n }\r\n .loadmore {\r\n width: 100%;\r\n height: 60px;\r\n line-height: 60px;\r\n text-align: center;\r\n background: #f4f4f4;\r\n border-radius: 10px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #717171;\r\n margin-top: 40px;\r\n cursor: pointer;\r\n }\r\n .empty {\r\n margin-top: 40px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./comment.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.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./comment.vue?vue&type=template&id=5e5c4f8c&scoped=true&\"\nimport script from \"./comment.vue?vue&type=script&lang=js&\"\nexport * from \"./comment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./comment.vue?vue&type=style&index=0&id=5e5c4f8c&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e5c4f8c\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./comment-detail-card.vue?vue&type=style&index=0&id=7258cdf0&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./delete.vue?vue&type=style&index=0&id=134444ef&prod&lang=scss&scoped=true&\""],"sourceRoot":""}