From 4bc1c36faeec2f90e5acfa836732e49fe0b245e9 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 12 四月 2024 20:47:03 +0800 Subject: [PATCH] 云学习11 --- packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss | 81 ++++++++++++++++++++++++++++++---------- 1 files changed, 61 insertions(+), 20 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss index de86a85..e0e3536 100644 --- a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss +++ b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss @@ -3,6 +3,10 @@ padding-top: 20rpx; } +.primary-color { + color: #ff6c00; +} + .resource-list { height: 80rpx; margin: 20rpx; @@ -46,10 +50,46 @@ 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 { width: 36rpx; height: 36rpx; +} + +.test-btn { + box-sizing: border-box; + display: flex; + justify-content: center; + align-items: center; + width: 176rpx; + height: 82rpx; +} + +.test-btn:last-child { + margin-left: 20rpx; +} + +.btn-content-text { + height: min-content; +} + +.btn-box { + display: flex; + width: 50%; } .practice-btn { @@ -76,42 +116,33 @@ .paper-btn, .error-btn, -.collect-btn { +.collect-btn, +.buy-mock-btn { --td-button-default-bg-color: #fff; --td-button-default-color: #0F1214; --td-button-default-active-bg-color: #fff0e6; --td-button-medium-font-size: 28rpx } +.buy-mock-btn { + --td-button-default-color: #ff6c00; +} + .card { position: relative; - margin: 32rpx; border-radius: 12rpx; overflow: hidden; box-sizing: border-box; border: 3rpx solid #ff6c00; - --td-radio-content-color: #0F1214; } .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; @@ -139,12 +170,12 @@ } .test-radio { - --td-radio-content-font-size: 28rpx; - --td-radio-vertical-padding: 0 + width: 49%; + display: flex; + justify-content: space-between; } .radio-content { - padding: 0 8rpx; display: flex; align-items: center; justify-content: center; @@ -161,8 +192,13 @@ height: 100rpx; display: flex; align-items: center; + justify-content: space-between; color: #333; font-size: 28rpx; +} + +.mack-num button { + margin: 0; } .mock-list-box { @@ -223,6 +259,7 @@ flex-direction: column; align-items: center; justify-content: center; + padding-bottom: 50rpx; } .not-mock image { @@ -246,4 +283,8 @@ .mock-price { color: #ff6c00; font-size: 36rpx; +} + +.t-radio__description { + width: 102%; } \ No newline at end of file -- Gitblit v1.9.1