bug
litian
2024-09-14 4c29b79d485d68d506e798f4fd381232ebc55a86
packageBookService/pages/bookServices/detail/index.wxss
@@ -1,5 +1,11 @@
/* pages/bookServices/detail/index.wxss */
@import "./index.skeleton.wxss";
.page-bookService {
  width: 100vw;
  height: 100%;
  position: relative;
}
.nacigationBar {
  background-color: #fff;
@@ -8,24 +14,50 @@
}
.navbar-title {
  /* widows: 100vw; */
  display: flex;
  justify-content: center;
  color: #0F1214;
  font-size: 36rpx;
  z-index: -99;
}
.navbar-title text {
  max-width: 8em;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0F1214;
  font-size: 40rpx;
  font-weight: bold;
}
.book {
  position: relative;
  height: 81vh;
  height: calc(100vh - env(safe-area-inset-bottom) - 60px);
  /* height: calc(100vh - env(safe-area-inset-bottom) - 141px); */
  background-color: #F2F3F8;
}
.book-img {
  width: 240rpx;
  height: 340rpx;
  display: flex;
  align-items: center;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
.book-img image {
  height: 340rpx;
}
.book-detail {
  padding: 32rpx;
  display: flex;
  border-radius: 0 0 20rpx 20rpx;
}
.tmall-image {
  width: 64rpx !important;
}
.detail-left {
@@ -51,9 +83,6 @@
  font-size: 36rpx;
  color: #000000;
  margin-bottom: 30rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.showTow {
@@ -133,7 +162,7 @@
  display: flex;
  align-items: center;
  width: 100%;
  height: 150rpx;
  height: 120rpx;
  border-radius: 0 0 20rpx 20rpx;
}
@@ -159,12 +188,12 @@
.price {
  margin-left: 12rpx;
  font-size: 34rpx;
  font-size: 32rpx;
  color: #fff;
}
.price-text {
  font-size: 34rpx;
  font-size: 32rpx;
}
.price-old {
@@ -172,16 +201,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;
@@ -200,12 +223,11 @@
/* 图书资源 */
.book-resource {
  /* min-height: 640rpx; */
  min-height: calc(100vh - 960rpx);
  min-height: calc(100% - 637rpx);
  margin-top: 20rpx;
  background-color: #fff !important;
  --td-tab-item-height: 140rpx;
}
.custom-tabs {
  --td-tab-item-active-color: #FF6C00;
@@ -214,9 +236,9 @@
/* 底部 */
.box-bottom {
  position: fixed;
  position: absolute;
  left: 0;
  bottom: env(safe-area-inset-bottom);
  bottom: 0;
  width: 100%;
  height: 110rpx;
}
@@ -233,12 +255,21 @@
.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 {
@@ -250,17 +281,29 @@
  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;
}
.read {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #F14B3B;
}
.shopCarColor {
@@ -269,6 +312,11 @@
.buyColor {
  background-color: #F14B3B;
}
.receiveColor {
  background-color: #F14B3B;
  width: 50% !important;
}
.disabledColor {
@@ -281,7 +329,9 @@
.tab-class {
  --td-loading-color: #ff6c00
  --td-loading-color: #ff6c00;
  --td-tab-nav-bg-color: #fff;
  --td-tab-track-color: #ff6c00
}
.loading {
@@ -302,10 +352,23 @@
  height: 100%;
}
.movable-area {
  width: 100%;
  height: 100%;
}
.movable-view {
  width: 184rpx;
  height: 184rpx;
  top: 860rpx;
  left: 520rpx;
  z-index: 99;
}
.applyBox {
  width: 184rpx;
  height: 184rpx;
  position: fixed;
  position: absolute;
  bottom: 20%;
  right: 0;
}
@@ -336,4 +399,272 @@
  position: absolute;
  top: 30rpx;
  left: 118rpx;
}
.webView {
  height: 500rpx;
}
.t-tabs__item-inner {
  flex-direction: column;
}
.t-tabs .t-tabs__item--active {
  background-repeat: no-repeat;
  background-size: 35%;
  background-position: 50% 40%;
  background-image: url(https://jsek.bnuic.com/home/image/click-icon.png);
}
.t-tabs__item--evenly {
  flex: 1 0 auto !important;
}
.loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.suggest-component .t-input__placeholder {
  font-size: 28rpx !important;
}
.suggest-dialog .t-input__placeholder {
  font-size: 28rpx !important;
}
.t-tabs__item-inner .t-icon {
  margin-bottom: 20rpx;
}
.t-tabs__item-inner .t-icon__image {
  width: 36rpx !important;
  height: 44rpx !important;
}
.t-tabs__nav .t-tabs__item:nth-child(3) .t-tabs__item-inner .t-icon__image {
  width: 44rpx !important;
  height: 40rpx !important;
}
.t-tabs__nav .t-tabs__item {
  width: 160rpx !important;
  padding: 0 !important;
}
.t-tabs__scroll {
  overflow-x: auto;
}
/* .t-collapse-panel__content {
  padding: 0rpx !important;
} */
/* 蒙层 */
.popup-box {
  position: absolute;
  z-index: 99;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100vh;
}
.info-center {
  position: fixed;
  top: 15%;
  z-index: 999;
  background-color: white;
  align-items: center;
  justify-content: center;
  border-radius: 10rpx;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}
.row-info .body {
  min-height: 300rpx;
  padding: 0 20rpx;
}
.dialog-title {
  padding: 20rpx 0;
  text-align: center;
  font-weight: bold;
  font-size: 29rpx;
  color: #333333;
}
.row-info .body .from-item .label {
  min-width: 100rpx;
  height: 60rpx;
  line-height: 60rpx;
  font-size: 28rpx;
}
.row-btn {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-top: 1rpx solid #f1f1f1;
}
.row-btn view {
  flex: 1;
  text-align: center;
  margin: 20rpx 10%;
  padding: 12rpx 0;
  font-size: 32rpx;
  border-radius: 10rpx;
}
.left-btn {
  background-color: #f1f1f1;
  color: #5C5C5C;
}
.right-btn {
  background-color: #ff6c00;
  color: white;
}
.t-input {
  padding: 10rpx !important;
}
.t-input__content,
.t-textarea {
  border: 2rpx solid #D9D9D9 !important;
  border-radius: 15rpx;
  padding: 10rpx !important;
}
.from-item .label .icon {
  color: #f56c6c !important;
  margin-right: 5rpx;
}
.tip {
  font-size: 24rpx;
  color: #606266;
}
.t-input__placeholder,
.t-textarea__placeholder {
  font-size: 28rpx !important;
}
.protocolBox {
  padding: 40rpx 20rpx;
  display: flex;
}
.t-checkbox {
  background: none !important
}
.t-checkbox--block {
  padding: 0 !important;
}
.t-checkbox__title {
  font-size: 28rpx;
}
.wait {
  line-height: 48rpx;
  font-size: 28rpx;
  color: #FF6C00;
}
.block {
  position: relative;
  width: 600rpx;
  height: 820rpx;
  padding: 20rpx 0;
  background: #fff;
  border-radius: 16rpx;
}
.protocol {
  padding: 0 20rpx;
  height: 800rpx !important;
  overflow: auto !important;
}
.close-btn {
  position: absolute;
  left: 50%;
  margin-left: -32rpx;
  bottom: calc(-1 * (48rpx + 64rpx));
}
.fileList {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10rpx;
  background: #f1f1f1;
}
.t-cell::after {
  border-bottom: none !important;
}
.info-center .t-cell {
  border: 2rpx solid #D9D9D9;
  border-radius: 15rpx;
  padding: 10rpx !important;
}
.info-center .t-cell__note {
  width: 98%;
  justify-content: flex-start !important;
}
.deleteBtn {
  width: 30rpx;
  height: 30rpx;
}
.teach-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 40rpx;
  height: 120rpx;
}
.btn {
  width: 220rpx;
  font-size: 28rpx;
  --td-button-primary-bg-color: #fff;
  --td-button-primary-border-color: #FF6C00;
  --td-button-primary-color: #ff6c00;
  --td-button-primary-active-bg-color: #fff0e6;
  --td-button-primary-active-border-color: #ff6c00;
  padding: 0;
  display: flex;
  align-items: center;
}
.btn-content {
  display: flex;
  align-items: center;
}
.btn image {
  margin-right: 4rpx;
  width: 28rpx;
  height: 32rpx;
}
.btn text {
  font-size: 28rpx;
}