From 9e5a84a4e41d7ab2cb820c7f77122f69a9d036dd Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 20:15:09 +0800 Subject: [PATCH] 图书列表、详情代码修改 --- packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss | 65 ++++++++++++++++++++++++++------ 1 files changed, 52 insertions(+), 13 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss index 10592fc..de86a85 100644 --- a/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss +++ b/packageBookService/pages/bookServices/detail/components/testResource/testResource.wxss @@ -13,6 +13,11 @@ background-color: #FFF6F0; } +.list-title { + display: flex; + align-items: center; +} + .list-title image { width: 34rpx; height: 38rpx; @@ -31,11 +36,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; } @@ -56,6 +68,10 @@ .practice-btn text { font-size: 28rpx; +} + +.error-btn { + margin-left: 10rpx; } .paper-btn, @@ -107,7 +123,7 @@ /* 妯悜甯冨眬 */ .horizontal-box { - width: 350rpx; + width: 338rpx; display: flex; align-items: center; margin: 32rpx; @@ -134,10 +150,6 @@ justify-content: center; width: 100%; height: 68rpx; -} - -.radio-content image { - margin: 0 10rpx 10rpx 0; } .mock-data { @@ -177,11 +189,6 @@ align-items: center; } -.mack-state { - width: 94rpx; - height: 42rpx; -} - .mock-score { font-size: 28rpx; color: #ff6c00; @@ -193,10 +200,12 @@ } .state-pad { - width: 80rpx; + white-space: nowrap; + width: 90rpx; border-radius: 10rpx; display: inline-block; padding: 10rpx; + text-align: center; } .complete { @@ -207,4 +216,34 @@ .Incomplete { background-color: #e9e9e9; color: #666; +} + +.not-mock { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.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; } \ No newline at end of file -- Gitblit v1.9.1