From e999d3738d49d16e572cc143f93ce64633e9b775 Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Thu, 14 Aug 2025 09:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=B8=8B=E6=8B=89=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=92=8C=E5=8A=A0=E8=BD=BD=E6=9B=B4=E5=A4=9A=E7=9A=84?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=EF=BC=8C=E5=9C=B0=E5=8C=BA=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=98=AF=E7=BD=AEpage=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 167 +++++++++++++++++++++++------------------- 1 file changed, 93 insertions(+), 74 deletions(-) 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