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