From a176628d529b6be5069c7c5744e401039cf69d4c Mon Sep 17 00:00:00 2001 From: anhaogxs <704041637@qq.com> Date: Fri, 21 May 2021 16:12:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/style.css | 9 +-------- assets/css/style.less | 10 +++++----- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 48c6cf2..acc3cfa 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1832,8 +1832,6 @@ page { z-index: 5; top: 0; /* #ifdef H5 */ - top: -webkit-calc(0 + env(safe-area-inset-top)); - top: calc(0 + env(safe-area-inset-top)); /* #endif */ } .shoppingCart .labelNav .item .iconfont { @@ -1855,8 +1853,6 @@ page { top: 76rpx; border-bottom: 1px solid #f5f5f5; /* #ifdef H5 */ - top: -webkit-calc(0 + env(safe-area-inset-top) + 76rpx); - top: calc(0 + env(safe-area-inset-top) + 76rpx); /* #endif */ } .shoppingCart .nav .administrate { @@ -1883,7 +1879,7 @@ page { height: 100%; } .shoppingCart .list { - margin-top: 156rpx; + margin-top: 80rpx; } .shoppingCart .list .item { padding: 25rpx 30rpx; @@ -6920,8 +6916,6 @@ page { overflow-x: hidden; overflow-scrolling: touch; /* #ifdef H5 */ - top: -webkit-calc(0 + env(safe-area-inset-top) + 88rpx); - top: calc(0 + env(safe-area-inset-top) + 88rpx); /* #endif */ } .productSort .aside .item { @@ -6941,7 +6935,6 @@ page { .productSort .conter { margin-left: 180rpx; padding: 0 14rpx; - margin-top: 96rpx; } .productSort .conter .listw { padding-top: 20rpx; diff --git a/assets/css/style.less b/assets/css/style.less index a4cf16c..cad44cb 100644 --- a/assets/css/style.less +++ b/assets/css/style.less @@ -2005,7 +2005,7 @@ page { z-index: 5; top: 0; /* #ifdef H5 */ - top: calc(0 + env(safe-area-inset-top)); + // top: calc(0 + env(safe-area-inset-top)); /* #endif */ } @@ -2028,7 +2028,7 @@ page { top: 0.76 * 100rpx; border-bottom: 1px solid #f5f5f5; /* #ifdef H5 */ - top: calc(0 + env(safe-area-inset-top) + 76rpx); + // top: calc(0 + env(safe-area-inset-top) + 76rpx); /* #endif */ } @@ -2059,7 +2059,7 @@ page { } .shoppingCart .list { - margin-top: 76+80rpx; + margin-top: .8 * 100rpx; } .shoppingCart .list .item { @@ -7617,7 +7617,7 @@ page { overflow-scrolling: touch; /* #ifdef H5 */ - top: calc(0 + env(safe-area-inset-top) + 88rpx); + // top: calc(0 + env(safe-area-inset-top) + 88rpx); /* #endif */ } @@ -7640,7 +7640,7 @@ page { .productSort .conter { margin-left: 1.8 * 100rpx; padding: 0 0.14 * 100rpx; - margin-top: 0.96 * 100rpx; + // margin-top: 0.96 * 100rpx; } .productSort .conter .listw {