From ec87d36db2835eb8dd8c813957721b7e34dedb52 Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Thu, 1 Oct 2026 02:47:28 +0000 Subject: [PATCH] =?UTF-8?q?fix(=E9=A6=96=E9=A1=B5):=20=E6=8C=89=E4=B8=8B?= =?UTF-8?q?=E3=80=8C=E5=AD=95=E6=9C=9F=E4=BD=93=E9=87=8D=E3=80=8D=E7=AD=89?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=8D=A1=E6=97=B6=E5=8D=A1=E7=89=87=E8=A2=AB?= =?UTF-8?q?=E6=92=91=E9=95=BF=20(v26100106)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .bento .mini-card>*:not(.mc-art) 把点击时插入的涟漪 .rp 也改成 position:relative, 涟漪(卡宽 2.1 倍的圆)变成占位元素,flex 列布局的体重卡从 232px 撑到 ~590px。排除 .rp。 Co-Authored-By: Claude Opus 5.5 --- index.html | 2 +- js/app.js | 2 +- mama-box.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index dff4b74..902d4d5 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + diff --git a/js/app.js b/js/app.js index e02f5c9..2d1e3aa 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26100105'; + var VER = '26100106'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); diff --git a/mama-box.css b/mama-box.css index 2cfe5e9..1eeb06f 100644 --- a/mama-box.css +++ b/mama-box.css @@ -735,7 +735,7 @@ a.skip:focus{left:16px;top:16px} ⚠️ 文字层必须压在水印上面:除 .mc-art 外的子元素一律 relative + z-index:1。 ⚠️ 孕期体重那张原来是「图在上、字在下」的竖排,图标改成 absolute 退出文档流后, 标题和数字靠卡片自身的 flex 居中落在正中,不用另调。 */ -.bento .mini-card:not(.more)>*:not(.mc-art){position:relative;z-index:1} +.bento .mini-card:not(.more)>*:not(.mc-art):not(.rp){position:relative;z-index:1} .bento .mini-card:not(.more) .mc-art{filter:none;opacity:.28;transform:rotate(-12deg);pointer-events:none} .mini-card.kick .mc-art{width:62px;right:-8px;bottom:-10px} .mini-card.weight .mc-art.big{position:absolute;width:72px;right:-11px;bottom:-10px;margin:0}