From 338ad19ee45b5380a0d8433cbbce2a727a576dfa Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 19 四月 2024 17:34:36 +0800 Subject: [PATCH] bug2 --- pages/cart/index.wxss | 57 +++++++++++++++++++++++++++++++++------------------------ 1 files changed, 33 insertions(+), 24 deletions(-) diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index 5fe8864..ca38e42 100644 --- a/pages/cart/index.wxss +++ b/pages/cart/index.wxss @@ -1,4 +1,6 @@ /* pages/cart/item.wxss */ +@import "./index.skeleton.wxss"; + .btn-wrapper { height: 100%; } @@ -28,35 +30,30 @@ /* padding: 30rpx; */ background: #F2F3F8; border-radius: 18rpx 18rpx 18rpx 18rpx; - padding-bottom: 325rpx; - height: calc(100vh - 300rpx); + /* padding-bottom: 325rpx; */ + height: calc(100vh - 250rpx); + /* width: calc(100vw - 60rpx); */ } .bottomBox { - /* position: fixed; - left: 0; - right: 0; - bottom: calc(env(safe-area-inset-bottom) + 88rpx); */ - height: 120rpx; + + /* height: 135rpx; */ + height: 100rpx; background: #FFFFFF; - box-shadow: 0rpx -2rpx 0rpx 2rpx rgba(0, 0, 0, 0.08); display: flex; align-items: center; position: fixed; bottom: calc(env(safe-area-inset-bottom) + 100rpx); left: 0; right: 0; - /* height: 44px; */ - /* padding-bottom: 90px; */ - /* padding-top: 10rpx; */ } .checkGroupBox { /* flex: 1; */ margin: 0 30rpx; - width: 120rpx; + min-width: 120rpx; } @@ -71,17 +68,22 @@ .totalPrice { flex: 1; /* margin: 0 50rpx; */ - + min-width: 295rpx; } .buttonBox { margin-right: 80rpx; + min-width: 200rpx; } .tButtonBox { /* background-color: #FF6C00; */ width: 200rpx; height: 80rpx; +} + +.t-button__content { + min-width: 170rpx; } checkbox .wx-checkbox-input { @@ -127,11 +129,11 @@ margin: 30rpx 0; border-radius: 18rpx 18rpx 18rpx 18rpx; height: 260rpx; - } .totalPriceText { color: #FF6C00; + min-width: 133rpx; } .LaelBox { @@ -184,13 +186,14 @@ padding: 0 !important; } -.t-button--default { +/* .t-button--default { background-color: #FF6C00 !important; -} +} */ .noDataBox { width: 100%; - margin-top: 200rpx; + /* margin-top: 200rpx; */ + height: 620rpx; display: flex; justify-content: center; align-items: center; @@ -230,6 +233,8 @@ color: #fff; padding: 5rpx; font-size: 22rpx; + font-weight: 400; + } @@ -243,7 +248,7 @@ color: #fff; padding: 5rpx; font-size: 22rpx; - + font-weight: 400; } .boosName { @@ -251,18 +256,22 @@ font-weight: bold; font-size: 29rpx; margin: 0 10rpx; - /* + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + + +} + +/* overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; */ - /* display: inline; */ - - -} - +/* display: inline; */ .textBox { font-family: PingFang SC, PingFang SC; font-weight: 400; -- Gitblit v1.9.1