From 55eade54b625255be5f6915e52db4af05db32d60 Mon Sep 17 00:00:00 2001 From: userGyl Date: Fri, 30 Jan 2026 16:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ln_jq_app/assets/html/map.html | 109 +++++++++--------- ln_jq_app/ios/Runner/Info.plist | 6 + .../pages/c_page/reservation/controller.dart | 10 +- .../lib/pages/c_page/reservation/view.dart | 23 ++-- ln_jq_app/lib/pages/login/view.dart | 16 ++- ln_jq_app/lib/pages/qr_code/controller.dart | 2 +- 6 files changed, 92 insertions(+), 74 deletions(-) diff --git a/ln_jq_app/assets/html/map.html b/ln_jq_app/assets/html/map.html index 8f8b21e..8bc6706 100644 --- a/ln_jq_app/assets/html/map.html +++ b/ln_jq_app/assets/html/map.html @@ -122,17 +122,19 @@ } /* --- 调整比例尺位置 --- */ -.amap-scalecontrol { - /* 初始状态:避开底部的定位按钮或留出安全间距 */ - bottom: 80px !important; - left: 10px !important; - transition: bottom 0.3s ease; /* 增加平滑动画 */ -} + .amap-scalecontrol { + /* 初始状态:避开底部的定位按钮或留出安全间距 */ + bottom: 80px !important; + left: 10px !important; + transition: bottom 0.3s ease; + /* 增加平滑动画 */ + } -/* --- 当路径规划面板显示时,比例尺自动上移 --- */ -body.panel-active .amap-scalecontrol { - bottom: 38% !important; /* 移动到面板上方 (面板高度35% + 3%间距) */ -} + /* --- 当路径规划面板显示时,比例尺自动上移 --- */ + body.panel-active .amap-scalecontrol { + bottom: 38% !important; + /* 移动到面板上方 (面板高度35% + 3%间距) */ + } /* --- 关键:当 body 有 panel-active 类时,按钮上移 --- */ body.panel-active #location-btn { @@ -180,7 +182,7 @@ body.panel-active .amap-scalecontrol {