From 253245731d2b0c5ea4994a9c4e17ad6b60136f2c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 09 四月 2024 15:38:26 +0800 Subject: [PATCH] 答题器提交功能优化 --- packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss | 87 ++++++++++++++++++++++++++++++++++++------- 1 files changed, 72 insertions(+), 15 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss index 10592fc..982fb06 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; @@ -11,6 +15,11 @@ justify-content: space-between; align-items: center; background-color: #FFF6F0; +} + +.list-title { + display: flex; + align-items: center; } .list-title image { @@ -31,11 +40,18 @@ .top-btn { display: flex; justify-content: space-evenly; - padding-left: 15rpx; + align-items: center; + padding: 0 0 20rpx 15rpx; + border-bottom: 1px solid #EFF0F1; +} + +.btn-content { + display: flex; + align-items: center; } .top-btn image { - margin-top: 20rpx; + margin-right: 4rpx; width: 36rpx; height: 36rpx; } @@ -58,13 +74,22 @@ font-size: 28rpx; } +.error-btn { + margin-left: 10rpx; +} + .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; } @@ -107,7 +132,7 @@ /* 妯悜甯冨眬 */ .horizontal-box { - width: 350rpx; + width: 338rpx; display: flex; align-items: center; margin: 32rpx; @@ -128,16 +153,11 @@ } .radio-content { - padding: 0 8rpx; display: flex; align-items: center; justify-content: center; width: 100%; height: 68rpx; -} - -.radio-content image { - margin: 0 10rpx 10rpx 0; } .mock-data { @@ -149,8 +169,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 { @@ -177,11 +202,6 @@ align-items: center; } -.mack-state { - width: 94rpx; - height: 42rpx; -} - .mock-score { font-size: 28rpx; color: #ff6c00; @@ -193,10 +213,12 @@ } .state-pad { - width: 80rpx; + white-space: nowrap; + width: 90rpx; border-radius: 10rpx; display: inline-block; padding: 10rpx; + text-align: center; } .complete { @@ -207,4 +229,39 @@ .Incomplete { background-color: #e9e9e9; color: #666; +} + +.not-mock { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding-bottom: 50rpx; +} + +.not-mock image { + width: 328rpx; + height: 328rpx; +} + +.note-mock-text { + color: #333; + font-size: 28rpx; +} + +.not-mock-message { + margin: 24rpx 0; +} + +.note-mock-price { + margin-bottom: 50rpx; +} + +.mock-price { + color: #ff6c00; + font-size: 36rpx; +} + +.t-radio__description { + width: 102%; } \ No newline at end of file -- Gitblit v1.9.1