From 04c7b0163caeae4ab1c5da62e301fa993101cfad Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 31 三月 2025 10:40:45 +0800 Subject: [PATCH] bug修改 --- packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss | 77 ++++++++++++++++++++++++++++---------- 1 files changed, 57 insertions(+), 20 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss index 982fb06..f849208 100644 --- a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss +++ b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss @@ -41,7 +41,8 @@ display: flex; justify-content: space-evenly; align-items: center; - padding: 0 0 20rpx 15rpx; + /* padding: 0 0 20rpx 15rpx; */ + padding: 5rpx; border-bottom: 1px solid #EFF0F1; } @@ -50,10 +51,48 @@ align-items: center; } +.image-box { + display: flex; + align-items: center; + width: 32rpx; + height: 32rpx; +} + +.image-box image { + height: 32rpx; +} + .top-btn image { margin-right: 4rpx; +} + +.btn-box image, +.buy-question-btn image { width: 36rpx; height: 36rpx; +} + +.test-btn { + box-sizing: border-box; + display: flex; + justify-content: center; + align-items: center; + width: 176rpx; + height: 80rpx; +} + +.test-btn:last-child { + margin-left: 20rpx; +} + +.btn-content-text { + height: min-content; +} + +.btn-box { + display: flex; + justify-content: space-between; + width: 50%; } .practice-btn { @@ -96,31 +135,18 @@ .card { position: relative; - margin: 32rpx; border-radius: 12rpx; overflow: hidden; box-sizing: border-box; border: 3rpx solid #ff6c00; - --td-radio-content-color: #0F1214; + color: #ff6c00; } .card--active { - border-color: #ff6c00; - --td-radio-bg-color: #ff6c00; - --td-radio-content-color: #fff; + background-color: #ff6c00; + color: #fff; } -/* .card--active::after { - content: ''; - display: block; - position: absolute; - left: 0; - top: 0; - width: 0; - border: 14px solid #0052d9; - border-bottom-color: transparent; - border-right-color: transparent; -} */ .card__icon { color: #fff; @@ -148,8 +174,9 @@ } .test-radio { - --td-radio-content-font-size: 28rpx; - --td-radio-vertical-padding: 0 + width: 49%; + display: flex; + justify-content: space-between; } .radio-content { @@ -166,7 +193,7 @@ .mack-num { width: 100%; - height: 100rpx; + height: 106rpx; display: flex; align-items: center; justify-content: space-between; @@ -264,4 +291,14 @@ .t-radio__description { width: 102%; +} + +.buy-question-btn { + padding-right: 5rpx; + display: flex; + justify-content: flex-end; +} + +.buy-question-btn image { + margin-right: 4rpx; } \ No newline at end of file -- Gitblit v1.9.1