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 | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 40 insertions(+), 14 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss index ed954c7..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,12 +40,18 @@ .top-btn { display: flex; justify-content: space-evenly; + 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; } @@ -59,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; } @@ -108,7 +132,7 @@ /* 妯悜甯冨眬 */ .horizontal-box { - width: 350rpx; + width: 338rpx; display: flex; align-items: center; margin: 32rpx; @@ -129,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 { @@ -150,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 { @@ -178,11 +202,6 @@ align-items: center; } -.mack-state { - width: 94rpx; - height: 42rpx; -} - .mock-score { font-size: 28rpx; color: #ff6c00; @@ -194,10 +213,12 @@ } .state-pad { - width: 80rpx; + white-space: nowrap; + width: 90rpx; border-radius: 10rpx; display: inline-block; padding: 10rpx; + text-align: center; } .complete { @@ -215,6 +236,7 @@ flex-direction: column; align-items: center; justify-content: center; + padding-bottom: 50rpx; } .not-mock image { @@ -238,4 +260,8 @@ .mock-price { color: #ff6c00; font-size: 36rpx; +} + +.t-radio__description { + width: 102%; } \ No newline at end of file -- Gitblit v1.9.1