/* pages/bookServices/detail/index.wxss */
|
|
|
.nacigationBar {
|
background-color: #fff;
|
display: flex;
|
align-items: center;
|
}
|
|
.navbar-title {
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
color: #0F1214;
|
font-size: 40rpx;
|
font-weight: bold;
|
}
|
|
.book {
|
position: relative;
|
height: 81vh;
|
background-color: #F2F3F8;
|
}
|
|
.book-detail {
|
padding: 32rpx;
|
display: flex;
|
border-radius: 0 0 20rpx 20rpx;
|
}
|
|
.detail-left {
|
margin-right: 36rpx;
|
}
|
|
.detail-right {
|
position: relative;
|
}
|
|
.right-background {
|
position: absolute;
|
top: 80rpx;
|
right: -80rpx;
|
z-index: 0;
|
width: 160rpx;
|
height: 160rpx;
|
}
|
|
.detail-right .book-name {
|
width: 420rpx;
|
font-weight: bold;
|
font-size: 36rpx;
|
color: #000000;
|
margin-bottom: 30rpx;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.showTow {
|
word-break: break-all;
|
display: -webkit-box;
|
-webkit-line-clamp: 2;
|
-webkit-box-orient: vertical;
|
overflow: hidden;
|
}
|
|
.book-message {
|
margin-top: 10rpx;
|
}
|
|
.message-li {
|
color: #333333;
|
display: flex;
|
height: 40rpx;
|
margin-bottom: 20rpx;
|
}
|
|
.li-title {
|
width: 140rpx;
|
font-size: 28rpx;
|
}
|
|
.li-content {
|
width: 280rpx;
|
font-size: 28rpx;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.class-name {
|
height: 2.8em;
|
width: 280rpx;
|
font-size: 28rpx;
|
}
|
|
.book-use {
|
margin-top: 16rpx;
|
display: flex;
|
justify-content: space-evenly;
|
color: #949494;
|
}
|
|
.use-title {
|
font-size: 24rpx;
|
}
|
|
.collect,
|
.suggest {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
}
|
|
.book-use image {
|
width: 38rpx;
|
height: 38rpx;
|
margin-bottom: 8rpx;
|
}
|
|
.book-box {
|
background: linear-gradient(to right, #FFB400, #FF6C00);
|
border-radius: 0 0 20rpx 20rpx;
|
}
|
|
.book-detail {
|
background-color: #fff;
|
}
|
|
/* 销售信息 */
|
.book-sale {
|
padding: 0 30rpx;
|
display: flex;
|
align-items: center;
|
width: 100%;
|
height: 150rpx;
|
border-radius: 0 0 20rpx 20rpx;
|
}
|
|
.book-price {
|
height: 100%;
|
display: flex;
|
}
|
|
.book-price image {
|
width: 58rpx;
|
height: 70rpx;
|
}
|
|
.paper-price,
|
.electron-price {
|
display: flex;
|
align-items: center;
|
}
|
|
.paper-price {
|
margin-left: 30rpx;
|
}
|
|
.price {
|
margin-left: 12rpx;
|
font-size: 34rpx;
|
color: #fff;
|
}
|
|
.price-text {
|
font-size: 34rpx;
|
}
|
|
.price-old {
|
margin-left: 10rpx;
|
position: relative;
|
font-size: 28rpx;
|
opacity: 0.6;
|
}
|
|
.line {
|
position: absolute;
|
top: 50%;
|
left: -5rpx;
|
width: 80%;
|
height: 3rpx;
|
background-color: #fff;
|
}
|
|
.book-web {
|
margin-left: 30rpx;
|
display: flex;
|
}
|
|
.book-web image {
|
margin-left: 20rpx;
|
width: 45rpx;
|
height: 45rpx;
|
}
|
|
.book-web image:first-child {
|
margin-left: 0;
|
}
|
|
/* 图书资源 */
|
.book-resource {
|
min-height: 640rpx;
|
margin-top: 20rpx;
|
background-color: #fff !important;
|
}
|
|
|
.custom-tabs {
|
--td-tab-item-active-color: #FF6C00;
|
--td-tab-font-size: 28rpx;
|
}
|
|
/* 底部 */
|
.box-bottom {
|
position: fixed;
|
left: 0;
|
bottom: 40rpx;
|
width: 100%;
|
height: 110rpx;
|
}
|
|
.box-bottom {
|
display: flex;
|
border: 1px solid #DDD;
|
}
|
|
.box-bottom image {
|
width: 36rpx;
|
height: 44rpx;
|
}
|
|
.bottom-btn {
|
background-color: #fff;
|
width: 25%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
flex-direction: column;
|
box-sizing: border-box;
|
}
|
|
.btn-text {
|
font-size: 24rpx;
|
color: #010101;
|
}
|
|
.bottom-btn image {
|
margin-bottom: 6rpx;
|
}
|
|
.bottom-btn:nth-child(1) {
|
border-right: 1px solid #DDD;
|
}
|
|
.shopCar,
|
.buy {
|
width: 25%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
color: #fff;
|
}
|
|
.shopCarColor {
|
background-color: #F1AC37;
|
}
|
|
.buyColor {
|
background-color: #F14B3B;
|
}
|
|
.disabledColor {
|
background-color: #d9d9d9;
|
}
|
|
.tab-box {
|
min-height: 550rpx;
|
}
|
|
|
.tab-class {
|
--td-loading-color: #ff6c00
|
}
|
|
.loading {
|
min-height: 550rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.teachDownloadDialog {
|
--td-button-primary-bg-color: #ff6c00;
|
--td-button-primary-border-color: #ff6c00;
|
--td-button-primary-active-bg-color: #ff984d;
|
--td-button-primary-active-border-color: #ff984d;
|
}
|