yiming
2024-06-13 afa97d5f4e0ed176a556d9fe04d4655e005e6991
pages/digitalTextbooks/index.wxss
@@ -1,6 +1,15 @@
/* pages/digitalTextbooks/index.wxss */
@import "./index.skeleton.wxss";
/* pages/digitalCourses/index.wxss */
image {
  width: 100%;
  height: 100%;
}
.nacigationBar {
  display: flex;
  align-items: center;
@@ -13,51 +22,40 @@
  font-size: 38rpx;
}
.t-search__input-box {
  height: var(--td-search-height, 70rpx) !important;
.custom-tabs {
  margin-bottom: 32rpx;
}
.t-icon {
  font-family: t !important;
.custom-panel {
  /* height: ; */
  height: calc(100vh - 300rpx);
  color: var(--td-text-color-primary);
}
.tabBox {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 750rpx;
  overflow-x: auto;
  /* 添加水平滚动条 */
  white-space: nowrap;
  /* 保持子元素在一行显示 */
.t-tabs__item--active {
  color: #FF6C00 !important;
}
.tabBox .nameBox {
  color: #FF6C00;
  height: 70rpx;
  /* border-bottom: 1px solid #FF6C00; */
.t-tabs__track {
  background-color: #FF6C00 !important;
  /* height: var(--td-tab-track-thickness, 0rpx) !important; */
}
.bottomLineBox {
  height: 5rpx;
  width: 50rpx;
  background-color: #FF6C00;
  margin: 0 auto;
}
page {
  background-color: #F2F3F8;
.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 {
@@ -77,8 +75,8 @@
.titleTextBox {
  margin-left: 15px;
  min-width: 180rpx;
  min-height: 36rpx;
  width: 180rpx;
  height: 36rpx;
  /*宽 3.7   高1 */
}
@@ -87,6 +85,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;
@@ -138,7 +202,7 @@
  margin: 0 20rpx;
  height: 75rpx;
  color: #333;
  width: 100%;
  font-size: 28rpx;
  font-weight: 700;
  word-break: break-all;
@@ -189,4 +253,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); */
}