From c3086cda662e2b908cf96b6b3ff599713eb924d6 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 02 九月 2024 16:59:16 +0800 Subject: [PATCH] gongneng --- pages/digitalTextbooks/index.wxss | 162 +++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 125 insertions(+), 37 deletions(-) diff --git a/pages/digitalTextbooks/index.wxss b/pages/digitalTextbooks/index.wxss index f8b7110..bd8a96f 100644 --- a/pages/digitalTextbooks/index.wxss +++ b/pages/digitalTextbooks/index.wxss @@ -1,69 +1,80 @@ /* pages/digitalTextbooks/index.wxss */ @import "./index.skeleton.wxss"; +/* pages/digitalCourses/index.wxss */ + + +image { + width: 100%; + height: 100%; +} + + .nacigationBar { display: flex; align-items: center; --td-search-font-size: 28rpx; margin-bottom: 30rpx; -} - - -.nacigationBar .t-icon-base { - font-size: 38rpx; + padding-left: 10rpx; } .t-search__input-box { - height: var(--td-search-height, 70rpx) !important; + height: 70rpx !important; } -.t-icon { - font-family: t !important; +.t-icon-search { + font-size: 38rpx; } - - - +.heardTab { + display: flex; + justify-content: space-between; +} .tabBox { - display: flex; - flex-direction: row; - justify-content: space-around; - width: 750rpx; - overflow-x: auto; - /* 娣诲姞姘村钩婊氬姩鏉� */ - white-space: nowrap; - /* 淇濇寔瀛愬厓绱犲湪涓�琛屾樉绀� */ - + width: 70vw } -.tabBox .nameBox { - color: #FF6C00; - height: 70rpx; - /* border-bottom: 1px solid #FF6C00; */ +.dropdown { + z-index: 1; + width: 29vw; + box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1); } -.bottomLineBox { - height: 5rpx; - width: 50rpx; - background-color: #FF6C00; - margin: 0 auto; +.t-dropdown-menu__item--active, +.t-radio__icon--checked, +.t-checkbox__icon--checked { + color: #FF6C00 !important } -page { - background-color: #F2F3F8; +.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 { + background-repeat: no-repeat; + /* 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%; + /* 灏嗚儗鏅浘鐗囦綅缃缃负闈犲彸 */ } .contentBox { - background-color: #F2F3F8; + width: 100%; height: 100%; - margin-top: 268rpx; + background-color: #f2f3f7; } .titleBox { display: flex; align-items: center; - margin: 10px; margin-left: 0; padding-top: 30rpx; } @@ -77,8 +88,8 @@ .titleTextBox { margin-left: 15px; - min-width: 180rpx; - min-height: 36rpx; + width: 200rpx; + height: 36rpx; /*瀹� 3.7 楂�1 */ } @@ -87,6 +98,72 @@ height: 100%; image-rendering: -webkit-optimize-contrast; } + +.informationBox { + width: 340rpx; + height: 470rpx; + border-radius: 9rpx 9rpx 9rpx 9rpx; + background-color: #fff; + margin-bottom: 40rpx; + box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); +} + +.book-img { + width: 100%; + height: 250rpx; + margin: 0 auto; + /* box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); */ +} + +.book-name { + margin: 15rpx 30rpx; + color: #333; + font-size: 28rpx; + font-weight: 700; + word-break: break-all; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-align: left; + +} + +.author { + margin: 0 30rpx; + display: flex; + flex-direction: row; + justify-content: space-between; + margin-bottom: 15rpx; + font-weight: bold; +} + +.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; + margin-top: 40rpx; +} + +.noDataBox { + width: 100%; + /* margin-top: 200rpx; */ + height: 620rpx; + display: flex; + justify-content: center; + align-items: center; +} + .bookContentBox { display: flex; @@ -138,7 +215,6 @@ margin: 0 20rpx; height: 75rpx; color: #333; - width: 100%; font-size: 28rpx; font-weight: 700; word-break: break-all; @@ -157,6 +233,7 @@ overflow: hidden; text-overflow: ellipsis; text-align: left; + width: 150rpx; } .price { @@ -189,4 +266,15 @@ z-index: 999; /* 纭繚鐩掑瓙鍦ㄩ〉闈㈠叾浠栧厓绱犵殑涓婃柟 */ /* 鍏朵粬鏍峰紡锛屽padding銆乥ox-shadow绛� */ +} + +.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