From 29ce9df9a910188de01480e3ccf0fc3ec2a86f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=B9?= <> Date: Wed, 18 Dec 2024 18:08:43 +0800 Subject: [PATCH] . --- pages/index-map.vue | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/pages/index-map.vue b/pages/index-map.vue index 66cd84e..e8af2fe 100644 --- a/pages/index-map.vue +++ b/pages/index-map.vue @@ -1211,8 +1211,8 @@ } .popup-content { - max-height: calc(100vh - 88px); - overflow-y: scroll; + max-height: calc(100vh - 290px); + } // 水阀列表title @@ -1221,7 +1221,12 @@ overflow: hidden; border-radius: 10px 10px 0 0; margin-bottom: 0; - .gb{text-align: right;padding: 5px 5px 0 0;font-size: 14px;} + + .gb { + text-align: right; + padding: 5px 5px 0 0; + font-size: 14px; + } } .card { @@ -1249,7 +1254,6 @@ } - .sf-title { font-size: 24rpx; color: #999999; @@ -1281,48 +1285,38 @@ color: #999; padding: 0 10px; } - .box { transition: height 0.5s ease-out; - - } - .box.show { - height: calc(100% - 270px); + height: 260px; + overflow-y: scroll; .icon { transform: rotate(0deg); } } - .box.hide { height: 10px; - .icon { transform: rotate(180deg); } } - .expand { width: 100%; position: absolute; - left: 0; top: -10px; - transform: translateX(50%); .icon { - width: 16px; + text-align: center; + width: 100%; height: 16px; } - .iconfont { animation: iconleft 0.5s infinite ease-in-out alternate; color: #3399ff; } } - - @keyframes iconleft { from { transform: translateY(0px);