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 @@