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 { 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; } - +