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 | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index d83487e..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; @@ -251,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