diff --git a/index.html b/index.html index 4953173..c2da8fa 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + @@ -179,19 +179,6 @@ 宫格右下角那张 .mini-card.more 是**内容**位(顺带把第三列剩下的 44px 填平,而且是个够手指点的大靶子)。两个都指向 data-sheet="open", 删掉任意一个另一个都还走得通。 --> - - -
+ + +
diff --git a/js/app.js b/js/app.js index 23971d8..04eb9b7 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26100159'; + var VER = '26100160'; 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 f4ad095..6fcf1b8 100644 --- a/mama-box.css +++ b/mama-box.css @@ -3654,3 +3654,23 @@ a.skip:focus{left:16px;top:16px} .wh-page{transition:opacity .2s} } .whp-say{display:grid;place-items:center;text-align:center;padding:0} + +/* ================= 盲盒挪到页底 + 来信卡居中短版(2026-10-02)================= + 用户:「盲盒放到首页下边,给一个位置就行,不用太明显;宝宝来信不要太长,居中展示」。 */ +.home-body>.bb-banner{margin:22px 0 6px;min-height:52px;padding:8px 12px 8px 8px;gap:10px;border-radius:16px; + background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px #F1E6DF} +.home-body>.bb-banner .bb-gift{width:36px;height:36px;border-radius:11px} +.home-body>.bb-banner .bb-gift svg{width:26px;height:26px;animation:none} +.home-body>.bb-banner .bb-badge{left:32px;top:3px} +.home-body>.bb-banner .bb-t{font-size:13.5px;font-weight:600} +.home-body>.bb-banner .bb-s{font-size:11.5px} +.home-body>.bb-banner .bb-cta{padding:0;background:none;font-size:12px;font-weight:600;color:#B7A69C} +.home-body>.bb-banner .bb-cta::after{content:" ›"} + +.letter-card{width:fit-content;max-width:calc(100% - 64px);min-width:236px;margin-left:auto;margin-right:auto; + min-height:58px;padding:9px 14px 9px 9px;gap:10px;border-radius:18px} +.letter-card .lc-envwrap{flex-basis:38px;width:38px;height:38px;border-radius:12px} +.letter-card .lc-env-v{width:22px;height:17px} +.letter-card .lc-body{flex:0 1 auto} +.letter-card .lc-title{font-size:14.5px} +.letter-card .lc-desc{font-size:11.5px;max-width:170px}