From 15138a2ae174a53f3f4a1b319cd7659781a696e9 Mon Sep 17 00:00:00 2001 From: ‘chensiAb’ <‘chenchenco03@163.com’> Date: Thu, 10 Apr 2025 10:31:24 +0800 Subject: [PATCH] style:地图样式微调 --- plugins/baiduMap/CBaiduMap.weapp.vue | 4 ++-- plugins/baiduMap/cBaiduMap.scss | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/plugins/baiduMap/CBaiduMap.weapp.vue b/plugins/baiduMap/CBaiduMap.weapp.vue index c6247f3..2491458 100644 --- a/plugins/baiduMap/CBaiduMap.weapp.vue +++ b/plugins/baiduMap/CBaiduMap.weapp.vue @@ -28,7 +28,7 @@ type="primary" size="small" :onClick="evt => handleChooseLocation(evt)" - >选择位置</AtButton> + >选择地点</AtButton> <AtButton type="primary" size="small" @@ -41,7 +41,7 @@ size="small" class="btn-info" :onClick="evt => handleSaveLocation(evt)" - >保存</AtButton> + >确认</AtButton> </view> </view> </view> diff --git a/plugins/baiduMap/cBaiduMap.scss b/plugins/baiduMap/cBaiduMap.scss index 0bd329f..49d5f70 100644 --- a/plugins/baiduMap/cBaiduMap.scss +++ b/plugins/baiduMap/cBaiduMap.scss @@ -27,27 +27,32 @@ .map-controls-top { display: flex; + width: 100%; justify-content: space-between; align-items: center; height: 100px; padding: 0 20px; + box-sizing: border-box; .at-button { - width: 45%; + width: calc(50% - 6px); height: 76px !important; line-height: 72px; font-size: 40px; + margin: 0; } } .map-controls-bottom { display: flex; - align-items: center; - height: 100px; + width: 100%; + height: 88px; padding: 0 20px; + box-sizing: border-box; .at-button { - width: 95%; + width: 100%; height: 76px !important; line-height: 72px; font-size: 40px; + margin: 0; } } } -- Gitblit v1.9.1