/* pages/bookServices/list/index.wxss */
|
@import "./index.skeleton.wxss";
|
|
page {
|
background-color: #f7f7f7;
|
}
|
|
.nacigationBar {
|
display: flex;
|
align-items: center;
|
--td-search-font-size: 28rpx;
|
margin-bottom: 16rpx;
|
}
|
|
.t-search__input-box {
|
height: 70rpx !important;
|
}
|
|
.list-header {
|
overflow: hidden;
|
display: flex;
|
height: 120rpx;
|
--td-button-primary-active-bg-color: #ff984d;
|
}
|
|
.list-header .t-button--primary {
|
border-radius: 50rpx !important;
|
background: #FF6C00 !important;
|
border: none;
|
}
|
|
.list-header .t-button--light {
|
background: #fff !important;
|
border-radius: 50rpx !important;
|
color: #545C63 !important;
|
border: 2rpx solid #979797 !important;
|
}
|
|
.list-header .t-button--light {
|
background: #fff !important;
|
border-radius: 50rpx !important;
|
color: #545C63 !important;
|
border: 2rpx solid #979797 !important;
|
}
|
|
.t-checkbox--tag.t-checkbox--checked {
|
background-color: #f3e0d3 !important;
|
}
|
|
.t-dropdown-menu__item--active {
|
background: #F6F6F6 !important;
|
}
|
|
.t-button--primary::after {
|
border: none;
|
}
|
|
.t-radio--block {
|
padding: 20rpx !important;
|
}
|
|
.t-radio__border {
|
height: 0 !important;
|
}
|
|
.t-dropdown-menu__item--active,
|
.t-radio__icon--checked,
|
.t-checkbox__icon--checked,
|
.t-radio__title--checked,
|
.t-checkbox__title--checked {
|
color: #FF6C00 !important;
|
}
|
|
.header-sort {
|
box-sizing: border-box;
|
position: relative;
|
background-color: #fff;
|
line-height: 48px;
|
height: 48px;
|
width: 20vw;
|
font-size: 28rpx;
|
color: #999;
|
display: flex;
|
}
|
|
.header-sort .t-dropdown-menu__item {
|
padding: 0 8rpx;
|
}
|
|
.header-sort .t-dropdown-menu__title {
|
width: 80%;
|
}
|
|
.header-sort::after {
|
content: '';
|
height: 1rpx;
|
display: block;
|
position: absolute;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
transform: scaleY(0.5);
|
background-color: var(--td-component-border, var(--td-gray-color-4, #dcdcdc));
|
}
|
|
.sort-name {
|
padding: 0 0 0 10rpx;
|
}
|
|
.header-scroll {
|
height: 100%;
|
width: 100vw;
|
overflow-x: auto;
|
}
|
|
.icon-left {
|
position: absolute;
|
top: 34rpx;
|
right: 26rpx;
|
transform: rotate(270deg);
|
}
|
|
.icon-right {
|
position: absolute;
|
top: 34rpx;
|
right: 10rpx;
|
transform: rotate(90deg);
|
}
|
|
|
.list-container {
|
height: 80vh;
|
}
|
|
.assort-title {
|
padding: 20rpx 0;
|
display: flex;
|
align-items: center;
|
}
|
|
.assort-title .title-box {
|
width: 8rpx;
|
height: 60rpx;
|
background-color: #ff6c00;
|
}
|
|
.assort-title .title-name {
|
font-size: 32rpx;
|
margin-left: 32rpx;
|
font-family: "JDLANGZHENGTI";
|
}
|
|
.book-list {
|
padding: 32rpx;
|
display: flex;
|
flex-wrap: wrap;
|
}
|
|
.book-box {
|
box-sizing: border-box;
|
width: 48%;
|
background-color: #fff;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
margin-bottom: 40rpx;
|
padding: 50rpx 20rpx 32rpx 20rpx;
|
box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
|
}
|
|
.book-box:nth-child(2n) {
|
margin-left: 18rpx;
|
}
|
|
.book-color {
|
color: #333;
|
}
|
|
.book-img {
|
width: 210rpx;
|
height: 290rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
|
}
|
|
.book-img image {
|
height: 100% !important;
|
}
|
|
|
|
.book-name {
|
margin-top: 24rpx;
|
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-top: 16rpx;
|
width: 100%;
|
font-size: 24rpx;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
text-align: left;
|
}
|
|
.bottom-box {
|
display: flex;
|
justify-content: center;
|
color: #999;
|
height: 80rpx;
|
font-size: 28rpx;
|
--td-loading-color: #ff6c00
|
}
|
|
.loading-box {
|
width: 100%;
|
height: calc(100vh - 500rpx);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
--td-loading-color: #ff6c00;
|
}
|
|
.noData {
|
width: 100%;
|
display: flex;
|
justify-content: center;
|
}
|
|
.t-dropdown-menu {
|
display: flex;
|
align-items: center;
|
}
|
|
.header-scroll .t-dropdown-menu__item {
|
background-color: #F6F6F6;
|
border-radius: 80rpx;
|
height: 70%;
|
margin-left: 20rpx;
|
}
|
|
.header-scroll .t-dropdown-item__body {
|
padding-bottom: 10rpx !important;
|
}
|
|
.refresh-container {
|
margin: 0 auto;
|
}
|
|
.t-radio {
|
font-size: var(--td-radio-font-size, 28rpx) !important;
|
}
|
|
.t-icon-search {
|
font-size: 38rpx;
|
}
|