diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 6e22272c568b229f5b7ac597abcbfde96698a40a..fe3147133c4a3466f6de5798c807ebf5e3e25e0a 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -52,8 +52,8 @@ body { position: absolute; left: 790px; top: 89px; - width: 350px; - height: 50px; + width: 370px;/*原来350px*/ + height: 70px;/*原来50px*/ z-index: 7; } #item9db74920-78f8-11ec-a3e6-b9940a698494 { @@ -143,7 +143,7 @@ body { left: 25px; top: 90px; width: 1895px; - height: 50px; + height: 70px;/*原来50px*/ z-index: 6; } #item30dbd420-7807-11ec-94a6-35c656a9d7d1 { @@ -151,8 +151,8 @@ body { position: absolute; left: 0px; top: 0px; - width: 700px; - height: 50px; + width: 720px;/*原来700px*/ + height: 70px;/*原来50px*/ z-index: 2; } #item9c5804f0-7800-11ec-94a6-35c656a9d7d1 { @@ -269,7 +269,7 @@ body { left: 1175px; top: 0px; width: 720px; - height: 50px; + height: 70px; z-index: 1; } #itemdc844880-7801-11ec-94a6-35c656a9d7d1 { diff --git a/src/views/MainPage.vue b/src/views/MainPage.vue index 90d749e4da5d59d98304e7cbb5040bebf7fe5d2a..282f4af1b684db00f5c7b571e592d56638cbbff1 100644 --- a/src/views/MainPage.vue +++ b/src/views/MainPage.vue @@ -26,7 +26,7 @@
-
+
@@ -62,7 +63,7 @@ -
+
@@ -98,7 +100,7 @@ -
+
@@ -140,7 +143,7 @@
-
+
@@ -176,7 +180,7 @@ -
+
@@ -212,7 +217,7 @@ -
+
@@ -248,7 +254,7 @@ -
+
@@ -500,6 +507,8 @@ export default { }, data() { return { + centercolor: ['#122e59', '#40b4fc', '#122e59'], + leftcolor: ['#40b4fc', '#122e59', '#122e59', '#122e59'], StatusCarditemfd1cd9c1_7925_11ec_8bea_d1ecd897e10eData: { responseData: [] } @@ -602,6 +611,19 @@ export default { this.$Socket.close() }, methods: { + // 中间三个按钮的变色方法 + changeCentercolor(a) { + console.log(a) + this.centercolor = ['#122e59', '#122e59', '#122e59'] + this.centercolor[a] = '#40b4fc' + console.log(this.centercolor[a]) + }, + changeLeftcolor(a) { + console.log(a) + this.leftcolor = ['#122e59', '#122e59', '#122e59', '#122e59'] + this.leftcolor[a] = '#40b4fc' + console.log(this.leftcolor[a]) + }, // 页面标题 pageTitle() { // 基于准备好的dom,初始化echarts实例 @@ -1212,4 +1234,88 @@ export default { } - + +