1 line
4.3 KiB
JSON
1 line
4.3 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\\newDestail.vue?vue&type=style&index=0&lang=scss&","dependencies":[{"path":"G:\\project\\smart-power-ui\\src\\views\\bashboardcom\\newDestail.vue","mtime":1618559108636},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCi5uZXctZGVzdGFpbCB7CiAgcGFkZGluZzogMjBweDsKICBkaXNwbGF5OiBmbGV4OwogIGp1c3RpZnktY29udGVudDogY2VudGVyOwogIGZsZXgtd3JhcDogd3JhcDsKICBoZWlnaHQ6IGF1dG87CiAgLmVsLWRpdmlkZXItLWhvcml6b250YWwgewogICAgbWFyZ2luOiAxNXB4IDA7CiAgfQogIC5nZC1uZXdzIHsKICAgIG1hcmdpbi10b3A6IDVweDsKICB9CiAgLmdkLW5ld3M6aG92ZXIgewogICAgY29sb3I6ICMxODkwZmY7CiAgICBjdXJzb3I6IGRlZmF1bHQ7CiAgfQp9Cg=="},{"version":3,"sources":["newDestail.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"newDestail.vue","sourceRoot":"src/views/bashboardcom","sourcesContent":["<template>\n <div class=\"new-destail\">\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 <span @click=\"toNowsTable(info.noticeId)\" class=\"gd-news\">更多新闻。。。</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: \"NewDestail\",\n data() {\n return {\n info: {}\n };\n },\n created() {\n this.init();\n },\n methods: {\n init() {\n let noticeId = this.$router.currentRoute.query.newId;\n this.getNewsList(noticeId);\n },\n getNewsList(id) {\n getNotice(id)\n .then(response => {\n this.info = response.data;\n })\n .catch(err => {\n console.log(err);\n });\n },\n toNowsTable(id) {\n console.log(id);\n this.$router.push({ path: \"/news\", query: { newId: id } });\n },\n toTableClick() {\n this.$router.push({ path: \"/\" });\n }\n },\n watch: {\n $route: {\n handler() {\n let noticeId = this.$route.query.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 .gd-news {\n margin-top: 5px;\n }\n .gd-news:hover {\n color: #1890ff;\n cursor: default;\n }\n}\n</style>\n"]}]} |