suyiScreen/node_modules/.cache/vue-loader/c7ccf2b8e51f4748b8c81da9581...

1 line
7.9 KiB
JSON

{"remainingRequest":"F:\\lixiaobang\\suyi1111\\suyiScreen\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!F:\\lixiaobang\\suyi1111\\suyiScreen\\src\\components\\layout\\header.vue?vue&type=style&index=1&lang=css&","dependencies":[{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\src\\components\\layout\\header.vue","mtime":1675394621951},{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\node_modules\\css-loader\\dist\\cjs.js","mtime":1670891605104},{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1670891614531},{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\node_modules\\postcss-loader\\src\\index.js","mtime":1670891611021},{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1670891604112},{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\node_modules\\vue-loader\\lib\\index.js","mtime":1670891614530}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg0KLmVsLW1lc3NhZ2UtYm94ew0KICBiYWNrZ3JvdW5kOiB1cmwoJy4uLy4uL2Fzc2V0cy9ib3JhZC1iZy5wbmcnKSBuby1yZXBlYXQgIWltcG9ydGFudDsNCiAgYmFja2dyb3VuZDogMTAwJSAxMDAlOw0KfQ0K"},{"version":3,"sources":["header.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8MA;AACA;AACA;AACA","file":"header.vue","sourceRoot":"src/components/layout","sourcesContent":["<template>\r\n <div\r\n id=\"headers-box\"\r\n >\r\n <div id=\"headers\">\r\n <div class=\"left\">\r\n \r\n </div>\r\n <div class=\"right\">\r\n <div v-if=\"this.$route.path == '/index'\" style=\" width: 10%;display: flex;justify-content: space-between;align-items: center;\"><img src=\"../../assets/newbanImg/close.png\" style=\"width:25px;height:27px;cursor: pointer;\"@click=\"goLogin\"/>|</div>\r\n <div v-if=\"this.$route.path != '/index'\" style=\" width: 10%;display: flex;justify-content: space-between;align-items: center;\"><img src=\"../../assets/newbanImg/fanhui.png\" style=\"width:31px;height:26px;cursor: pointer;\" @click=\"goHome\"/>|</div>\r\n <img src=\"../../assets/newbanImg/user.png\" style=\"width:25px;height:25px\"/>|\r\n <div class=\"date\">\r\n <div class=\"time\" style=\"font-size:20px\">{{time}}</div>\r\n <div class=\"riqi\" style=\"font-size:12px\">{{year}}</div>\r\n </div>|\r\n <div class=\"tianqi\">\r\n <img src=\"../../assets/weather/Cloudy .png\" style=\"width:32px;height:32px\"/>\r\n <div class=\"tem\">\r\n <div style=\"font-size:20px\">25℃</div>\r\n <div style=\"font-size:12px\">15-25</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { formatTime } from \"../../utils/index.js\";\r\n// import BottomLeftChart from \"@/components/echart/bottom/bottomLeftChart\";\r\nexport default {\r\n props: {\r\n htStatus: {\r\n type: Number,\r\n // default: () => ({}),\r\n },\r\n searchShow: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n \r\n data() {\r\n return {\r\n name:'',\r\n searchShow1:true,\r\n timing: null,\r\n loading: true,\r\n dateDay: null,\r\n dateYear: null,\r\n dateWeek: null,\r\n weekday: [\"周日\", \"周一\", \"周二\", \"周三\", \"周四\", \"周五\", \"周六\"],\r\n decorationColor: [\"#568aea\", \"#000000\"],\r\n timeVal:'2022-11-30',\r\n searchVal:'',\r\n companyVal:'1',\r\n options: [{\r\n value: '1',\r\n label: '国网南京供电公司 陈堃'\r\n }],\r\n pageStatus:'',//返回保电场景\r\n time:'',//时间\r\n year:'',//年\r\n };\r\n },\r\n components: {\r\n // BottomLeftChart,\r\n },\r\n mounted() {\r\n //时间\r\n window.setInterval(()=>{\r\n this.time = this.$moment().format(\"hh:mm:ss\")\r\n },1000)\r\n this.year = this.$moment().format(\"YYYY-MM-DD\")\r\n //切换模型\r\n let that = this;\r\n window.addEventListener('message', function (e) {\r\n var res = e.data;\r\n if (res.val != null) {\r\n that.pageStatus = res.val\r\n }\r\n })\r\n this.timeFn();\r\n this.timeVal = new Date()\r\n this.searchShow1 = this.searchShow;\r\n },\r\n watch: {\r\n },\r\n methods: {\r\n /** 返回上一页 */\r\n goPage() {\r\n if(this.htStatus == 1 ){\r\n this.$router.push('/index');\r\n }else{\r\n this.$parent.handleHtweb()\r\n }\r\n \r\n },\r\n timeFn() {\r\n this.timing = setInterval(() => {\r\n this.dateDay = formatTime(new Date(), \"HH: mm: ss\");\r\n this.dateYear = formatTime(new Date(), \"yyyy年MM月dd日\");\r\n this.dateWeek = this.weekday[new Date().getDay()];\r\n }, 1000);\r\n },\r\n goHome() {\r\n if (this.pageStatus != '') {\r\n this.$parent.componentShow = \"\";\r\n this.$parent.modelOthers = false;\r\n this.$parent.htStatus = 1\r\n this.$parent.handleMenus(0)\r\n this.pageStatus = '';\r\n this.$parent.popStatus = ''\r\n }else{\r\n this.$router.push(\"/index\");\r\n }\r\n },\r\n goLogin(){\r\n this.$confirm('确定退出登录?', '确认信息', {\r\n distinguishCancelAndClose: true,\r\n confirmButtonText: '退出',\r\n cancelButtonText: '取消'\r\n })\r\n .then(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '返回登录'\r\n });\r\n this.$router.push('/')\r\n })\r\n .catch(action => {\r\n this.$message({\r\n type: 'info',\r\n message: action === 'cancel'\r\n ? '取消退出'\r\n : '停留在当前页面'\r\n })\r\n });\r\n },\r\n handle(){\r\n // window.parent.handledianwei();\r\n window.openVideo = \r\n setTimeout(() => {\r\n // this.carChangeShow = true;\r\n var url = 'https://ddns.thirdtec.cn:41127/njbd/video/index-copy.html'\r\n window.open(url, \r\n 'baidu', \r\n 'top=200,left=250,width=1500,height=680');\r\n }, 1000 * 1.5);\r\n }\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n$box-height: 520px;\r\n$box-width: 100%;\r\n::v-deep .el-input__inner{\r\n background: transparent;\r\n}\r\n#headers-box {\r\n width: 100%;\r\n height: 149px;\r\n background: url(\"../../assets/newbanImg/bgTop.png\") no-repeat;\r\n background-size: 100% 100%;\r\n z-index: 999;\r\n position: absolute !important;\r\n}\r\n#headers {\r\n width: 100%;\r\n height: 60%;\r\n padding: 5px 10px;\r\n box-sizing: border-box;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .left{\r\n height: 39px;\r\n width: 603px;\r\n background: url(\"../../assets/newbanImg/homeBg.png\") no-repeat;\r\n background-size: 100% 100%;\r\n }\r\n .right{\r\n width: 20%;\r\n height: 60%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n color:#ffffff;\r\n .date{\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .tianqi{\r\n width: 22%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n }\r\n }\r\n}\r\n\r\n</style>\r\n<style>\r\n.el-message-box{\r\n background: url('../../assets/borad-bg.png') no-repeat !important;\r\n background: 100% 100%;\r\n}\r\n</style>\r\n"]}]}