| | |
| | | padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx); |
| | | } |
| | | |
| | | .container { |
| | | width: 100vw; |
| | | position: relative; |
| | | max-height: calc(100vh - env(safe-area-inset-bottom)); |
| | | } |
| | | |
| | | .background { |
| | | width: 100%; |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | height: 80rpx; |
| | | line-height: 80rpx; |
| | | z-index: 3; |
| | | text-align: center; |
| | | padding-top: 110rpx; |
| | | color: #fff; |
| | | font-size: 36rpx; |
| | | } |
| | | |
| | | .white { |
| | | background: #fff; |
| | | color: #333; |
| | | } |
| | | |
| | | .background .text { |
| | | height: 100%; |
| | | } |
| | | |
| | | .home-page-header, |
| | | .home-page-menu, |
| | | .home-page-container { |
| | | position: relative; |
| | | padding: 0 24rpx; |
| | | } |
| | | |
| | | .home-page-header { |
| | | padding-top: 230rpx; |
| | | } |
| | | |
| | | .home-page-header .bg { |
| | | height: 680rpx; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: -1; |
| | | } |
| | | |
| | | .home-page-header .bg .image { |
| | | height: 100%; |
| | | } |
| | | |
| | | .home-page-header .search .t-search__input-container { |
| | | height: 96rpx; |
| | | background: #fff !important; |
| | | font-size: 28rpx !important; |
| | | } |
| | | |
| | | .home-page-header .t-search__input { |
| | | font-size: 28rpx !important; |
| | | color: rgb(116, 116, 116) !important; |
| | | } |
| | | |
| | | .home-page-header .swiper-wrap { |
| | | margin-top: 30rpx; |
| | | margin-bottom: 10rpx; |
| | | } |
| | | |
| | | .home-page-menu .t-grid--card { |
| | | margin: 0; |
| | | } |
| | | |
| | | .flex { |
| | | display: flex; |
| | | } |
| | |
| | | margin-top: 20rpx; |
| | | display: block; |
| | | padding: 0 24rpx; |
| | | padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx); |
| | | } |
| | | |
| | | .tabCardPublic { |
| | |
| | | } |
| | | |
| | | .body-info .name { |
| | | font-size: 32rpx; |
| | | height: 88rpx; |
| | | font-size: 30rpx; |
| | | height: 80rpx; |
| | | color: #333333; |
| | | font-weight: bold; |
| | | line-height: 44rpx; |
| | | line-height: 40rpx; |
| | | display: -webkit-box; |
| | | margin-bottom: 10rpx; |
| | | -webkit-box-orient: vertical; |
| | |
| | | font-size: 26rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | display: -webkit-box; |
| | | /* 使用弹性盒子布局模型 */ |
| | | -webkit-line-clamp: 1; |
| | | /* 控制文本的行数 */ |
| | | -webkit-box-orient: vertical; |
| | | /* 设置盒子的子元素排列方向 */ |
| | | overflow: hidden; |
| | | /* 超出部分隐藏 */ |
| | | text-overflow: ellipsis; |
| | | /* 超出部分显示省略号 */ |
| | | white-space: normal; |
| | | } |
| | | |
| | | .body-info .price { |
| | |
| | | |
| | | .listBox1, |
| | | .listBox2 { |
| | | padding: 50rpx 0; |
| | | padding: 30rpx 0; |
| | | } |
| | | |
| | | .listBox1 .listItemBox { |
| | | height: 220rpx; |
| | | height: 210rpx; |
| | | margin-bottom: 30rpx; |
| | | } |
| | | |
| | | .listBox1 .specialSubject-img { |
| | | width: 400rpx; |
| | | height: 218rpx; |
| | | width: 480rpx; |
| | | height: 210rpx; |
| | | flex: 1; |
| | | } |
| | | |
| | | .listBox1 .body-info { |
| | | flex: 1; |
| | | } |
| | | |
| | | .listBox1 .addCartImg, |
| | |
| | | } |
| | | |
| | | .listBox1 .priceBox { |
| | | margin-top: 14rpx; |
| | | margin-top: 10rpx; |
| | | } |
| | | |
| | | .listBox2 { |
| | |
| | | } |
| | | |
| | | .listBox2 .booksListItemBox { |
| | | width: calc(100%/3 - 30rpx); |
| | | width: calc(100%/3 - 32rpx); |
| | | margin-bottom: 30rpx; |
| | | margin-right: 45rpx; |
| | | } |
| | |
| | | } |
| | | |
| | | .listBox2 .specialSubject-img { |
| | | height: 300rpx; |
| | | height: 280rpx; |
| | | width: 100%; |
| | | box-shadow: 0px 0px 20rpx 2px #f1f1f1; |
| | | } |
| | |
| | | } |
| | | |
| | | .listBox2 .author { |
| | | height: 30rpx; |
| | | height: 28rpx; |
| | | color: #333333; |
| | | font-weight: bold; |
| | | line-height: 30rpx; |
| | | display: -webkit-box; |
| | | margin-bottom: 10rpx; |
| | |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .listBox3 { |
| | | padding: 10rpx 0; |
| | | } |
| | | |
| | | .listBox3 .textbooksItemBox { |
| | | margin-bottom: 30rpx; |
| | | } |
| | | |
| | | .listBox3 .textbooksItemBox .specialSubject-img { |
| | | width: 190rpx; |
| | | height: 260rpx; |
| | | height: 250rpx; |
| | | box-shadow: 0px 0px 20rpx 2px #f1f1f1; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .listBox3 .name { |
| | | font-size: 32rpx; |
| | | font-size: 30rpx; |
| | | height: 44rpx; |
| | | color: #333333; |
| | | font-weight: bold; |
| | |
| | | |
| | | .readList { |
| | | overflow: auto; |
| | | } |
| | | |
| | | .rankingList .listItem { |
| | | padding: 20rpx 0; |
| | | } |
| | | |
| | | .srcolbox { |
| | | width: 100%; |
| | | height: 420rpx; |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .srcolbox .booksListItemBox { |
| | | display: inline-block; |
| | | width: 188rpx; |
| | | margin-right: 30rpx; |
| | | } |
| | | |
| | | .rankingList .specialSubject-img { |
| | | height: 254rpx; |
| | | width: 100%; |
| | | box-shadow: 0px 0px 20rpx 2px #f1f1f1; |
| | | } |
| | | |
| | | .rankingList .body-info { |
| | | padding: 20rpx 0; |
| | | } |
| | | |
| | | .rankingList .name { |
| | | height: 80rpx; |
| | | width: 188rpx; |
| | | color: #333333; |
| | | line-height: 40rpx; |
| | | display: -webkit-box; |
| | | /* 使用弹性盒子布局模型 */ |
| | | -webkit-line-clamp: 2; |
| | | /* 控制文本的行数 */ |
| | | -webkit-box-orient: vertical; |
| | | /* 设置盒子的子元素排列方向 */ |
| | | overflow: hidden; |
| | | /* 超出部分隐藏 */ |
| | | text-overflow: ellipsis; |
| | | /* 超出部分显示省略号 */ |
| | | white-space: normal; |
| | | } |