闫增涛
2024-04-09 1efd950a5b40ef3bf37a8afd738ff574f68cea35
packageBookService/pages/bookServices/detail/index.wxss
@@ -1,5 +1,10 @@
/* pages/bookServices/detail/index.wxss */
.page-bookService {
  width: 100vw;
  height: 100%;
  position: relative;
}
.nacigationBar {
  background-color: #fff;
@@ -18,8 +23,14 @@
.book {
  position: relative;
  height: 81vh;
  height: calc(100vh - env(safe-area-inset-bottom) - 141px);
  background-color: #F2F3F8;
}
.book-img image {
  width: 240rpx;
  height: 340rpx;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
.book-detail {
@@ -28,8 +39,25 @@
  border-radius: 0 0 20rpx 20rpx;
}
.tmall-image {
  width: 64rpx !important;
}
.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 {
@@ -38,9 +66,6 @@
  font-size: 36rpx;
  color: #000000;
  margin-bottom: 30rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.showTow {
@@ -76,7 +101,7 @@
}
.class-name {
  height: 2.5em;
  height: 2.8em;
  width: 280rpx;
  font-size: 28rpx;
}
@@ -159,16 +184,10 @@
  position: relative;
  font-size: 28rpx;
  opacity: 0.6;
  text-decoration: line-through;
  text-decoration-color: #fff;
}
.line {
  position: absolute;
  top: 50%;
  left: -5rpx;
  width: 80%;
  height: 3rpx;
  background-color: #fff;
}
.book-web {
  margin-left: 30rpx;
@@ -187,7 +206,8 @@
/* 图书资源 */
.book-resource {
  min-height: 640rpx;
  /* min-height: 640rpx; */
  min-height: calc(100vh - 900rpx);
  margin-top: 20rpx;
  background-color: #fff !important;
}
@@ -200,9 +220,9 @@
/* 底部 */
.box-bottom {
  position: fixed;
  position: absolute;
  left: 0;
  bottom: 40rpx;
  bottom: 0;
  width: 100%;
  height: 110rpx;
}
@@ -213,18 +233,27 @@
}
.box-bottom image {
  width: 36rpx;
  width: 38rpx;
  height: 44rpx;
}
.bottom-btn {
  background-color: #fff;
  width: 25%;
  /* width: 25%; */
  display: flex;
  flex: 2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
}
.tryRead {
  flex: 1 !important;
}
.try {
  flex: 2 !important;
}
.btn-text {
@@ -236,37 +265,57 @@
  margin-bottom: 6rpx;
}
.bottom-btn:nth-child(1) {
.bottom-btn:nth-child(1),
.bottom-btn:nth-child(2) {
  border-right: 1px solid #DDD;
}
.shopCar,
.buy {
  font-size: 26rpx;
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 2;
}
.shopCar {
.read {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #F14B3B;
}
.shopCarColor {
  background-color: #F1AC37;
}
.buy {
.buyColor {
  background-color: #F14B3B;
}
.receiveColor {
  background-color: #F14B3B;
  width: 50% !important;
}
.disabledColor {
  background-color: #d9d9d9;
}
.tab-box {
  min-height: 550rpx;
}
.note-list {
  /* margin-bottom: 80rpx; */
}
.tab-class {
  --td-loading-color: #ff6c00
  --td-loading-color: #ff6c00;
  --td-tab-nav-bg-color: #fff;
  --td-tab-track-color: #ff6c00
}
.loading {
@@ -281,4 +330,80 @@
  --td-button-primary-border-color: #ff6c00;
  --td-button-primary-active-bg-color: #ff984d;
  --td-button-primary-active-border-color: #ff984d;
}
.noData {
  height: 100%;
}
.applyBox {
  width: 184rpx;
  height: 184rpx;
  position: absolute;
  bottom: 20%;
  right: 0;
}
.applyBox .box {
  width: 184rpx;
  height: 184rpx;
  color: #fff;
  position: relative;
}
.applyBox .box .t-image {
  width: 100%;
  height: 100%;
}
.num {
  background-color: #FD3D16;
  color: #fff;
  border: 2rpx solid #FFFFFF;
  font-size: 24rpx;
  line-height: 30rpx;
  font-weight: 400;
  width: 48rpx;
  height: 32rpx;
  text-align: center;
  border-radius: 9px;
  position: absolute;
  top: 30rpx;
  left: 118rpx;
}
.webView {
  height: 500rpx;
}
.t-tabs__item-inner {
  flex-direction: column;
}
.t-tabs .t-tabs__item--active {
  /* color: #ff6d00;
  font-size: 30rpx; */
  background-repeat: no-repeat;
  background-size: 40% 64%;
  background-position: right;
  background-image: url(http://jsysf.bnuic.com/website/image/click-icon.png);
}
.loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.suggest-component .t-input__placeholder {
  font-size: 28rpx !important;
}
.t-tabs__item-inner {
  font-size: 24rpx;
}
.t-tabs__item-inner .t-icon {
  margin-bottom: 6rpx;
}