1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
{"remainingRequest":"G:\\project\\smart-power-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!G:\\project\\smart-power-ui\\src\\views\\bashboardcom\\newTD.vue?vue&type=style&index=0&lang=scss&","dependencies":[{"path":"G:\\project\\smart-power-ui\\src\\views\\bashboardcom\\newTD.vue","mtime":1618558827790},{"path":"G:\\project\\smart-power-ui\\node_modules\\css-loader\\dist\\cjs.js","mtime":1592876569350},{"path":"G:\\project\\smart-power-ui\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1610504274351},{"path":"G:\\project\\smart-power-ui\\node_modules\\postcss-loader\\src\\index.js","mtime":1591751774425},{"path":"G:\\project\\smart-power-ui\\node_modules\\sass-loader\\dist\\cjs.js","mtime":1612140853844},{"path":"G:\\project\\smart-power-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1591751767036},{"path":"G:\\project\\smart-power-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1610504274351}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCi5uZXctZGVzdGFpbCB7CiAgcGFkZGluZzogMjBweDsKICBkaXNwbGF5OiBmbGV4OwogIGp1c3RpZnktY29udGVudDogY2VudGVyOwogIGZsZXgtd3JhcDogd3JhcDsKICBoZWlnaHQ6IGF1dG87CiAgLmVsLWRpdmlkZXItLWhvcml6b250YWwgewogICAgbWFyZ2luOiAxNXB4IDA7CiAgfQp9Cg=="},{"version":3,"sources":["newTD.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"newTD.vue","sourceRoot":"src/views/bashboardcom","sourcesContent":["<template>\n <div\n class=\"new-destail\"\n v-loading=\"loading\"\n element-loading-text=\"加载中\"\n element-loading-spinner=\"el-icon-loading\"\n element-loading-background=\"rgba(0, 0, 0, 0.8)\"\n >\n <h3\n style=\"width: 100%;\n\t\ttext-align: center;\n\t\tline-height: 1.5;\n font-size: 18px;\n font-weight: 600;\n margin: 15px 0;\n\t\t\"\n >{{info.noticeTitle}}</h3>\n <span\n style=\"\n\t\twidth: 100%;\n text-align: center;\n color: #808080;\n line-height: 1.5;\n font: 13px/1.6 Arial,sans-serif,Tahoma,Roboto,'Source Code Pro';\n\t\t\"\n >发布时间:{{info.updateTime}}</span>\n <el-divider></el-divider>\n <div v-html=\"info.noticeContent\" style=\"padding: 20px;\"></div>\n\n <div style=\"\n position: fixed;\n bottom: 10px;\n right: 10px;\n \">\n <!-- <el-tooltip class=\"item\" effect=\"dark\" content=\"前往首页\" placement=\"top\">\n <el-button\n type=\"primary\"\n style=\"\n width: 50px;\n height: 50px;\n font-size: 25px;\n z-index: 100;\n \"\n icon=\"el-icon-back\"\n @click=\"toTableClick\"\n circle\n ></el-button>\n </el-tooltip> -->\n </div>\n </div>\n</template>\n<script>\nimport { getNotice } from \"@/api/system/notice\";\nexport default {\n name: \"NewsTableDetails\",\n props: {\n newId: {\n type: [Number, String]\n }\n },\n data() {\n return {\n info: {},\n loading: false\n };\n },\n created() {\n this.loading = true;\n },\n methods: {\n getNewsList(id) {\n getNotice(id)\n .then(response => {\n this.loading = false;\n this.info = response.data;\n })\n .catch(err => {\n this.loading = false;\n console.log(err);\n });\n },\n toTableClick() {\n this.$router.push({ path: \"/\" });\n }\n },\n watch: {\n newId: {\n handler() {\n this.loading = true;\n let noticeId = this.newId;\n if (noticeId || noticeId === 0) {\n this.getNewsList(noticeId);\n }\n },\n deep: true\n }\n }\n};\n</script>\n<style lang=\"scss\">\n.new-destail {\n padding: 20px;\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n height: auto;\n .el-divider--horizontal {\n margin: 15px 0;\n }\n}\n</style>\n"]}]} |