1 |
- {"version":3,"sources":["webpack:///./src/assets/icon/dianzan_fill_blue.png","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/assets/icon/jubao_border_grey.png","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/assets/icon/huifu_border_blue.png","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/overflow-content.vue?3977","webpack:///./src/components/module/delete.vue?3530"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","visible","attrs","_","$emit","on","$event","require","_v","_e","staticRenderFns","name","props","type","Boolean","default","model","prop","event","component","ref","_s","value","isOverflow","hide","class","show","String","data","mounted","valueWidth","$refs","scrollWidth","contentWidth","offsetWidth","_l","reportCase","item","title","children","child","handleRadio","select","reportIds","includes","id","directives","rawName","reportContent","expression","domProps","target","composing","slot","staticStyle","report","info","Object","Number","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"],"mappings":"mGAAAA,EAAOC,QAAU,0lB,oCCAjB,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,UAAU,CAAEJ,EAAIK,QAASH,EAAG,YAAY,CAACI,MAAM,CAAC,OAAS,GAAG,MAAQ,QAAQ,cAAa,EAAM,QAAUN,EAAIK,QAAQ,eAAe,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C,QAAA,KAAAnC,UAAAC,SAAA,cAAAI,cAAA,IAEA+B,OAAAC,WAAAL,GAAAM,MAAA,SAAAC,GAAA,IAAAC,EAAAD,EAAAC,IAAAD,EAAAtD,KACAsC,EAAAG,SAAAe,QAAAD,GACAjB,EAAA9D,MAAA,oBChH+V,I,wBCQ3Ve,EAAY,eACd,EACAxB,EACAe,GACA,EACA,KACA,WACA,MAIa,OAAAS,E,4BCnBf1B,EAAOC,QAAU,0+B,mBCAjBD,EAAOC,QAAU,8rB,kCCAjB,W,kCCAA,W,kCCAA","file":"js/chunk-af498b00.38941687.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAWhJREFUOE+t1D1Lw1AUxvH/SatNXFzq4gs6iYOizi5K0VlrKuLiIPgRxK8g4gfQQQS7JVVxLg4Ojgq+IKUIDk7O2jaW5koV6Ytp04bc8dzz/Ljk3Fwh5CUdeUk1jFaYQUVyZPR8u4w/aDopcNNAL1BGxMTSL1uh7cF5FSXuvIIaqgNusI25YKBZTADZhrDikYwxFQxcLR0iarsxrM6x+5LdgyvOJBH3FuhpDGu72LG9zsCUihAlTvlrAdwDYPBfUGSJj9j1T30ElyMp1/fUhrLmLOO6J0B/R1fpt0mh5A6NDSw9Vy3UQLP0DGqiC6zWKmSxjMUmsPgODAQCIY9tjIcJHmMbW+GBQgLLuAoLfMPWR0HccECRfSx95+/b1005yFBEITKNFXvwAu+Blv+o5/RFbCw95X2xzUIKtDSo6jPltxSiztCNTU7l0xusVteLY1S0WVQl2lIUzaHMExf6i1eP/wPrd9am/W8VUGkVx2Ud3QAAAABJRU5ErkJggg==\"","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","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=\"","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 line-height: normal;\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 line-height: normal;\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=dd58ae8c&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=dd58ae8c&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 \"dd58ae8c\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAXNJREFUOE/tk7FLAnEUx7/vNCG8Ky2iQmiJllPENRpyqT8gcCsQPAgamoMSCWoInBoi5BBxi4L+grAlmgIpvAoqCKIp0vBUkvP3ohPFSERo7c3f9+H7vnwf4Y9Drf1QlD31gdoKGg0VgNSVK0EAuHVZVjaf8Za+NTYgFC166k7nJQHvDJwz28JfQ2SD5wCMuyx5Np+hkg1QtfI6QEv4eF40jv31XlepkYKLlakcSTgydGXfBvi18gFDKhq6e7OfSFStskuAt6C715oOYuVDIumtoLu3+gH4tfIOC4wZaWX1H9DKQKskAJ4xdHm5rxBjZpaJHg3dvW2HGNDMoGA+A2hPsLiQ2PmjSKIx+GDWXqpD8miQJTFP4I0GUfhel6/bVQ5o5oJgTgDkA7izyiMEOmWCH8yTAJ6IES+klVy7yp221Qi76hPNig9/wlGzzCsQfAQkiw45+Zqiaqe+7aDr7WF2qtNmXDjo5C4l33T9j35C66X5AukQrxH9T2YDAAAAAElFTkSuQmCC\"","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+IS01t8BrO5BwHZCzFEQBKO1Wm2HO6HneUPWWpdsVyS9WH2e5w1Yaz+71KZSqWeN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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&\"","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=dd58ae8c&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":""}
|