fix: ui
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 2m11s

This commit is contained in:
luo
2026-08-13 12:06:13 +08:00
parent ac45a08373
commit 61672a4d51
2 changed files with 11 additions and 5 deletions

View File

@@ -504,7 +504,8 @@
padding: 0;
gap: 0;
padding-top: 0;
height: 100%;
height: 100vh;
height: 100dvh;
min-height: 0;
overflow: hidden;
}
@@ -593,8 +594,10 @@
}
.order-swiper {
flex: 1 1 0;
height: auto;
/* swiper 在 H5 中无法可靠地从 flex 容器继承剩余高度。 */
flex: none;
height: calc(100vh - 108rpx);
height: calc(100dvh - 108rpx);
overflow: hidden;
}

View File

@@ -728,6 +728,7 @@
gap: 18rpx;
padding: 20rpx 24rpx 48rpx;
height: 100vh;
height: 100dvh;
min-height: 0;
background: #f8f9fb;
box-sizing: border-box;
@@ -857,8 +858,10 @@
}
.package-swiper {
flex: 1;
height: auto;
/* swiper 在 H5 中无法可靠地从嵌套 flex 获取自动高度。 */
flex: none;
height: calc(100vh - 190rpx);
height: calc(100dvh - 190rpx);
overflow: hidden;
}