From 445f8b6e6a90e50322dbafa71e7263a52325b68b Mon Sep 17 00:00:00 2001 From: wgx <31655391@qq.com> Date: Sat, 15 Nov 2025 16:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=A7=E5=B1=8F=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=80=9F=E5=BA=A6=E5=92=8C=E6=89=93=E5=8C=85=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.css | 2 +- src/assets/css/index2.css | 2 +- src/pages/CqyzList/index.vue | 6 +++-- src/pages/Home/index map.vue | 26 ++++++++++++---------- src/pages/Home/index.vue | 28 ++++++++++++------------ src/pages/MywrList/index.vue | 6 +++-- src/pages/weather/weather.vue | 41 ++++++++--------------------------- 7 files changed, 47 insertions(+), 64 deletions(-) diff --git a/src/assets/css/index.css b/src/assets/css/index.css index e732a0d..53425f9 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -26,7 +26,7 @@ .btn_right_time{ position : relative; float : right; - width : 97%; + /*width : 97%;*/ height : 1.6vw; text-align : right; line-height : 1.6vw; diff --git a/src/assets/css/index2.css b/src/assets/css/index2.css index 3c9c8ce..4e4849b 100644 --- a/src/assets/css/index2.css +++ b/src/assets/css/index2.css @@ -53,7 +53,7 @@ .btn_right_time{ position : relative; float : right; - width : 97%; + /*width : 97%;*/ height : 1.6vw; text-align : right; line-height : 1.6vw; diff --git a/src/pages/CqyzList/index.vue b/src/pages/CqyzList/index.vue index 44eb9f7..2466947 100644 --- a/src/pages/CqyzList/index.vue +++ b/src/pages/CqyzList/index.vue @@ -665,7 +665,9 @@ export default { // 弹窗个人信息 infor(){ var onformation = JSON.parse(window.sessionStorage.getItem('password')); - this.inforname = onformation.realname + if(onformation){ + this.inforname = onformation.realname + } }, // 实时时间 getNowTime () { @@ -925,7 +927,7 @@ export default { .btn_right_time{ position : relative; float : right; - width : 97%; + //width : 97%; height : 1.6vw; text-align : right; line-height : 1.6vw; diff --git a/src/pages/Home/index map.vue b/src/pages/Home/index map.vue index e804575..5820c11 100644 --- a/src/pages/Home/index map.vue +++ b/src/pages/Home/index map.vue @@ -92,16 +92,16 @@ 农田面源污染监测站 -
- - 畜禽养殖污染监测站 - -
-
- - 太阳能诱虫灯 - -
+ + + + + + + + + +
@@ -638,7 +638,7 @@ export default { this.briefconValue = res.result.project_brief.detailList this.pestLightCount = res.result.pestLightCount this.stationCount0 = res.result.stationCount[0].stationCount - this.stationCount1 = res.result.stationCount[1].stationCount + // this.stationCount1 = res.result.stationCount[1].stationCount this.climate_env = res.result.climate_env.detailList this.water_conser = res.result.water_conser.detailList this.roll_info = res.result.roll_info @@ -1180,7 +1180,9 @@ export default { // 弹窗个人信息 infor(){ var onformation = JSON.parse(window.sessionStorage.getItem('password')); - this.inforname = onformation.realname + if(onformation){ + this.inforname = onformation.realname + } }, guanbi(){ this.dialogTableVisible = false diff --git a/src/pages/Home/index.vue b/src/pages/Home/index.vue index 3513826..c7b3855 100644 --- a/src/pages/Home/index.vue +++ b/src/pages/Home/index.vue @@ -19,10 +19,10 @@