1 |
- {"version":3,"sources":["webpack:///./src/views/information/children/my-comment.vue?f56d","webpack:///./src/components/card/card-module/card-file-detail.vue","webpack:///src/components/card/card-module/card-file-detail.vue","webpack:///./src/components/card/card-module/card-file-detail.vue?22b4","webpack:///./src/components/card/card-module/card-file-detail.vue?07d7","webpack:///./src/assets/icon/play.png","webpack:///./src/components/card/information/my-comment-card.vue?4d3e","webpack:///./src/assets/icon/lapse.png","webpack:///./src/components/card/card-module/card-file-detail.vue?806d","webpack:///./src/views/information/children/my-comment.vue","webpack:///./src/components/card/information/my-comment-card.vue","webpack:///src/components/card/information/my-comment-card.vue","webpack:///./src/components/card/information/my-comment-card.vue?dbd0","webpack:///./src/components/card/information/my-comment-card.vue?d730","webpack:///src/views/information/children/my-comment.vue","webpack:///./src/views/information/children/my-comment.vue?288a","webpack:///./src/views/information/children/my-comment.vue?0d0a","webpack:///./node_modules/core-js/modules/es6.reflect.has.js"],"names":["render","_vm","this","_c","_self","staticClass","is_normal","attrs","fileIcon","require","_e","_v","_s","info","series_title","title","app_logo","app_name","read_num","staticRenderFns","name","props","type","Object","computed","Reflect","has","fileType","getFileType","url","getFileIcon","concat","component","module","exports","on","handleSearch","slot","manageType","$event","changeAllChecked","model","value","allChecked","callback","$$v","expression","handleDelete","list","filter","item","checked","_l","key","id","$set","style","width","handleToDetail","datum_id","finished","_g","staticStyle","btnList","$listeners","userInfo","headimg","create_at","content","$emit","components","CardBox","CardHeader","CardContent","CardFileDetail","Boolean","default","data","arr","$store","state","mounted","MyCommentCard","TitleControl","params","page","page_num","sort_type","list_copy","watch","val","forEach","getList","methods","TouchBottom","map","_this","DatumService","getCommentDatum","then","_ref","_objectSpread","_toConsumableArray","length","that","showConfirmPopup","join","batchesDel","_ref2","split","includes","$message","success","catch","_","arguments","undefined","keys","error","$router","push","path","query","url_id","$export","S","target","propertyKey"],"mappings":"gHAAA,W,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,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0C,EACA,KAAA1C,KAAA,KAAAwC,UAAAvC,QAAA,SAAAC,GACA,OAAAA,EAAAkB,QAAA0C,SAAApB,OAGA,KAAA1C,KAAA,KAAAwC,UACA,KAAAA,UAAA,OCjKkX,ICQ9W,G,UAAY,eACd,EACAxF,EACAmB,GACA,EACA,KACA,WACA,OAIa,e,4EClBf,IAAIyG,EAAU,EAAQ,QAEtBA,EAAQA,EAAQC,EAAG,UAAW,CAC5BnG,IAAK,SAAaoG,EAAQC,GACxB,OAAOA,KAAeD","file":"js/chunk-65f6f590.b1878a22.js","sourcesContent":["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!./my-comment.vue?vue&type=style&index=0&id=552bc6b1&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-file-detail\"},[_c('div',{staticClass:\"file-box\"},[(_vm.is_normal)?_c('img',{staticClass:\"file-icon\",attrs:{\"src\":_vm.fileIcon,\"alt\":\"\"}}):_c('div',{staticClass:\"is_normal\"},[_c('img',{attrs:{\"src\":require(\"@/assets/icon/lapse.png\"),\"alt\":\"\"}})]),(!_vm.is_normal)?_c('div',{staticClass:\"type\"},[_vm._v(_vm._s(\"已失效\"))]):_vm._e()]),(_vm.is_normal)?_c('div',{staticClass:\"info-box\"},[_c('div',{staticClass:\"title-box\"},[_c('div',{staticClass:\"series-title\"},[_vm._v(_vm._s(_vm.info.series_title))]),_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.info.title))])]),_c('div',{staticClass:\"footer\"},[_c('img',{staticClass:\"app-logo\",attrs:{\"src\":_vm.info.app_logo,\"alt\":\"\"}}),_c('div',{staticClass:\"app-name\"},[_vm._v(_vm._s(_vm.info.app_name))]),_c('img',{staticClass:\"icon\",attrs:{\"src\":require(\"@/assets/icon/play.png\")}}),_c('div',{staticClass:\"read-num\"},[_vm._v(_vm._s(_vm.info.read_num || 0))])])]):_c('div',{staticClass:\"info-box\"},[_c('div',{staticClass:\"is_normal\"},[_vm._v(\"已失效\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"card-file-detail\">\r\n <div class=\"file-box\">\r\n <img class=\"file-icon\" :src=\"fileIcon\" alt=\"\" v-if=\"is_normal\" />\r\n <div class=\"is_normal\" v-else>\r\n <img src=\"@/assets/icon/lapse.png\" alt=\"\" />\r\n </div>\r\n <div class=\"type\" v-if=\"!is_normal\">{{ \"已失效\" }}</div>\r\n </div>\r\n <div class=\"info-box\" v-if=\"is_normal\">\r\n <div class=\"title-box\">\r\n <div class=\"series-title\">{{ info.series_title }}</div>\r\n <div class=\"title\">{{ info.title }}</div>\r\n </div>\r\n <div class=\"footer\">\r\n <img class=\"app-logo\" :src=\"info.app_logo\" alt=\"\" />\r\n <div class=\"app-name\">{{ info.app_name }}</div>\r\n <img class=\"icon\" src=\"@/assets/icon/play.png\" />\r\n <div class=\"read-num\">{{ info.read_num || 0 }}</div>\r\n </div>\r\n </div>\r\n <div class=\"info-box\" v-else>\r\n <div class=\"is_normal\">已失效</div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { getFileIcon, getFileType } from \"@/common/util\";\r\nexport default {\r\n name: \"CardFileDetail\",\r\n props: {\r\n info: {\r\n type: Object,\r\n },\r\n },\r\n computed: {\r\n is_normal() {\r\n return Reflect.has(this.info, \"is_normal\") ? !!this.info.is_normal : true;\r\n },\r\n fileType() {\r\n return getFileType(this.info.url || \"\");\r\n },\r\n fileIcon() {\r\n return getFileIcon(`${this.fileType}_bg`);\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card-file-detail {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n cursor: default;\r\n .file-box {\r\n width: 120px;\r\n height: 120px;\r\n position: relative;\r\n .file-icon {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n .is_normal {\r\n width: 100%;\r\n height: 100%;\r\n background: #d8d8d8;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n img {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n .type {\r\n height: 18px;\r\n padding: 0 5px;\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #ffffff;\r\n line-height: 18px;\r\n text-align: center;\r\n background: rgba(0, 0, 0, 0.7);\r\n border-radius: 2px;\r\n position: absolute;\r\n bottom: 10px;\r\n right: 10px;\r\n }\r\n }\r\n .info-box {\r\n width: calc(100% -140px);\r\n height: 114px;\r\n margin-left: 15px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n padding: 3px 0;\r\n .is_normal {\r\n width: 100%;\r\n height: 100%;\r\n text-align: center;\r\n line-height: 114px;\r\n color: #999999;\r\n font-size: 14px;\r\n }\r\n .title-box {\r\n width: 100%;\r\n height: 114px;\r\n .series-title {\r\n max-width: 500px;\r\n height: 25px;\r\n line-height: 25px;\r\n width: 100%;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n }\r\n .title {\r\n width: 100%;\r\n max-width: 500px;\r\n font-size: 16px;\r\n font-weight: 400;\r\n color: #222222;\r\n }\r\n }\r\n\r\n .footer {\r\n display: flex;\r\n align-items: center;\r\n .app-logo {\r\n width: 16px;\r\n height: 16px;\r\n border-radius: 50%;\r\n }\r\n .app-name {\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #666666;\r\n margin-left: 5px;\r\n }\r\n .icon {\r\n height: 14px;\r\n width: 14px;\r\n margin-left: 10px;\r\n }\r\n .read-num {\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #999999;\r\n margin-left: 3px;\r\n }\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!./card-file-detail.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!./card-file-detail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./card-file-detail.vue?vue&type=template&id=3c968450&scoped=true&\"\nimport script from \"./card-file-detail.vue?vue&type=script&lang=js&\"\nexport * from \"./card-file-detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./card-file-detail.vue?vue&type=style&index=0&id=3c968450&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 \"3c968450\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAPxJREFUSEvNlTFuwkAQRf+4iZALLhCJg4RDhJYWyWPRBokqIVDR4DZe25wBR6EMh8oB1j8ykotESNjYa7H1zH/7Z79mBY6PONZHf4AkSXYkZwCGLV39iMg+CIKXUufswBjzDODQUvh/+0RV8zMgjuM3EVl3CSC5CsNwUzlYAXjvElDqqer6bgBfJD89z3slOarptJGDuap+RFE08H1/AWAJwL8Cag6oBNM0fSS5JTmtkngBdjugEjPGjAF8A3hwAsiy7Mlae+ocUI7IWrsVkW5H5OyRReRYFEXuMqY1o/+nrFGK2gH6WHZu13Xp3+mHc8uA6/b09yfXvVHTul9MCqIZAaJnUgAAAABJRU5ErkJggg==\"","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!./my-comment-card.vue?vue&type=style&index=0&id=2462a74c&prod&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABi9JREFUWEfNmV1sVEUUx/9nt7ZWW00RjLyIX6gPJKCSKAYVFcqHgIBJJYjRSndmJYYQkQcFP4H6gARDTLozLZaIEmyi8qViFUUlIgmoJCSigIovGsCQWgRLe+8xZ3PvZnrdbXfbbnXe9u6Zmd+cOXPOmTOEfrTVq1dfXFFRMT4Wi90JYBSA6wEMA1ARDNsO4BQR/UBEhzzP+3zIkCF7ampqzvV1WupLx1QqNYWIHmXmmURUXuAYZwFsIaJmpdQnBfZFQcDW2tnM/DyA0YVOlEN+PxG9qJTake94eQGvX7/+mq6urgYA1T0M3AngFwC/AmgnIhm7kpmvBHAVgJJcfYloRywWe6Kuru54b+C9Altra5jZArg0y2DHiKiFmT8oLS3dX1tb+3e2CdetW1dWXl4+jpmrmXkegBFZ5E7H4/HH6urqtvQE3SOwMeZZ2TJmjsrtJaIViURiJxFxb1px/5exGhsb72Pm5QBujfSVsZZrretz7kauP4wxawEsjvzfRkSLlVIbCoHMJZtKpeYT0RoAl0dk1mitn8rWL6u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Kdp8zzv5oULF/6UFVg+NjU1zfI8T+oTGXMhoo3MvGAQNS2eShQ0VynV4q4gVzFQ7nSrXEFmFvOYN9A2Lbvq+/47ETOQqZ/TWq+I7mrO+rAx5hUASyIdTjDzkoHyHoE3eDVayyOitUqpJ7OZYG8FbdH0yujhBLCPiFYmEon3C42IQUF7CjNLSTfjZ9MegIjlDSWbZnPacHRVgU1LKTRzEB2Z40S0yfO81s7Ozr25srwg6xpLRNOYWcq56XAbaVIsV1Gbzdskot7D9/3XXJeXZcIueZQhovSjjKhKHmUAhI8yYYqYbadbS0pKHl+wYEHGG+TySL0+yrgdJbj4vv+CGxH76eoOBs9e6aCQTysIOBwwyD1qg7tWmOXlM1866yKibcy8QXKDvDo5Qn0CDvtLatrW1iZJ9l3MPIqZbwjuh2IK0qQIIndGueYc8n3/izNnzuxZunTpX4WChvL/AMzbHPzNssRpAAAAAElFTkSuQmCC\"","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!./card-file-detail.vue?vue&type=style&index=0&id=3c968450&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"wrap-title\"},[_c('TitleControl',{attrs:{\"title\":\"我的评论\"},on:{\"handleChange\":_vm.handleSearch}},[_c('div',{staticClass:\"control-btn\",attrs:{\"slot\":\"control\"},slot:\"control\"},[(!_vm.manageType)?_c('div',{staticClass:\"manage\",on:{\"click\":function($event){_vm.manageType = true}}},[_vm._v(\"\\n 管理\\n \")]):_c('div',{staticClass:\"manage cancel\",on:{\"click\":function($event){_vm.manageType = false}}},[_vm._v(\"\\n 取消\\n \")])])])],1),_c('div',{staticClass:\"wrap-content\"},[(_vm.manageType)?_c('div',{staticClass:\"del-box\"},[_c('div',{staticClass:\"radio\"},[_c('el-checkbox',{on:{\"change\":_vm.changeAllChecked},model:{value:(_vm.allChecked),callback:function ($$v) {_vm.allChecked=$$v},expression:\"allChecked\"}})],1),_c('div',{staticClass:\"btn\",on:{\"click\":function($event){_vm.handleDelete(_vm.list.filter((item) => item.checked))}}},[_vm._v(\"\\n 删除\\n \")])]):_vm._e(),_c('div',{staticClass:\"list\"},[_vm._l((_vm.list),function(item){return _c('div',{key:item.id,staticClass:\"list-item\"},[(_vm.manageType)?_c('div',{staticClass:\"radio\"},[_c('el-checkbox',{model:{value:(item.checked),callback:function ($$v) {_vm.$set(item, \"checked\", $$v)},expression:\"item.checked\"}})],1):_vm._e(),_c('div',{staticClass:\"card\",style:(_vm.manageType ? { width: 'calc(100% - 60px)' } : '')},[_c('MyCommentCard',{attrs:{\"info\":item,\"manageType\":_vm.manageType},on:{\"handleDelete\":function($event){return _vm.handleDelete([item])},\"handleToDetail\":function($event){return _vm.handleToDetail(item, {\n id: 'url_id',\n datum_id: 'datum_id',\n })}}})],1)])}),(_vm.finished)?_c('el-empty',{attrs:{\"description\":\"没有更多数据\"}}):_vm._e()],2)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card\"},[_c('CardBox',_vm._g({staticStyle:{\"padding\":\"15px 20px\"},attrs:{\"btnList\":_vm.btnList}},_vm.$listeners),[_c('div',{staticClass:\"header\"},[_c('CardHeader',{attrs:{\"avatar\":_vm.userInfo.headimg,\"name\":_vm.userInfo.name,\"time\":_vm.info.create_at,\"btnList\":[]}})],1),_c('div',{staticClass:\"content\"},[_c('CardContent',{attrs:{\"content\":_vm.info.content}})],1),_c('div',{staticClass:\"target\",on:{\"click\":function($event){return _vm.$emit('handleToDetail')}}},[_c('CardFileDetail',{attrs:{\"info\":_vm.info}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"card\">\r\n <CardBox style=\"padding: 15px 20px\" :btnList=\"btnList\" v-on=\"$listeners\">\r\n <div class=\"header\">\r\n <CardHeader\r\n :avatar=\"userInfo.headimg\"\r\n :name=\"userInfo.name\"\r\n :time=\"info.create_at\"\r\n :btnList=\"[]\"\r\n />\r\n </div>\r\n <div class=\"content\">\r\n <CardContent :content=\"info.content\" />\r\n </div>\r\n <div class=\"target\" @click=\"$emit('handleToDetail')\">\r\n <CardFileDetail :info=\"info\" />\r\n </div>\r\n </CardBox>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport CardBox from \"../card-module/card-box.vue\";\r\nimport CardHeader from \"../card-module/card-header.vue\";\r\nimport CardContent from \"../card-module/card-content.vue\";\r\nimport CardFileDetail from \"../card-module/card-file-detail.vue\";\r\n\r\nexport default {\r\n name: \"MyCommentCard\",\r\n components: { CardBox, CardHeader, CardContent, CardFileDetail },\r\n props: {\r\n info: {\r\n type: Object,\r\n },\r\n manageType: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n data() {\r\n return {};\r\n },\r\n computed: {\r\n btnList() {\r\n let arr = [\"del\"];\r\n return this.manageType ? [] : arr;\r\n },\r\n userInfo() {\r\n return this.$store.state.userInfo;\r\n },\r\n },\r\n mounted() {},\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card {\r\n width: 100%;\r\n height: 100%;\r\n .content {\r\n margin: 10px 0;\r\n }\r\n .target {\r\n background: #f4f4f4;\r\n width: calc(100% - 20px);\r\n padding: 10px;\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!./my-comment-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!./my-comment-card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./my-comment-card.vue?vue&type=template&id=2462a74c&scoped=true&\"\nimport script from \"./my-comment-card.vue?vue&type=script&lang=js&\"\nexport * from \"./my-comment-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-comment-card.vue?vue&type=style&index=0&id=2462a74c&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 \"2462a74c\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"wrap\">\r\n <div class=\"wrap-title\">\r\n <TitleControl title=\"我的评论\" @handleChange=\"handleSearch\">\r\n <div slot=\"control\" class=\"control-btn\">\r\n <div class=\"manage\" @click=\"manageType = true\" v-if=\"!manageType\">\r\n 管理\r\n </div>\r\n <div class=\"manage cancel\" @click=\"manageType = false\" v-else>\r\n 取消\r\n </div>\r\n </div>\r\n </TitleControl>\r\n </div>\r\n <div class=\"wrap-content\">\r\n <div class=\"del-box\" v-if=\"manageType\">\r\n <div class=\"radio\">\r\n <el-checkbox\r\n v-model=\"allChecked\"\r\n @change=\"changeAllChecked\"\r\n ></el-checkbox>\r\n </div>\r\n <div\r\n class=\"btn\"\r\n @click=\"handleDelete(list.filter((item) => item.checked))\"\r\n >\r\n 删除\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div class=\"list-item\" v-for=\"item in list\" :key=\"item.id\">\r\n <div class=\"radio\" v-if=\"manageType\">\r\n <el-checkbox v-model=\"item.checked\"></el-checkbox>\r\n </div>\r\n <div\r\n class=\"card\"\r\n :style=\"manageType ? { width: 'calc(100% - 60px)' } : ''\"\r\n >\r\n <MyCommentCard\r\n :info=\"item\"\r\n :manageType=\"manageType\"\r\n @handleDelete=\"handleDelete([item])\"\r\n @handleToDetail=\"\r\n handleToDetail(item, {\r\n id: 'url_id',\r\n datum_id: 'datum_id',\r\n })\r\n \"\r\n />\r\n </div>\r\n </div>\r\n <el-empty v-if=\"finished\" description=\"没有更多数据\"></el-empty>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport MyCommentCard from \"@/components/card/information/my-comment-card.vue\";\r\nimport TitleControl from \"@/components/module/title-control.vue\";\r\nimport { DatumService } from \"@/common/service\";\r\nexport default {\r\n components: { MyCommentCard, TitleControl },\r\n data() {\r\n return {\r\n list: [],\r\n params: {\r\n page: 1,\r\n page_num: 20,\r\n sort_type: 1,\r\n },\r\n // 是否无数据\r\n finished: false,\r\n // 是否点击管理按钮\r\n manageType: false,\r\n // 是否选中所有\r\n allChecked: false,\r\n // 搜索\r\n list_copy: \"\",\r\n };\r\n },\r\n watch: {\r\n manageType(val) {\r\n !val ? (this.allChecked = false) : \"\";\r\n this.list.forEach((item) => (item.checked = false));\r\n },\r\n },\r\n mounted() {\r\n this.getList();\r\n },\r\n methods: {\r\n // 触底\r\n TouchBottom() {\r\n if (!this.finished) {\r\n this.getList();\r\n }\r\n },\r\n // 选择全部\r\n changeAllChecked(type) {\r\n this.list.map((item) => (item.checked = type));\r\n },\r\n // 获取数据\r\n getList() {\r\n DatumService.getCommentDatum(this.params).then(({ data }) => {\r\n const list = data.list.map((item) => {\r\n return { checked: false, ...item };\r\n });\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 });\r\n },\r\n // 删除记录\r\n handleDelete(arr) {\r\n let that = this;\r\n this.showConfirmPopup(\"确定要删除该信息?\")\r\n .then(() => {\r\n let params = {\r\n id: \"\",\r\n type: 1,\r\n };\r\n params.id = arr.map((item) => item.id).join(\",\");\r\n if (!params.id) return;\r\n DatumService.batchesDel(params).then(({ data }) => {\r\n let list = that.list\r\n .map((item) => {\r\n return params.id.split(\",\").includes(item.id + \"\") ? \"\" : item;\r\n })\r\n .filter((item) => item);\r\n that.list = list;\r\n that.$message.success(\"删除成功!\");\r\n that.manageType = false;\r\n });\r\n })\r\n .catch((_) => {});\r\n },\r\n // 跳转详情\r\n handleToDetail(item, key = { id: \"id\", datum_id: \"datum_id\" }) {\r\n if (Object.keys(item).includes(\"is_normal\") && !item.is_normal)\r\n return this.$message.error(\"该资料已下架\");\r\n this.$router.push({\r\n path: \"/information-details\",\r\n query: {\r\n url_id: item[key.id],\r\n id: item[key.datum_id],\r\n },\r\n });\r\n },\r\n // 筛选\r\n handleSearch(val) {\r\n if (!this.list_copy) this.list_copy = this.list;\r\n if (val) {\r\n this.list = this.list_copy.filter((item) => {\r\n return item.content.includes(val);\r\n });\r\n } else {\r\n this.list = this.list_copy;\r\n this.list_copy = \"\";\r\n }\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.wrap {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n .wrap-title {\r\n width: 80%;\r\n }\r\n .wrap-content {\r\n width: 80%;\r\n margin-top: 20px;\r\n .del-box {\r\n display: flex;\r\n align-items: center;\r\n margin: 0px 0 20px;\r\n .radio {\r\n width: 45px;\r\n display: flex;\r\n justify-content: center;\r\n margin-right: 20px;\r\n }\r\n .btn {\r\n width: 80px;\r\n height: 30px;\r\n border-radius: 17px;\r\n color: #ffffff;\r\n font-size: 16px;\r\n font-weight: 400;\r\n text-align: center;\r\n line-height: 30px;\r\n cursor: pointer;\r\n background: #ff9f18;\r\n }\r\n }\r\n .list {\r\n .list-item {\r\n margin-bottom: 20px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n position: relative;\r\n .radio {\r\n width: 45px;\r\n background-color: white;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n border-radius: 10px;\r\n }\r\n .card {\r\n width: 100%;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n.control-btn {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n user-select: none;\r\n .manage {\r\n width: 70px;\r\n height: 30px;\r\n background: #2a63f3;\r\n border-radius: 17px;\r\n font-size: 13px;\r\n font-weight: 400;\r\n text-align: center;\r\n line-height: 30px;\r\n color: #ffffff;\r\n margin-left: 10px;\r\n }\r\n .cancel {\r\n background: transparent;\r\n color: #1677ff;\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!./my-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!./my-comment.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./my-comment.vue?vue&type=template&id=552bc6b1&scoped=true&\"\nimport script from \"./my-comment.vue?vue&type=script&lang=js&\"\nexport * from \"./my-comment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-comment.vue?vue&type=style&index=0&id=552bc6b1&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 \"552bc6b1\",\n null\n \n)\n\nexport default component.exports","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n"],"sourceRoot":""}
|