111
litian
2024-03-20 0555dd7dc2edc553030b7a6d03d6a1cda4b1e336
pages/home/home.wxss
@@ -15,6 +15,7 @@
  top: 0;
  left: 0;
  height: 80rpx;
  line-height: 80rpx;
  z-index: 3;
  text-align: center;
  padding-top: 110rpx;
@@ -152,7 +153,7 @@
.body-info .name {
  font-size: 30rpx;
  height: 88rpx;
  height: 80rpx;
  color: #333333;
  font-weight: bold;
  line-height: 40rpx;
@@ -173,6 +174,17 @@
  font-size: 26rpx;
  display: flex;
  justify-content: space-between;
  display: -webkit-box;
  /* 使用弹性盒子布局模型 */
  -webkit-line-clamp: 1;
  /* 控制文本的行数 */
  -webkit-box-orient: vertical;
  /* 设置盒子的子元素排列方向 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  white-space: normal;
}
.body-info .price {
@@ -241,7 +253,7 @@
}
.listBox2 .booksListItemBox {
  width: calc(100%/3 - 30rpx);
  width: calc(100%/3 - 32rpx);
  margin-bottom: 30rpx;
  margin-right: 45rpx;
}
@@ -360,10 +372,16 @@
  height: 80rpx;
  width: 188rpx;
  color: #333333;
  line-height: 30rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 40rpx;
  display: -webkit-box;
  /* 使用弹性盒子布局模型 */
  -webkit-line-clamp: 2;
  /* 控制文本的行数 */
  -webkit-box-orient: vertical;
  /* 设置盒子的子元素排列方向 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  white-space: normal;
}