From 915459f21a75a0eaa8fba1e8eda77532e99b535a Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Tue, 8 Sep 2026 03:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E4=BA=A7=E6=9C=9F=E5=8D=A0=E4=BD=8D?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E9=94=9A=E5=AE=9A=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD,=20=E4=BF=AE=E5=A4=8D=20iO?= =?UTF-8?q?S=20webview=20=E4=B8=8B=E9=94=99=E4=BD=8D=20(v26090730)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 14 ++++++++------ mama-box.css | 5 +++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index e4bf0a8..53bbacf 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ 妈妈盒子 · 孕育陪伴 - - + + @@ -1748,7 +1748,9 @@ 默认值不写死在标记里 —— 由 JS 按「打开这一刻 + 3 个月」现算 --> - +
@@ -1771,8 +1773,8 @@ 加载失败/离线时 window.wx 为 undefined,goMall() 会降级为 toast 提示, 不影响应用其余功能。 --> - - -
v26090729
+ + +
v26090730
diff --git a/mama-box.css b/mama-box.css index f0209c6..7679667 100644 --- a/mama-box.css +++ b/mama-box.css @@ -2654,5 +2654,6 @@ a.skip:focus{left:16px;top:16px} .empty-guide .eg-btn:active{transform:scale(.97)} /* 预产期 date 输入的空值占位(原生 date 不支持 placeholder) */ -.fld-date{position:relative} -.fld-date .date-ph{position:absolute;left:16px;bottom:14px;font-size:14px;color:#C9B7AC;pointer-events:none;display:block} +.fld-date .due-box{position:relative;display:block} +/* 占位锚定输入框本身并垂直居中 —— 各内核 date 输入框高度不一,锚 label 底部会错位 */ +.fld-date .date-ph{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:14px;color:#C9B7AC;pointer-events:none;display:block;line-height:1}