diff --git a/src/App.vue b/src/App.vue
index ef8a319..0e5449a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -9,6 +9,7 @@
margin: 0;
padding: 0;
font-family: "MicrosoftYaHei" !important;
+ background: transparent;
}
#app {
@@ -17,8 +18,8 @@
/* width: 100vw;
height: 100vh; */
overflow: hidden;
- background-image: url(./assets/img/左遮罩.png), url(./assets/img/右遮罩.png),
- url(./assets/img/遮罩上.png), url(./assets/img/下遮罩.png);
- background-color: transparent;
+ /* background-image: url(./assets/img/左遮罩.png), url(./assets/img/右遮罩.png),
+ url(./assets/img/遮罩上.png), url(./assets/img/下遮罩.png); */
+ background: transparent;
}
diff --git a/src/views/Index.vue b/src/views/Index.vue
index a963bd5..1c3f7dc 100644
--- a/src/views/Index.vue
+++ b/src/views/Index.vue
@@ -120,10 +120,10 @@ export default {
};
},
methods: {
- sendMessageToCSharp() {
+ sendMessageToCSharp(name) {
window.vuplex.postMessage({
type: "Tog",
- message: "碳资产管理_true",
+ message: `${name}_true`,
});
},
go1() {
@@ -133,6 +133,7 @@ export default {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
+ this.sendMessageToCSharp("生产工艺");
// this.$router.push(
// "/znywjk",
// () => {},
@@ -146,6 +147,7 @@ export default {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
+ this.sendMessageToCSharp("能源监测");
this.$router.push(
"/area",
() => {},
@@ -159,6 +161,7 @@ export default {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
+ this.sendMessageToCSharp("负荷管理");
this.$router.push(
"/fhgl",
() => {},
@@ -172,6 +175,7 @@ export default {
this.flag4 = false;
this.flag5 = true;
this.flag6 = true;
+ this.sendMessageToCSharp("能效管理");
this.$router.push(
"/nxgl",
() => {},
@@ -185,6 +189,7 @@ export default {
this.flag4 = true;
this.flag5 = false;
this.flag6 = true;
+ this.sendMessageToCSharp("智能运维");
this.$router.push(
"/znyw",
() => {},
@@ -198,6 +203,7 @@ export default {
this.flag4 = true;
this.flag5 = true;
this.flag6 = false;
+ this.sendMessageToCSharp("碳资产管理");
this.$router.push(
"/tzcgl",
() => {},
@@ -213,13 +219,12 @@ export default {
padding: 0;
border: none;
}
-
.content {
width: 100%;
height: 100%;
- background-color: transparent;
background: url(../assets/img/标题.png);
background-size: cover;
+ background-color: transparent;
.box1 {
position: absolute;
@@ -235,7 +240,7 @@ export default {
width: 216px;
height: 46px;
font-size: 50px;
- font-family: FZZhengHeiS-B-GB;
+ font-family: "FZZhengHeiS-B-GB";
font-weight: 400;
color: #ffffff;
line-height: 20px;
@@ -256,7 +261,7 @@ export default {
width: 216px;
height: 46px;
font-size: 50px;
- font-family: FZZhengHeiS-B-GB;
+ font-family: "FZZhengHeiS-B-GB";
font-weight: 400;
color: #ffffff;
line-height: 20px;
@@ -277,7 +282,7 @@ export default {
width: 216px;
height: 46px;
font-size: 50px;
- font-family: FZZhengHeiS-B-GB;
+ font-family: "FZZhengHeiS-B-GB";
font-weight: 400;
color: #ffffff;
line-height: 20px;
@@ -298,7 +303,7 @@ export default {
width: 216px;
height: 46px;
font-size: 50px;
- font-family: FZZhengHeiS-B-GB;
+ font-family: "FZZhengHeiS-B-GB";
font-weight: 400;
color: #ffffff;
line-height: 20px;
@@ -319,7 +324,7 @@ export default {
width: 216px;
height: 46px;
font-size: 50px;
- font-family: FZZhengHeiS-B-GB;
+ font-family: "FZZhengHeiS-B-GB";
font-weight: 400;
color: #ffffff;
line-height: 20px;
@@ -340,7 +345,7 @@ export default {
width: 216px;
height: 46px;
font-size: 50px;
- font-family: FZZhengHeiS-B-GB;
+ font-family: "FZZhengHeiS-B-GB";
font-weight: 400;
color: #ffffff;
line-height: 20px;
diff --git a/src/views/lll/AREA.vue b/src/views/lll/AREA.vue
index 3aa774a..6201aa0 100644
--- a/src/views/lll/AREA.vue
+++ b/src/views/lll/AREA.vue
@@ -9,11 +9,12 @@
(dian = true),
(shui = false),
(mei = false),
- $router.push(
- '/area/nyjcd',
- () => {},
- () => {}
- )
+ sendMessageToCSharp('能源监测_电');
+ $router.push(
+ '/area/nyjcd',
+ () => {},
+ () => {}
+ );
"
/>
@@ -25,11 +26,12 @@
(dian = false),
(shui = true),
(mei = false),
- $router.push(
- '/area/nyjcs',
- () => {},
- () => {}
- )
+ sendMessageToCSharp('能源监测_水');
+ $router.push(
+ '/area/nyjcs',
+ () => {},
+ () => {}
+ );
"
/>
@@ -41,11 +43,12 @@
(dian = false),
(shui = false),
(mei = true),
- $router.push(
- '/area/nyjcm',
- () => {},
- () => {}
- )
+ sendMessageToCSharp('能源监测_煤');
+ $router.push(
+ '/area/nyjcm',
+ () => {},
+ () => {}
+ );
"
/>
@@ -64,6 +67,14 @@ export default {
mei: false,
};
},
+ methods: {
+ sendMessageToCSharp(name) {
+ window.vuplex.postMessage({
+ type: "Tog",
+ message: `${name}_true`,
+ });
+ },
+ },
};