This commit is contained in:
@@ -500,8 +500,10 @@
|
||||
/* Screenshot-aligned order list skin */
|
||||
.container {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
top: var(--window-top);
|
||||
top: 88rpx;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: #f8f9fb;
|
||||
padding: 0;
|
||||
gap: 0;
|
||||
@@ -595,9 +597,9 @@
|
||||
}
|
||||
|
||||
.order-swiper {
|
||||
/* swiper 在 H5 中无法可靠地从 flex 容器继承剩余高度。 */
|
||||
flex: none;
|
||||
height: calc(100% - 92rpx);
|
||||
/* 固定页面提供确定高度,轮播填充 Tab 下方的全部可用空间。 */
|
||||
flex: 1 1 0;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -724,7 +724,10 @@
|
||||
/* Screenshot-aligned package list skin */
|
||||
.container {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
top: 88rpx;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18rpx;
|
||||
@@ -859,9 +862,9 @@
|
||||
}
|
||||
|
||||
.package-swiper {
|
||||
/* swiper 在 H5 中无法可靠地从嵌套 flex 获取自动高度。 */
|
||||
flex: none;
|
||||
height: calc(100% - 116rpx);
|
||||
/* 固定页面提供确定高度,轮播填充 Tab 下方的全部可用空间。 */
|
||||
flex: 1 1 0;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user