From ccda9ec2fe70d8f51ef184eafc04b78d22dfbabd Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 26 六月 2024 15:02:28 +0800 Subject: [PATCH] 小程序,教材,课程 --- pages/digitalCourses/index.wxss | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pages/digitalCourses/index.wxss b/pages/digitalCourses/index.wxss index dac367f..24f4226 100644 --- a/pages/digitalCourses/index.wxss +++ b/pages/digitalCourses/index.wxss @@ -30,6 +30,10 @@ color: var(--td-text-color-primary); } +.t-tabs .t-tabs__track { + display: none; +} + .t-tabs__item--active { color: #FF6C00 !important; } @@ -57,7 +61,6 @@ .titleBox { display: flex; align-items: center; - margin: 10px; margin-left: 0; padding-top: 30rpx; } @@ -83,8 +86,9 @@ } .informationBox { - width: 340rpx; - min-height: 470rpx; + width: calc(100%/2 - 15rpx); + min-height: 450rpx; + overflow: hidden; border-radius: 9rpx 9rpx 9rpx 9rpx; background-color: #fff; margin-bottom: 40rpx; @@ -93,13 +97,16 @@ .book-img { width: 100%; - height: 250rpx; + height: 194rpx; margin: 0 auto; /* box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); */ } +.book-Info { + padding: 20rpx; +} + .book-name { - margin: 15rpx 30rpx; color: #333; font-size: 28rpx; font-weight: 700; @@ -113,11 +120,10 @@ } .author { - margin: 0 30rpx; display: flex; flex-direction: row; justify-content: space-between; - margin-bottom: 15rpx; + margin-bottom: 20rpx; font-weight: bold; font-weight: 400; font-size: 25rpx; @@ -125,13 +131,10 @@ } .money { - margin: 0 30rpx; display: flex; flex-direction: row; justify-content: space-between; color: #ff6c00; - margin-bottom: 30rpx; - } .ExternalInformationBox { @@ -152,7 +155,7 @@ } .viewCount { - margin: 10rpx 30rpx; + margin: 16rpx 0; font-weight: 400; font-size: 22rpx; color: #AEAFC0; -- Gitblit v1.9.1