feat: 小程序界面优化

This commit is contained in:
2026-07-23 14:00:03 +08:00
committed by charles
parent 4b7334d278
commit 26c863fbfb
6 changed files with 51 additions and 25 deletions
+6 -4
View File
@@ -440,7 +440,8 @@ export default {
<style lang="scss" scoped>
.shopping_cart_warp {
background-color: $app-bj;
padding: 104rpx 30rpx 30rpx;
padding: constant(safe-area-inset-top) 30rpx 30rpx;
padding: env(safe-area-inset-top) 30rpx 30rpx;
overflow: hidden;
&.isDataNull-calss {
@@ -455,7 +456,7 @@ export default {
height: calc(100vh - 100rpx - 50rpx) !important;
.shopping_cart_content {
height: calc(100vh - 104rpx - 30rpx - 30rpx - 100rpx - 10rpx) !important;
// height: calc(100vh - 104rpx - 30rpx - 30rpx - 100rpx - 10rpx) !important;
}
.shopping_cart_but {
@@ -468,7 +469,7 @@ export default {
display: flex;
justify-content: space-between;
color: #222222;
margin-top: 160rpx;
.cart {
font-weight: bold;
font-size: 38rpx;
@@ -543,7 +544,8 @@ export default {
.shopping_cart_but {
position: fixed;
bottom: calc(90rpx + env(safe-area-inset-bottom));
bottom: 0;
// bottom: calc(90rpx + env(safe-area-inset-bottom));
left: 0;
width: calc(100% - 40rpx);
background: #ffffff;