From 7eea32a9a7a034e951468bea279688e8db5c1c98 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 09 九月 2024 14:31:51 +0800 Subject: [PATCH] bug --- pages/digitalCourses/index.wxss | 100 ++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 77 insertions(+), 23 deletions(-) diff --git a/pages/digitalCourses/index.wxss b/pages/digitalCourses/index.wxss index 9f75e4e..bddeedb 100644 --- a/pages/digitalCourses/index.wxss +++ b/pages/digitalCourses/index.wxss @@ -1,33 +1,73 @@ /* pages/digitalCourses/index.wxss */ +@import "./index.skeleton.wxss"; +page { + background-color: #f7f7f7; +} image { width: 100%; height: 100%; } +.back-icon { + width: 48rpx; + height: 100%; +} + +.back-icon image { + width: 100%; + height: 100%; +} .nacigationBar { display: flex; align-items: center; --td-search-font-size: 28rpx; margin-bottom: 30rpx; + padding-left: 10rpx; } +.t-search__input-box { + height: 70rpx !important; +} -.nacigationBar .t-icon-base { +.nacigationBar .t-icon-search { font-size: 38rpx; } - -.custom-tabs { - margin-bottom: 32rpx; +.heardTab { + display: flex; + justify-content: space-between; } -.custom-panel { - /* height: ; */ - height: calc(100vh - 300rpx); - color: var(--td-text-color-primary); +.tabBox { + width: 70vw +} + +.dropdown { + z-index: 1; + width: 29vw; + /* box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1); */ + box-shadow: -2px 2px 7px -4px rgba(0, 0, 0, 0.1); +} + +.dropdown .t-radio__title { + font-size: 28rpx; +} + +.t-dropdown-menu__item--active, +.t-radio__icon--checked, +.t-checkbox__icon--checked { + color: #FF6C00 !important +} + +.t-dropdown-menu:after { + height: 0 !important; +} + +.t-tabs .t-tabs__track { + display: none; } .t-tabs__item--active { @@ -36,7 +76,6 @@ .t-tabs__track { background-color: #FF6C00 !important; - /* height: var(--td-tab-track-thickness, 0rpx) !important; */ } .t-tabs .t-tabs__item--active { @@ -44,8 +83,8 @@ /* background-size: 100% 100%; background-position: 100% 100%; */ background-image: url(https://jsek.bnuic.com/home/image/click-icon.png); - background-position: 85% center; - background-size: 20% 50%; + background-position: 90% center; + background-size: 35%; /* 灏嗚儗鏅浘鐗囦綅缃缃负闈犲彸 */ } @@ -58,7 +97,6 @@ .titleBox { display: flex; align-items: center; - margin: 10px; margin-left: 0; padding-top: 30rpx; } @@ -84,8 +122,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; @@ -94,13 +133,17 @@ .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; + height: 76rpx; color: #333; font-size: 28rpx; font-weight: 700; @@ -114,11 +157,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; @@ -126,20 +168,17 @@ } .money { - margin: 0 30rpx; display: flex; flex-direction: row; justify-content: space-between; color: #ff6c00; - margin-bottom: 30rpx; - } .ExternalInformationBox { display: flex; justify-content: space-between; flex-wrap: wrap; - padding: 0 15rpx; + padding: 0 25rpx; margin-top: 40rpx; } @@ -153,8 +192,23 @@ } .viewCount { - margin: 10rpx 30rpx; + margin: 16rpx 0; font-weight: 400; font-size: 22rpx; color: #AEAFC0; +} + +.content-loading { + margin-top: 100rpx; +} + +.outsideContentBox { + /* padding: 30rpx; */ + background: #F2F3F8; + border-radius: 18rpx 18rpx 18rpx 18rpx; + /* padding-bottom: 325rpx; */ + height: calc(100vh - 410rpx); + + /* width: calc(100vw - 60rpx); */ + } \ No newline at end of file -- Gitblit v1.9.1