From 1cad6ba03f8cb848352c6739c54395128e73485f Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 16:00:53 +0800 Subject: [PATCH] 资源购买页布局调整 --- pages/cart/index.wxss | 34 +++++++++++++++++++++++++--------- 1 files changed, 25 insertions(+), 9 deletions(-) diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index 6323f54..88ecf3a 100644 --- a/pages/cart/index.wxss +++ b/pages/cart/index.wxss @@ -28,23 +28,27 @@ padding: 30rpx; background: #F2F3F8; border-radius: 18rpx 18rpx 18rpx 18rpx; - padding-bottom: 230rpx; + padding-bottom: 325rpx; /* height: 260rpx; */ } .bottomBox { - background-color: #0052d9; - position: fixed; - bottom: 0; + /* position: fixed; left: 0; right: 0; - - padding-bottom: 53px; - height: 112rpx; + bottom: calc(env(safe-area-inset-bottom) + 88rpx); */ + height: 120rpx; background: #FFFFFF; box-shadow: 0rpx -2rpx 0rpx 2rpx rgba(0, 0, 0, 0.08); display: flex; align-items: center; + position: fixed; + bottom: 0; + left: 0; + right: 0; + height: 44px; + padding-bottom: 80px; + padding-top: 10rpx; } .checkGroupBox { @@ -194,9 +198,7 @@ .titleBox { display: flex; flex-direction: row; - margin: 15rpx; - } .descriptionBox { @@ -228,6 +230,7 @@ background: #5F92FD; text-align: center; line-height: 38rpx; + border-radius: 9rpx; } .boosName { @@ -237,6 +240,10 @@ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; + font-family: PingFang SC, PingFang SC; + font-weight: bold; + font-size: 29rpx; + color: #333333; } .textBox { @@ -246,4 +253,13 @@ color: #333333; /* margin: 10rpx 0; */ margin-bottom: 20rpx; +} + +.bottom-box { + display: flex; + justify-content: center; + color: #999; + height: 80rpx; + font-size: 28rpx; + --td-loading-color: #ff6c00 } \ No newline at end of file -- Gitblit v1.9.1