diff --git a/src/views/oneMap/Echarts/publicEch.vue b/src/views/oneMap/Echarts/publicEch.vue index 6ab1b7d..2816357 100644 --- a/src/views/oneMap/Echarts/publicEch.vue +++ b/src/views/oneMap/Echarts/publicEch.vue @@ -2,11 +2,11 @@
@@ -598,7 +615,7 @@ position: absolute; top: 150px; right: 476px; - background: url('@/assets/images/Sponge_screen/TuChengBG.png') no-repeat center; + background: url("@/assets/images/Sponge_screen/TuChengBG.png") no-repeat center; background-size: contain; box-sizing: border-box; padding: 25px 0px; @@ -614,7 +631,7 @@ width: 190px; height: 25px; line-height: 25px; - background-image: url('@/assets/images/Sponge_screen/TuChengFenZuBG.png'), + background-image: url("@/assets/images/Sponge_screen/TuChengFenZuBG.png"), linear-gradient(to right, #1c899600, #1c8996, #1c899600); background-repeat: no-repeat; background-position: center; @@ -672,6 +689,14 @@ } } } +.TuChengImgTrue { + transform: translateX(460px); + transition: all 1s ease; +} +.TuChengImgFalse { + transform: translateX(0px); + transition: all 1s ease; +} // 动画 /* 进入和离开动画可以使用不同 diff --git a/src/views/oneMap/Echarts/publicEch.vue b/src/views/oneMap/Echarts/publicEch.vue index 6ab1b7d..2816357 100644 --- a/src/views/oneMap/Echarts/publicEch.vue +++ b/src/views/oneMap/Echarts/publicEch.vue @@ -2,11 +2,11 @@ @@ -598,7 +615,7 @@ position: absolute; top: 150px; right: 476px; - background: url('@/assets/images/Sponge_screen/TuChengBG.png') no-repeat center; + background: url("@/assets/images/Sponge_screen/TuChengBG.png") no-repeat center; background-size: contain; box-sizing: border-box; padding: 25px 0px; @@ -614,7 +631,7 @@ width: 190px; height: 25px; line-height: 25px; - background-image: url('@/assets/images/Sponge_screen/TuChengFenZuBG.png'), + background-image: url("@/assets/images/Sponge_screen/TuChengFenZuBG.png"), linear-gradient(to right, #1c899600, #1c8996, #1c899600); background-repeat: no-repeat; background-position: center; @@ -672,6 +689,14 @@ } } } +.TuChengImgTrue { + transform: translateX(460px); + transition: all 1s ease; +} +.TuChengImgFalse { + transform: translateX(0px); + transition: all 1s ease; +} // 动画 /* 进入和离开动画可以使用不同 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index e26dce0..70aad73 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -90,7 +90,13 @@ 监测时间 状态 -