litian
2024-09-02 c3086cda662e2b908cf96b6b3ff599713eb924d6
pages/digitalTextbooks/index.wxss
@@ -1,64 +1,80 @@
/* pages/digitalTextbooks/index.wxss */
@import "./index.skeleton.wxss";
/* pages/digitalCourses/index.wxss */
image {
  width: 100%;
  height: 100%;
}
.nacigationBar {
  display: flex;
  align-items: center;
  --td-search-font-size: 28rpx;
  margin-bottom: 30rpx;
}
.nacigationBar .t-icon-base {
  font-size: 38rpx;
  padding-left: 10rpx;
}
.t-search__input-box {
  height: var(--td-search-height, 70rpx) !important;
  height: 70rpx !important;
}
.t-icon {
  font-family: t !important;
.t-icon-search {
  font-size: 38rpx;
}
.heardTab {
  display: flex;
  justify-content: space-between;
}
.tabBox {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 750rpx;
  overflow-x: auto;
  /* 添加水平滚动条 */
  white-space: nowrap;
  /* 保持子元素在一行显示 */
  width: 70vw
}
.tabBox .nameBox {
  color: #FF6C00;
  height: 70rpx;
  /* border-bottom: 1px solid #FF6C00; */
.dropdown {
  z-index: 1;
  width: 29vw;
  box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
}
.bottomLineBox {
  height: 5rpx;
  width: 50rpx;
  background-color: #FF6C00;
  margin: 0 auto;
.t-dropdown-menu__item--active,
.t-radio__icon--checked,
.t-checkbox__icon--checked {
  color: #FF6C00 !important
}
.t-tabs__item--active {
  color: #FF6C00 !important;
}
.t-tabs__track {
  background-color: #FF6C00 !important;
  /* height: var(--td-tab-track-thickness, 0rpx) !important; */
}
.t-tabs .t-tabs__item--active {
  background-repeat: no-repeat;
  /* background-size: 100% 100%;
  background-position: 100% 100%; */
  background-image: url(https://jsek.bnuic.com/home/image/click-icon.png);
  background-position: 85% center;
  background-size: 20% 50%;
  /* 将背景图片位置设置为靠右 */
}
.contentBox {
  background-color: #F2F3F8;
  width: 100%;
  height: 100%;
  margin-top: 268rpx;
  background-color: #f2f3f7;
}
.titleBox {
  display: flex;
  align-items: center;
  margin: 10px;
  margin-left: 0;
  padding-top: 30rpx;
}
@@ -72,8 +88,8 @@
.titleTextBox {
  margin-left: 15px;
  min-width: 180rpx;
  min-height: 36rpx;
  width: 200rpx;
  height: 36rpx;
  /*宽 3.7   高1 */
}
@@ -82,6 +98,72 @@
  height: 100%;
  image-rendering: -webkit-optimize-contrast;
}
.informationBox {
  width: 340rpx;
  height: 470rpx;
  border-radius: 9rpx 9rpx 9rpx 9rpx;
  background-color: #fff;
  margin-bottom: 40rpx;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
.book-img {
  width: 100%;
  height: 250rpx;
  margin: 0 auto;
  /* box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); */
}
.book-name {
  margin: 15rpx 30rpx;
  color: #333;
  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;
}
.author {
  margin: 0 30rpx;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 15rpx;
  font-weight: bold;
}
.money {
  margin: 0 30rpx;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #ff6c00;
}
.ExternalInformationBox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 15rpx;
  margin-top: 40rpx;
}
.noDataBox {
  width: 100%;
  /* margin-top: 200rpx; */
  height: 620rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bookContentBox {
  display: flex;
@@ -117,7 +199,8 @@
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  font-size: 30rpx;
  font-size: 25rpx;
  color: rgb(153, 153, 153);
}
@@ -132,7 +215,6 @@
  margin: 0 20rpx;
  height: 75rpx;
  color: #333;
  width: 100%;
  font-size: 28rpx;
  font-weight: 700;
  word-break: break-all;
@@ -151,6 +233,7 @@
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  width: 150rpx;
}
.price {
@@ -183,4 +266,15 @@
  z-index: 999;
  /* 确保盒子在页面其他元素的上方 */
  /* 其他样式,如padding、box-shadow等 */
}
.outsideContentBox {
  /* padding: 30rpx; */
  background: #F2F3F8;
  border-radius: 18rpx 18rpx 18rpx 18rpx;
  /* padding-bottom: 325rpx; */
  height: calc(100vh - 450rpx);
  /* width: calc(100vw - 60rpx); */
}