fix(iOS微信真机): 修复扫码核销页 scroll-view 高度塌陷

根因:.verify-page 只有 min-height:100vh,没有明确 height。
iOS 微信真机的 flex 引擎需要父容器有明确高度才能计算
flex:1 子元素的剩余空间。min-height 不作为 flex 高度基准,
导致 .verify-scroll (flex:1; height:0) 高度塌陷为 0,
内容不可见。header 是 position:fixed 脱离 flex 流所以正常。

修复:给 .verify-page 加 height:100vh,min-height 保留兜底。
master
Council 2026-06-30 16:06:29 +08:00
parent 0a42be5df6
commit 388a80e035
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
/* ========== 页面整体布局 ========== */
/* [iOS ] 2026-06-30
min-height:100vhiOS flex:1 scroll-view
0
height:100vh min-height */
.verify-page {
height: 100vh;
min-height: 100vh;
background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
display: flex;