From 230c0da617bed5093b3b2832d9b53962bb5c6781 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 22 三月 2024 10:46:39 +0800 Subject: [PATCH] 上拉刷新下拉加载 --- pages/cart/index.wxss | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index 6323f54..b802a96 100644 --- a/pages/cart/index.wxss +++ b/pages/cart/index.wxss @@ -28,19 +28,17 @@ 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; + /* bottom: 0; */ left: 0; right: 0; - - padding-bottom: 53px; - height: 112rpx; + bottom: calc(env(safe-area-inset-bottom) + 112rpx); + height: 120rpx; background: #FFFFFF; box-shadow: 0rpx -2rpx 0rpx 2rpx rgba(0, 0, 0, 0.08); display: flex; @@ -228,6 +226,7 @@ background: #5F92FD; text-align: center; line-height: 38rpx; + border-radius: 9rpx; } .boosName { @@ -237,6 +236,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 +249,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