From 1f65cbd59bf722aba5e56e425024f8f4cec48b33 Mon Sep 17 00:00:00 2001 From: Gaoxs <704041637@qq.com> Date: Tue, 20 Oct 2020 10:29:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=94=B6=E8=B4=A7?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E8=A2=AB=E6=8C=A1=E4=BD=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/CitySelect.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/CitySelect.vue b/components/CitySelect.vue index ba20f4f..d8d8add 100644 --- a/components/CitySelect.vue +++ b/components/CitySelect.vue @@ -195,7 +195,6 @@ export default { background-color: #fff; z-index: 1502; position: relative; - height: 800rpx; padding-bottom: 0; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); @@ -203,7 +202,7 @@ export default { height: 100%; } .swiper { - height: 100%; + height: 800rpx; } } .cityselect-header { From edb04ebb20b8ea214257f2fee76632f61565ea89 Mon Sep 17 00:00:00 2001 From: Gaoxs <704041637@qq.com> Date: Tue, 20 Oct 2020 10:45:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=89=E5=8D=93=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=90=8E=E9=A6=96=E9=A1=B5=E4=B8=8D=E6=96=AD?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 0d94ee2..06fe5d1 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -214,7 +214,7 @@ }, }, - onShow: function() { + onLoad: function() { this.getLocation() let that = this; uni.showLoading({ @@ -451,7 +451,7 @@ } .nav-title { - margin-left: 20rpx; + margin-left: 20rpx; line-height: 40px; } - +