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}