From 4438a8405653f102837509e76e355341bebce356 Mon Sep 17 00:00:00 2001 From: Council Date: Tue, 30 Jun 2026 16:16:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(iOS=E5=BE=AE=E4=BF=A1=E7=9C=9F=E6=9C=BA):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E6=A0=B8=E9=94=80=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=AB=98=E5=BA=A6=E5=A1=8C=E9=99=B7+header=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=A9=BF=E9=80=8F+iconfont=E8=A3=81=E5=89=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. records/index.css: .records-page 加 height:100vh (同 verify 修复) - 原先只有 min-height:100vh,iOS flex:1 scroll-view 高度塌陷 2. records/index.css + verify/index.css: header pointer-events 修复 - backdrop-filter 在 iOS 创建合成层会拦截下方点击 - header 容器 pointer-events:none,header-inner pointer-events:auto - 修复 header 半透明区域无法点击、返回按钮无响应 3. records/index.vue: getApp() 从顶层移到 onLoad() (同 verify 修复) - 消除 subpackage evaluate 时机隐患 - 5 处 app.globalData 改为 getApp().globalData 4. iconfont.vue: 修复 iOS 大尺寸 icon 裁剪/样式残缺 - 移除 max-width/max-height:100px 限制 - 移除 width/height:1em 硬约束 - display:flex → inline-block,让 font-size 驱动尺寸 gitnexus detect_changes: risk_level=low, 0 affected_processes --- components/iconfont/iconfont.vue | 11 +++--- .../vr-ticket-wallet/records/index.vue | 39 ++++++++++++------- .../vr-ticket-wallet/records/records.css | 12 ++++++ .../plugins/vr-ticket-wallet/verify/index.css | 5 +++ 4 files changed, 46 insertions(+), 21 deletions(-) diff --git a/components/iconfont/iconfont.vue b/components/iconfont/iconfont.vue index ad73f2b1..95075a92 100644 --- a/components/iconfont/iconfont.vue +++ b/components/iconfont/iconfont.vue @@ -41,14 +41,13 @@ @import url('@/static/icon/iconfont.css'); /* @import url('https://at.alicdn.com/t/c/font_4227145_kbr2f9jt68b.css'); */ .iconfont { - display: flex; + /* [iOS 修复] 2026-06-30 + 原先 display:flex + max-width/max-height:100px + width/height:1em + 在 iOS 微信真机上会导致大尺寸 icon (如 120rpx) 被裁剪或样式残缺。 + 改用 inline-block,让 font-size 驱动尺寸,不设 max-width/max-height。 */ + display: inline-block; font-size: inherit; overflow: hidden; - /* 限制最大尺寸防止缩放异常 */ - max-width: 100px; - max-height: 100px; - width: 1em; - height: 1em; /* 因icon大小被设置为和字体大小一致,而span等标签的下边缘会和字体的基线对齐,故需设置一个往下的偏移比例,来纠正视觉上的未对齐效果 */ vertical-align: -0.15em; outline: none; diff --git a/pages/plugins/vr-ticket-wallet/records/index.vue b/pages/plugins/vr-ticket-wallet/records/index.vue index 0ba718c7..a8243b58 100644 --- a/pages/plugins/vr-ticket-wallet/records/index.vue +++ b/pages/plugins/vr-ticket-wallet/records/index.vue @@ -42,7 +42,7 @@ @@ -54,7 +54,7 @@ @@ -150,22 +150,23 @@