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 | 48 ++++++++++++++++++++++++++++++++++++------------ 1 files changed, 36 insertions(+), 12 deletions(-) diff --git a/pages/digitalCourses/index.wxss b/pages/digitalCourses/index.wxss index bd18055..24f4226 100644 --- a/pages/digitalCourses/index.wxss +++ b/pages/digitalCourses/index.wxss @@ -1,5 +1,5 @@ /* pages/digitalCourses/index.wxss */ - +@import "./index.skeleton.wxss"; image { width: 100%; @@ -30,13 +30,16 @@ color: var(--td-text-color-primary); } +.t-tabs .t-tabs__track { + display: none; +} + .t-tabs__item--active { color: #FF6C00 !important; } .t-tabs__track { background-color: #FF6C00 !important; - /* height: var(--td-tab-track-thickness, 0rpx) !important; */ } .t-tabs .t-tabs__item--active { @@ -58,7 +61,6 @@ .titleBox { display: flex; align-items: center; - margin: 10px; margin-left: 0; padding-top: 30rpx; } @@ -84,8 +86,9 @@ } .informationBox { - width: 340rpx; - height: 470rpx; + width: calc(100%/2 - 15rpx); + min-height: 450rpx; + overflow: hidden; border-radius: 9rpx 9rpx 9rpx 9rpx; background-color: #fff; margin-bottom: 40rpx; @@ -94,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; @@ -114,28 +120,28 @@ } .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; + color: #333333; } .money { - margin: 0 30rpx; display: flex; flex-direction: row; justify-content: space-between; color: #ff6c00; - } .ExternalInformationBox { display: flex; justify-content: space-between; flex-wrap: wrap; - padding: 0 15rpx; + padding: 0 25rpx; margin-top: 40rpx; } @@ -146,4 +152,22 @@ display: flex; justify-content: center; align-items: center; +} + +.viewCount { + margin: 16rpx 0; + font-weight: 400; + font-size: 22rpx; + color: #AEAFC0; +} + +.outsideContentBox { + /* padding: 30rpx; */ + background: #F2F3F8; + border-radius: 18rpx 18rpx 18rpx 18rpx; + /* padding-bottom: 325rpx; */ + height: calc(100vh - 450rpx); + + /* width: calc(100vw - 60rpx); */ + } \ No newline at end of file -- Gitblit v1.9.1