1 |
- {"version":3,"sources":["webpack:///./src/components/card/information/study-history-card.vue?e5da","webpack:///./src/views/information/children/study-history.vue?d786","webpack:///./src/views/information/children/study-history.vue","webpack:///./src/components/card/information/study-history-card.vue","webpack:///src/components/card/information/study-history-card.vue","webpack:///./src/components/card/information/study-history-card.vue?fda5","webpack:///./src/components/card/information/study-history-card.vue?dccf","webpack:///src/views/information/children/study-history.vue","webpack:///./src/views/information/children/study-history.vue?4d52","webpack:///./src/views/information/children/study-history.vue?d400","webpack:///./src/components/card/card-module/card-box.vue?c44c","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/assets/icon/lapse.png","webpack:///./src/components/module/title-control.vue","webpack:///src/components/module/title-control.vue","webpack:///./src/components/module/title-control.vue?63cb","webpack:///./src/components/module/title-control.vue?b49c","webpack:///./src/components/card/card-module/card-file-detail.vue?806d","webpack:///./src/components/card/card-module/card-box.vue","webpack:///src/components/card/card-module/card-box.vue","webpack:///./src/components/card/card-module/card-box.vue?ffc1","webpack:///./src/components/card/card-module/card-box.vue?ebb6","webpack:///./src/components/module/title-control.vue?877f","webpack:///./node_modules/core-js/modules/es6.reflect.has.js"],"names":["render","_vm","this","_c","_self","staticClass","attrs","on","handleSearch","slot","manageType","$event","_v","changeAllChecked","model","value","allChecked","callback","$$v","expression","handleDelete","list","filter","item","checked","_e","_l","key","id","time","style","marginLeft","_s","slice","$set","width","handleToDetail","datum_id","finished","staticRenderFns","_g","staticStyle","btnList","$listeners","$emit","info","name","components","CardBox","CardFileDetail","props","type","Object","Boolean","default","data","computed","arr","userInfo","$store","state","component","StudyHistoryCard","TitleControl","params","page","page_num","sort_type","dateArr","list_copy","watch","val","forEach","mounted","getList","methods","TouchBottom","map","_this","DatumService","getLearnHistory","then","_ref","includes","push","_objectSpread","concat","_toConsumableArray","length","that","showConfirmPopup","join","GeneralService","delTrack","_ref2","split","$message","success","catch","_","arguments","undefined","keys","is_normal","error","$router","path","query","url_id","title","series_title","fileIcon","require","app_logo","app_name","read_num","Reflect","has","fileType","getFileType","url","getFileIcon","module","exports","showSearch","content","_t","String","required","del_Btn","show","stopPropagation","Array","del","_typeof","$export","S","target","propertyKey"],"mappings":"oKAAA,W,oCCAA,W,uDCAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,QAAQC,GAAG,CAAC,aAAeN,EAAIO,eAAe,CAACL,EAAG,MAAM,CAACE,YAAY,cAAcC,MAAM,CAAC,KAAO,WAAWG,KAAK,WAAW,CAAGR,EAAIS,WAAuIP,EAAG,MAAM,CAACE,YAAY,gBAAgBE,GAAG,CAAC,MAAQ,SAASI,GAAQV,EAAIS,YAAa,KAAS,CAACT,EAAIW,GAAG,8BAAhOT,EAAG,MAAM,CAACE,YAAY,SAASE,GAAG,CAAC,MAAQ,SAASI,GAAQV,EAAIS,YAAa,KAAQ,CAACT,EAAIW,GAAG,mCAAsK,GAAGT,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAAEJ,EAAIS,WAAYP,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,cAAc,CAACI,GAAG,CAAC,OAASN,EAAIY,kBAAkBC,MAAM,CAACC,MAAOd,EAAIe,WAAYC,SAAS,SAAUC,GAAMjB,EAAIe,WAAWE,GAAKC,WAAW,iBAAiB,GAAGhB,EAAG,MAAM,CAACE,YAAY,MAAME,GAAG,CAAC,MAAQ,SAASI,GAAQV,EAAImB,aACx4BnB,EAAIoB,KAAKC,QAAO,SAACC,GAAI,OAAKA,EAAKC,WAC/B,MACG,C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AAIwB,QAAQ,IAEzvBc,EAAkB,G,4qBC4BP,OACfO,KAAA,UACAI,MAAA,CACAR,QAAA,CACAS,KAAAiF,MACA9E,QAAA,SAAA6C,GAAA,YAGA5C,KAAA,WACA,UAEAC,SAAA,CACAyE,QAAA,WACA,IAAAI,EAAA,CAAAH,MAAA,GAQA,OAPA,KAAAxF,QAAA8B,SAAA,SAAAjD,GACA,iBAAAA,GAAA,OAAAA,EACA8G,EAAAH,MAAA,EACA,UAAAI,eAAA/G,IAAA,OAAAA,EAAA4B,OACAkF,EAAAhD,IAAA,GAAA9D,GAAA,IAAA2G,MAAA,QAGAG,KCnDgX,I,wBCQ5WxE,EAAY,eACd,EACA7D,EACAuC,GACA,EACA,KACA,WACA,MAIa,OAAAsB,E,2CCnBf,W,qBCCA,IAAI0E,EAAU,EAAQ,QAEtBA,EAAQA,EAAQC,EAAG,UAAW,CAC5BnB,IAAK,SAAaoB,EAAQC,GACxB,OAAOA,KAAeD,M","file":"js/chunk-7a912e88.32dcb5d8.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!./study-history-card.vue?vue&type=style&index=0&id=1f4d7c56&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!./study-history.vue?vue&type=style&index=0&id=4889a640&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(\n _vm.list.filter((item) => item.checked),\n 0\n )}}},[_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\"},[(item.time)?_c('div',{staticClass:\"time\",style:(_vm.manageType ? { marginLeft: '60px' } : '')},[_vm._v(\"\\n \"+_vm._s(item.time.slice(0, 10))+\"\\n \")]):_vm._e(),_c('div',{staticClass:\"item-box\"},[(_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('StudyHistoryCard',{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:\"video\",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=\"video\" @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 CardFileDetail from \"../card-module/card-file-detail.vue\";\r\n\r\nexport default {\r\n name: \"StudyHistoryCard\",\r\n components: { CardBox, 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};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card {\r\n width: 100%;\r\n height: 100%;\r\n .target {\r\n background: #f4f4f4;\r\n width: calc(100% - 20px);\r\n padding: 10px;\r\n margin: 10px 0;\r\n }\r\n .footer {\r\n margin-top: 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!./study-history-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!./study-history-card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./study-history-card.vue?vue&type=template&id=1f4d7c56&scoped=true&\"\nimport script from \"./study-history-card.vue?vue&type=script&lang=js&\"\nexport * from \"./study-history-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./study-history-card.vue?vue&type=style&index=0&id=1f4d7c56&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 \"1f4d7c56\",\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=\"\r\n handleDelete(\r\n list.filter((item) => item.checked),\r\n 0\r\n )\r\n \"\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\r\n class=\"time\"\r\n v-if=\"item.time\"\r\n :style=\"manageType ? { marginLeft: '60px' } : ''\"\r\n >\r\n {{ item.time.slice(0, 10) }}\r\n </div>\r\n <div class=\"item-box\">\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 <StudyHistoryCard\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 </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 StudyHistoryCard from \"@/components/card/information/study-history-card.vue\";\r\nimport TitleControl from \"@/components/module/title-control.vue\";\r\nimport { DatumService, GeneralService } from \"@/common/service\";\r\nexport default {\r\n components: { StudyHistoryCard, 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 type: 0,\r\n\r\n // 日期\r\n dateArr: [],\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.getLearnHistory(this.params).then(({ data }) => {\r\n const list = data.list.map((item) => {\r\n let time = item.time.slice(0, 10);\r\n this.dateArr.includes(time)\r\n ? (item.time = \"\")\r\n : this.dateArr.push(time);\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 };\r\n params.id = arr.map((item) => item.id).join(\",\");\r\n if (!params.id) return;\r\n GeneralService.delTrack(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.title.includes(val) || item.series_title.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 .time {\r\n font-size: 18px;\r\n color: #222222;\r\n margin-bottom: 15px;\r\n }\r\n .item-box {\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}\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 .is-read {\r\n width: 100px;\r\n height: 30px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #f4f4f4;\r\n border-radius: 17px;\r\n font-size: 13px;\r\n font-weight: 400;\r\n color: #1677ff;\r\n img {\r\n width: 15px;\r\n height: 15px;\r\n margin-right: 5px;\r\n }\r\n }\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!./study-history.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!./study-history.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./study-history.vue?vue&type=template&id=4889a640&scoped=true&\"\nimport script from \"./study-history.vue?vue&type=script&lang=js&\"\nexport * from \"./study-history.vue?vue&type=script&lang=js&\"\nimport style0 from \"./study-history.vue?vue&type=style&index=0&id=4889a640&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 \"4889a640\",\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!./card-box.vue?vue&type=style&index=0&id=1bcf8517&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==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABi9JREFUWEfNmV1sVEUUx/9nt7ZWW00RjLyIX6gPJKCSKAYVFcqHgIBJJYjRSndmJYYQkQcFP4H6gARDTLozLZaIEmyi8qViFUUlIgmoJCSigIovGsCQWgRLe+8xZ3PvZnrdbXfbbnXe9u6Zmd+cOXPOmTOEfrTVq1dfXFFRMT4Wi90JYBSA6wEMA1ARDNsO4BQR/UBEhzzP+3zIkCF7ampqzvV1WupLx1QqNYWIHmXmmURUXuAYZwFsIaJmpdQnBfZFQcDW2tnM/DyA0YVOlEN+PxG9qJTake94eQGvX7/+mq6urgYA1T0M3AngFwC/AmgnIhm7kpmvBHAVgJJcfYloRywWe6Kuru54b+C9Altra5jZArg0y2DHiKiFmT8oLS3dX1tb+3e2CdetW1dWXl4+jpmrmXkegBFZ5E7H4/HH6urqtvQE3SOwMeZZ2TJmjsrtJaIViURiJxFxb1px/5exGhsb72Pm5Q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RFSttZbK5IC2XOZBREeZObPTAFq11pMz58ulaGpqGuF53rcAqpwDuFEp9Ygc1AElzn1HdKdp8zzv5oULF/6UFVg+NjU1zfI8T+oTGXMhoo3MvGAQNS2eShQ0VynV4q4gVzFQ7nSrXEFmFvOYN9A2Lbvq+/47ETOQqZ/TWq+I7mrO+rAx5hUASyIdTjDzkoHyHoE3eDVayyOitUqpJ7OZYG8FbdH0yujhBLCPiFYmEon3C42IQUF7CjNLSTfjZ9MegIjlDSWbZnPacHRVgU1LKTRzEB2Z40S0yfO81s7Ozr25srwg6xpLRNOYWcq56XAbaVIsV1Gbzdskot7D9/3XXJeXZcIueZQhovSjjKhKHmUAhI8yYYqYbadbS0pKHl+wYEHGG+TySL0+yrgdJbj4vv+CGxH76eoOBs9e6aCQTysIOBwwyD1qg7tWmOXlM1866yKibcy8QXKDvDo5Qn0CDvtLatrW1iZJ9l3MPIqZbwjuh2IK0qQIIndGueYc8n3/izNnzuxZunTpX4WChvL/AMzbHPzNssRpAAAAAElFTkSuQmCC\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"title\"},[_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"left\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"center\"},[(_vm.showSearch)?_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"搜索\"},on:{\"change\":(val) => _vm.$emit('handleChange', val)},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:\"content\"}},[_c('i',{staticClass:\"el-icon-search el-input__icon\",attrs:{\"slot\":\"suffix\"},slot:\"suffix\"})]):_vm._e()],1),_c('div',{staticClass:\"right\"},[_vm._t(\"control\")],2)]),_c('div',{staticClass:\"bottom\"},[_vm._t(\"bottom\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"title\">\r\n <div class=\"top\">\r\n <div class=\"left\">{{ title }}</div>\r\n <div class=\"center\">\r\n <el-input\r\n v-if=\"showSearch\"\r\n clearable\r\n v-model=\"content\"\r\n placeholder=\"搜索\"\r\n @change=\"(val) => $emit('handleChange', val)\"\r\n >\r\n <i class=\"el-icon-search el-input__icon\" slot=\"suffix\"> </i>\r\n </el-input>\r\n </div>\r\n <div class=\"right\">\r\n <slot name=\"control\"></slot>\r\n </div>\r\n </div>\r\n <div class=\"bottom\">\r\n <slot name=\"bottom\"></slot>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"TitleControl\",\r\n props: {\r\n title: {\r\n type: String,\r\n required: true,\r\n },\r\n showSearch: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n content: \"\",\r\n };\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.title {\r\n width: 100%;\r\n background-color: white;\r\n border-radius: 15px;\r\n box-sizing: border-box;\r\n padding: 15px 20px;\r\n .top {\r\n height: 40px;\r\n display: flex;\r\n align-items: center;\r\n .left {\r\n color: #222222;\r\n font-weight: 500;\r\n font-size: 18px;\r\n width: 15%;\r\n }\r\n .center {\r\n margin-left: 12%;\r\n width: 45%;\r\n ::v-deep .el-input__inner,\r\n .el-autocomplete,\r\n .el-input {\r\n border-radius: 50px;\r\n width: 100%;\r\n }\r\n .my-autocomplete {\r\n li {\r\n line-height: normal;\r\n padding: 7px;\r\n\r\n .name {\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n }\r\n .addr {\r\n font-size: 12px;\r\n color: #b4b4b4;\r\n }\r\n\r\n .highlighted .addr {\r\n color: #ddd;\r\n }\r\n }\r\n }\r\n }\r\n .right {\r\n width: 28%;\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!./title-control.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!./title-control.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./title-control.vue?vue&type=template&id=52e2b05d&scoped=true&\"\nimport script from \"./title-control.vue?vue&type=script&lang=js&\"\nexport * from \"./title-control.vue?vue&type=script&lang=js&\"\nimport style0 from \"./title-control.vue?vue&type=style&index=0&id=52e2b05d&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 \"52e2b05d\",\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!./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:\"card-box\"},[_vm._t(\"default\"),_c('div',{staticClass:\"btn-box\"},[(_vm.del_Btn.show)?_c('div',{staticClass:\"del-btn\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('handleDelete')}}},[_c('span',[_vm._v(_vm._s(_vm.del_Btn.value || \"删除\"))])]):_vm._e(),(_vm.btnList.includes('isRead'))?_c('div',{staticClass:\"mark-read-btn\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('handleRead')}}},[_c('span',[_vm._v(\"标记已读\")])]):_vm._e(),(_vm.btnList.includes('unRead'))?_c('div',{staticClass:\"mark-unread-btn\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('handleRead')}}},[_c('span',[_vm._v(\"标记未读\")])]):_vm._e()])],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"card-box\">\r\n <slot></slot>\r\n <div class=\"btn-box\">\r\n <div\r\n class=\"del-btn\"\r\n v-if=\"del_Btn.show\"\r\n @click.stop=\"$emit('handleDelete')\"\r\n >\r\n <span>{{ del_Btn.value || \"删除\" }}</span>\r\n </div>\r\n <div\r\n class=\"mark-read-btn\"\r\n v-if=\"btnList.includes('isRead')\"\r\n @click.stop=\"$emit('handleRead')\"\r\n >\r\n <span>标记已读</span>\r\n </div>\r\n <div\r\n class=\"mark-unread-btn\"\r\n v-if=\"btnList.includes('unRead')\"\r\n @click.stop=\"$emit('handleRead')\"\r\n >\r\n <span>标记未读</span>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"CardBox\",\r\n props: {\r\n btnList: {\r\n type: Array,\r\n default: (_) => [],\r\n },\r\n },\r\n data() {\r\n return {};\r\n },\r\n computed: {\r\n del_Btn() {\r\n let del = { show: false };\r\n this.btnList.forEach((item) => {\r\n if (typeof item == \"string\" && item == \"del\") {\r\n del.show = true;\r\n } else if (typeof item == \"object\" && item.type == \"del\") {\r\n del = { ...item, show: true };\r\n }\r\n });\r\n return del;\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.card-box {\r\n background: white;\r\n border-radius: 12px;\r\n position: relative;\r\n box-sizing: border-box;\r\n\r\n .btn-box {\r\n position: absolute;\r\n right: -80px;\r\n bottom: 0;\r\n div {\r\n width: 70px;\r\n height: 70px;\r\n border-radius: 10px;\r\n text-align: center;\r\n box-sizing: border-box;\r\n padding: 20px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n margin-top: 10px;\r\n user-select: none;\r\n font-size: 12px;\r\n cursor: pointer;\r\n }\r\n .del-btn {\r\n background-color: #e5e5e5;\r\n color: #999999;\r\n }\r\n .mark-read-btn {\r\n background-color: white;\r\n color: #2a63f3;\r\n }\r\n .mark-unread-btn {\r\n background-color: white;\r\n color: #333333;\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-box.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./card-box.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./card-box.vue?vue&type=template&id=1bcf8517&scoped=true&\"\nimport script from \"./card-box.vue?vue&type=script&lang=js&\"\nexport * from \"./card-box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./card-box.vue?vue&type=style&index=0&id=1bcf8517&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 \"1bcf8517\",\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!./title-control.vue?vue&type=style&index=0&id=52e2b05d&prod&lang=scss&scoped=true&\"","// 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":""}
|