| | |
| | | /* pages/digitalTextbooks/index.wxss */ |
| | | @import "./index.skeleton.wxss"; |
| | | |
| | | /* pages/digitalCourses/index.wxss */ |
| | | |
| | | |
| | | image { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | |
| | | .nacigationBar { |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | font-size: 38rpx; |
| | | } |
| | | |
| | | .t-search__input-box { |
| | | height: var(--td-search-height, 70rpx) !important; |
| | | |
| | | .custom-tabs { |
| | | margin-bottom: 32rpx; |
| | | } |
| | | |
| | | .t-icon { |
| | | font-family: t !important; |
| | | .custom-panel { |
| | | /* height: ; */ |
| | | height: calc(100vh - 300rpx); |
| | | color: var(--td-text-color-primary); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | .tabBox { |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: space-around; |
| | | width: 750rpx; |
| | | overflow-x: auto; |
| | | /* 添加水平滚动条 */ |
| | | white-space: nowrap; |
| | | /* 保持子元素在一行显示 */ |
| | | |
| | | .t-tabs__item--active { |
| | | color: #FF6C00 !important; |
| | | } |
| | | |
| | | .tabBox .nameBox { |
| | | color: #FF6C00; |
| | | height: 70rpx; |
| | | /* border-bottom: 1px solid #FF6C00; */ |
| | | .t-tabs__track { |
| | | background-color: #FF6C00 !important; |
| | | /* height: var(--td-tab-track-thickness, 0rpx) !important; */ |
| | | } |
| | | |
| | | .bottomLineBox { |
| | | height: 5rpx; |
| | | width: 50rpx; |
| | | background-color: #FF6C00; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | page { |
| | | background-color: #F2F3F8; |
| | | .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 { |
| | |
| | | |
| | | .titleTextBox { |
| | | margin-left: 15px; |
| | | min-width: 180rpx; |
| | | min-height: 36rpx; |
| | | width: 180rpx; |
| | | height: 36rpx; |
| | | /*宽 3.7 高1 */ |
| | | } |
| | | |
| | |
| | | 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; |
| | |
| | | margin: 0 20rpx; |
| | | height: 75rpx; |
| | | color: #333; |
| | | width: 100%; |
| | | |
| | | font-size: 28rpx; |
| | | font-weight: 700; |
| | | word-break: break-all; |
| | |
| | | /* 确保盒子在页面其他元素的上方 */ |
| | | /* 其他样式,如padding、box-shadow等 */ |
| | | } |
| | | |
| | | .outsideContentBox { |
| | | /* padding: 30rpx; */ |
| | | background: #F2F3F8; |
| | | border-radius: 18rpx 18rpx 18rpx 18rpx; |
| | | /* padding-bottom: 325rpx; */ |
| | | height: calc(100vh - 450rpx); |
| | | |
| | | /* width: calc(100vw - 60rpx); */ |
| | | |
| | | } |