diff --git a/index.html b/index.html
index 53a8115..43a3529 100644
--- a/index.html
+++ b/index.html
@@ -1,3 +1,10 @@
+
@@ -14,7 +21,6 @@
- sdfadsfasd
diff --git a/pages/goods/detail/index.vue b/pages/goods/detail/index.vue
index 912ab8a..1d8d11f 100644
--- a/pages/goods/detail/index.vue
+++ b/pages/goods/detail/index.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-23 17:27:21
* @LastEditors: ch
- * @LastEditTime: 2022-05-05 16:14:29
+ * @LastEditTime: 2022-05-05 17:19:09
* @Description: file content
-->
@@ -205,8 +205,10 @@ page {
padding: 20rpx;
}
.footer{
- height: 206rpx;
- padding: 0 30rpx 68rpx 30rpx;
+ padding: 30rpx;
+ padding-bottom: calc(constant(safe-area-inset-bottom) + 50rpx) ;
+ padding-bottom: calc(env(safe-area-inset-bottom) + 50rpx);
+ // box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
@@ -214,8 +216,6 @@ page {
bottom: 0;
left: 0;
right: 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
border-top-left-radius: 24rpx;
border-top-right-radius: 24rpx;
background: $color-grey0;
@@ -228,7 +228,9 @@ page {
color: $color-grey0;
text-align: center;
position: fixed;
- bottom: 206rpx;
+ z-index: 9;
+ bottom: calc(180rpx + constant(safe-area-inset-bottom)) ;
+ bottom: calc(180rpx + env(safe-area-inset-bottom));
}
&--left{
display: flex;