1 line
9.8 KiB
JSON
1 line
9.8 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=0&id=30de9f9c&lang=scss&scoped=true&","dependencies":[{"path":"F:\\lixiaobang\\suyi1111\\suyiScreen\\src\\components\\layout\\header.vue","mtime":1676268486896},{"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\\sass-loader\\dist\\cjs.js","mtime":1670891612963},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoNCiRib3gtaGVpZ2h0OiA1MjBweDsNCiRib3gtd2lkdGg6IDEwMCU7DQo6OnYtZGVlcCAuZWwtaW5wdXRfX2lubmVyew0KICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDsNCn0NCiNoZWFkZXJzLWJve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GF5OiBmbGV4Ow0KICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7DQogICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuOw0KICAgIH0NCiAgfQ0KfQ0KLy8gOjp2LWRlZXAgIC5lbC1tZXNzYWdlLWJveHsNCi8vICAgYmFja2dyb3VuZDogdXJsKCcuLi8uLi9hc3NldHMvYm9yYWQtYmcucG5nJykgbm8tcmVwZWF0ICFpbXBvcnRhbnQ7DQovLyAgIGJhY2tncm91bmQ6IDEwMCUgMTAwJTsNCi8vIH0NCg=="},{"version":3,"sources":["header.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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 console.log(this.pageStatus,'this.pageStatus');\r\n if (this.pageStatus == 'goThree') {\r\n this.$parent.htStatus = 1\r\n this.$parent.handleMenus(0)\r\n this.pageStatus = '';\r\n this.$parent.popStatus = ''\r\n // this.$parent.menusArr.pop()\r\n }else{\r\n this.$router.push(\"/index\");\r\n }\r\n },\r\n goLogin(){\r\n if (this.$parent.jiangsuMapShow == true) {\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 }else{\r\n this.$parent.jiangsuMapShow = true\r\n this.$parent.qujiIconShow = false;\r\n window.setTimeout(()=>{\r\n this.$parent.shijiIconShow = true;\r\n },1600)\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// ::v-deep .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"]}]} |