闫增涛
2024-04-12 672575a32ecd7f8e0bcd76152040657e9e57328a
packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss
@@ -1 +1,61 @@
/* packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss */
/* packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss */
.fl {
  display: flex;
  flex-wrap: wrap;
}
.ctr {
  justify-content: center;
}
.reletedBooks {
  padding: 80rpx 40rpx;
}
.book-box {
  width: 28%;
  margin-bottom: 40rpx;
  margin-right: calc(16vw - 68rpx);
}
.book-box:nth-child(3n) {
  margin-right: 0;
}
.book-image {
  width: 180rpx;
  height: 254rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
.book-image image {
  height: 100%;
}
.book-name {
  margin-top: 20rpx;
  width: 100%;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #333;
  font-weight: bold;
  font-size: 28rpx;
}
.loading-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: min-content;
}
.noData {
  margin: 0 auto;
}