From 8ebbc04a841525cdcaf08066798f33082a140137 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Thu, 26 Sep 2024 20:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=95=E9=83=A8=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/bottom-line/bottom-line.vue | 11 +++++++--- components/cart/cart.vue | 2 +- components/diy/footer.vue | 28 ++++++++++++++++++------- pages/goods-category/goods-category.vue | 2 +- 4 files changed, 30 insertions(+), 13 deletions(-) diff --git a/components/bottom-line/bottom-line.vue b/components/bottom-line/bottom-line.vue index ab0f40aa..b891a4dd 100644 --- a/components/bottom-line/bottom-line.vue +++ b/components/bottom-line/bottom-line.vue @@ -1,9 +1,11 @@ @@ -28,6 +30,9 @@ padding: 40rpx; overflow: hidden; } + .data-bottom-line .bottom-exclude { + padding-bottom: env(safe-area-inset-bottom); + } .data-bottom-line .item { width: 33.3%; } diff --git a/components/cart/cart.vue b/components/cart/cart.vue index 05441b6d..fbcb50bf 100644 --- a/components/cart/cart.vue +++ b/components/cart/cart.vue @@ -1315,7 +1315,7 @@ // 页面样式处理 page_style_handle() { - var value = (this.propCartNavBottomValue > 0) ? (parseInt(this.propCartNavBottomValue*2)+40) : 0; + var value = (this.propCartNavBottomValue > 0) ? (parseInt(this.propCartNavBottomValue*2)+20) : 0; this.setData({ cart_buy_nav_style: 'bottom:'+value+'rpx;', footer_seat_style: (value > 0) ? 'height:'+value+'rpx;' : '', diff --git a/components/diy/footer.vue b/components/diy/footer.vue index 693ecbd8..11561137 100644 --- a/components/diy/footer.vue +++ b/components/diy/footer.vue @@ -1,8 +1,8 @@