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 | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index 5fe8864..8e0fe3b 100644 --- a/pages/cart/index.wxss +++ b/pages/cart/index.wxss @@ -29,28 +29,22 @@ background: #F2F3F8; border-radius: 18rpx 18rpx 18rpx 18rpx; padding-bottom: 325rpx; - height: calc(100vh - 300rpx); + 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 { @@ -230,6 +224,8 @@ color: #fff; padding: 5rpx; font-size: 22rpx; + font-weight: 400; + } @@ -243,7 +239,7 @@ color: #fff; padding: 5rpx; font-size: 22rpx; - + font-weight: 400; } .boosName { @@ -251,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; -- Gitblit v1.9.1