diff --git a/pages/index/index.vue b/pages/index/index.vue index ebbd227..205545f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,59 +2,62 @@ - - - - - - - - - + + + + + + + + + + + + + 发布档口信息 + - - 发布档口信息 - - - - - - + + + - - - - - - - + - - - - - - - - - - + + + + + + + - - - - - + + - - - - - - - 餐厅推荐 - - - - {{ state.model.city_name ? state.model.city_name : '地区筛选'}} + + + + + + 餐厅推荐 + + + + {{ state.model.city_name ? state.model.city_name : '地区筛选'}} + + - - - - 查看更多 + + 查看更多 + + - - - - + + @@ -136,12 +137,12 @@ - + + + + - - - - + @@ -260,6 +261,7 @@ console.log('onRegionConfirm33', state.model, proCity.value); listQuery.value.province = state.model.province_id listQuery.value.city = state.model.city_id; + listQuery.value.page = 1; rentList.value = []; getList() state.showRegion = false; @@ -537,8 +539,22 @@ line-height: 22rpx; } + .scrollBox { + padding-bottom: constant(safe-area-inset-bottom); + /* iOS 11.0 - 11.1 */ + padding-bottom: env(safe-area-inset-bottom); + /* iOS 11.2+ */ + } + + /* 对于没有安全区域的设备,设置默认值 */ + @supports not (padding-bottom: env(safe-area-inset-bottom)) { + .scrollBox { + padding-bottom: 0; + } + } + .container { - min-height: 90vh; + height: 100%; width: 100%; background-color: #f7f7f7; // display: grid; @@ -760,6 +776,9 @@ } + .viewCan {} + + } \ No newline at end of file