From 3d73fb33c46aada16a6060adcd4ea14bb33b6b2a Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 09 四月 2024 10:39:11 +0800 Subject: [PATCH] 详情页tabs样式优化,答题添加页面退出拦截,合并代码 --- pages/cart/index.wxss | 49 +++++++++++++++++++++++++++++-------------------- 1 files changed, 29 insertions(+), 20 deletions(-) diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index fcd49f8..8e0fe3b 100644 --- a/pages/cart/index.wxss +++ b/pages/cart/index.wxss @@ -25,30 +25,26 @@ } .outsideContentBox { - padding: 30rpx; + /* padding: 30rpx; */ background: #F2F3F8; border-radius: 18rpx 18rpx 18rpx 18rpx; padding-bottom: 325rpx; - /* height: 260rpx; */ + 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 { @@ -125,6 +121,7 @@ margin: 30rpx 0; border-radius: 18rpx 18rpx 18rpx 18rpx; height: 260rpx; + } .totalPriceText { @@ -150,7 +147,8 @@ .contentCheckbox { - width: 100rpx; + /* width: 100rpx; */ + margin-right: 30rpx; } .left-icon { @@ -162,8 +160,9 @@ .left-image { width: 152rpx; height: 212rpx; - background: #FFFFFF; + /* background: #FFFFFF; */ border-radius: 0rpx 0rpx 0rpx 0rpx; + box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); } .imageStyle { @@ -225,6 +224,8 @@ color: #fff; padding: 5rpx; font-size: 22rpx; + font-weight: 400; + } @@ -238,7 +239,7 @@ color: #fff; padding: 5rpx; font-size: 22rpx; - + font-weight: 400; } .boosName { @@ -246,18 +247,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; @@ -275,4 +280,8 @@ height: 80rpx; font-size: 28rpx; --td-loading-color: #ff6c00 +} + +.t-checkbox__content { + height: 0rpx !important; } \ No newline at end of file -- Gitblit v1.9.1