ソースを参照

fix: 首页分类 swiper 高度不足导致第二行文字被截断

每行 154rpx(112rpx 图标 + 12rpx 间距 + 30rpx 文字),两行加首行 28rpx
margin-bottom 共需 336rpx,原高度 320rpx 不够。
调整为 360rpx,留出余量防止长名称换行时也被截断。
Developer 5 日 前
コミット
c880b589ca
1 ファイル変更1 行追加1 行削除
  1. 1 1
      pages/home.vue

+ 1 - 1
pages/home.vue

@@ -347,7 +347,7 @@
 				box-sizing: border-box;
 				box-sizing: border-box;
 				.typegrid-swiper{
 				.typegrid-swiper{
 					width: 100%;
 					width: 100%;
-					height: 320rpx;
+					height: 360rpx;
 				}
 				}
 				.typegrid-page{
 				.typegrid-page{
 					width: 100%;
 					width: 100%;