/* pages/digitalTextbooks/index.wxss */
|
|
.nacigationBar {
|
display: flex;
|
align-items: center;
|
--td-search-font-size: 28rpx;
|
margin-bottom: 30rpx;
|
}
|
|
|
.nacigationBar .t-icon-base {
|
font-size: 38rpx;
|
}
|
|
.t-search__input-box {
|
height: var(--td-search-height, 70rpx) !important;
|
}
|
|
.t-icon {
|
font-family: t !important;
|
}
|
|
|
|
|
|
.tabBox {
|
display: flex;
|
flex-direction: row;
|
justify-content: space-around;
|
width: 750rpx;
|
overflow-x: auto;
|
/* 添加水平滚动条 */
|
white-space: nowrap;
|
/* 保持子元素在一行显示 */
|
|
}
|
|
.tabBox .nameBox {
|
color: #FF6C00;
|
height: 70rpx;
|
/* border-bottom: 1px solid #FF6C00; */
|
}
|
|
.bottomLineBox {
|
height: 5rpx;
|
width: 50rpx;
|
background-color: #FF6C00;
|
margin: 0 auto;
|
}
|
|
.contentBox {
|
background-color: #F2F3F8;
|
height: 100%;
|
margin-top: 268rpx;
|
}
|
|
.titleBox {
|
display: flex;
|
align-items: center;
|
margin: 10px;
|
margin-left: 0;
|
padding-top: 30rpx;
|
}
|
|
.frameBox {
|
width: 7rpx;
|
height: 54rpx;
|
background: #FF6C00;
|
border-radius: 0rpx 9rpx 9rpx 0rpx;
|
}
|
|
.titleTextBox {
|
margin-left: 15px;
|
min-width: 180rpx;
|
min-height: 36rpx;
|
/*宽 3.7 高1 */
|
}
|
|
.titleTextBox image {
|
width: 100%;
|
height: 100%;
|
image-rendering: -webkit-optimize-contrast;
|
}
|
|
.bookContentBox {
|
display: flex;
|
flex-direction: row;
|
flex-wrap: wrap;
|
justify-content: space-between;
|
margin: 20rpx;
|
}
|
|
.external {
|
width: 300rpx;
|
min-height: 520rpx;
|
background-color: #fff;
|
margin: 30rpx 10rpx;
|
box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
|
padding: 15rpx;
|
}
|
|
.imageBox {
|
width: 210rpx;
|
height: 290rpx;
|
margin: 30rpx auto;
|
box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
|
}
|
|
image {
|
width: 100%;
|
height: 100%;
|
}
|
|
.amountClick {
|
display: flex;
|
flex-direction: row;
|
justify-content: flex-end;
|
align-items: center;
|
font-size: 30rpx;
|
|
}
|
|
.information {
|
display: flex;
|
flex-direction: row;
|
justify-content: space-between;
|
margin: 0 20rpx;
|
}
|
|
.bookName {
|
margin: 0 20rpx;
|
height: 75rpx;
|
color: #333;
|
width: 100%;
|
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;
|
}
|
|
.book-author {
|
color: #333;
|
margin: 16rpx 0;
|
font-size: 24rpx;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
text-align: left;
|
}
|
|
.price {
|
color: #FF6C00;
|
margin: 16rpx 0;
|
font-size: 24rpx;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
text-align: left;
|
}
|
|
.noData {
|
margin: 0 auto;
|
margin-top: 100rpx;
|
}
|
|
/* 固定在顶部的盒子样式 */
|
.fixed-header {
|
position: fixed;
|
/* 固定定位 */
|
top: 0;
|
/* 距离顶部0px */
|
left: 0;
|
/* 距离左侧0px */
|
width: 100%;
|
/* 宽度为100%,可根据需要调整 */
|
background-color: #ffffff;
|
/* 背景颜色,可根据需要调整 */
|
z-index: 999;
|
/* 确保盒子在页面其他元素的上方 */
|
/* 其他样式,如padding、box-shadow等 */
|
}
|