From ccda9ec2fe70d8f51ef184eafc04b78d22dfbabd Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 26 六月 2024 15:02:28 +0800 Subject: [PATCH] 小程序,教材,课程 --- pages/digitalTextbooks/digitalTextbooksDetails/index.wxss | 88 +++++++++++++++++-------------------------- 1 files changed, 35 insertions(+), 53 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.wxss b/pages/digitalTextbooks/digitalTextbooksDetails/index.wxss index 1a37fc0..730ec39 100644 --- a/pages/digitalTextbooks/digitalTextbooksDetails/index.wxss +++ b/pages/digitalTextbooks/digitalTextbooksDetails/index.wxss @@ -7,6 +7,11 @@ height: 100%; } +.book { + position: relative; + height: calc(100vh - env(safe-area-inset-bottom) - 60px); + background-color: #F2F3F8; +} @@ -84,39 +89,35 @@ border-radius: 0 0 20rpx 20rpx; } - - - - .digital { background-color: #F2F3F8; - padding-bottom: 20rpx; } +.custom-tabs { + --td-tab-item-active-color: #FF6C00; + --td-tab-font-size: 28rpx; +} - - +.tab-class { + --td-loading-color: #ff6c00; + --td-tab-nav-bg-color: #fff; + --td-tab-track-color: #ff6c00 +} .t-tabs__item-inner { flex-direction: column; - /* color: #ff6c00; */ } -.t-tabs__item--active { - color: #FF6C00 !important; +.t-tabs .t-tabs__item--active { + background-repeat: no-repeat; + background-size: 35%; + background-position: 50% 40%; + background-image: url(https://jsek.bnuic.com/home/image/click-icon.png); + } -.t-tabs__track { - background-color: #FF6C00 !important; - bottom: -20rpx !important; -} - -.t-tabs__scroll--split { - height: 120rpx !important; -} - -.t-tabs__item-inner .t-icon { - margin-bottom: 10rpx; +.t-tabs__item--evenly { + flex: 1 0 auto !important; } .t-tabs__item-inner .t-icon { @@ -142,21 +143,10 @@ overflow-x: auto; } -.t-tabs__item--evenly { - flex: 1 0 auto !important; -} - -.t-tabs .t-tabs__item--active { - background-repeat: no-repeat; - background-size: 35%; - background-position: 50% 40%; - background-image: url(https://jsek.bnuic.com/home/image/click-icon.png); -} - .rubricBox { display: flex; flex-direction: row; - margin: 50rpx; + margin: 40rpx; margin-bottom: 0; } @@ -170,6 +160,10 @@ font-size: 32rpx; color: #333; font-weight: bold; +} + +.basic-content { + padding: 30rpx 40rpx; } .correlationImage { @@ -214,6 +208,7 @@ margin-bottom: env(safe-area-inset-bottom); display: flex; flex-direction: row; + border: 1px solid #DDD; } .trialReading { @@ -226,7 +221,6 @@ align-items: center; flex-direction: column; border-left: 1rpx solid #DDDDDD; - } .shopCarColor { @@ -327,25 +321,6 @@ height: 100%; } -.view-color1 { - /* background-color: palegoldenrod; */ -} - -.view-color2 { - /* background-color: palegreen; */ -} - -.view-color3 { - /* background-color: paleturquoise; */ -} - -.view-color4 { - /* background-color: #ccc; */ -} - -.view-color5 { - /* background-color: gold; */ -} .top-label-sel { font-weight: bold; @@ -365,6 +340,13 @@ overflow: scroll; } +.book-resource { + min-height: calc(100% - 515rpx); + margin-top: 20rpx; + background-color: #fff !important; + --td-tab-item-height: 140rpx; +} + .certificateChart { display: flex; flex-direction: row; -- Gitblit v1.9.1