diff --git a/guangchang/ceshi/cv/t01.webp b/guangchang/ceshi/cv/t01.webp new file mode 100644 index 0000000..7616c9b Binary files /dev/null and b/guangchang/ceshi/cv/t01.webp differ diff --git a/guangchang/ceshi/cv/t02.webp b/guangchang/ceshi/cv/t02.webp new file mode 100644 index 0000000..e91263a Binary files /dev/null and b/guangchang/ceshi/cv/t02.webp differ diff --git a/guangchang/ceshi/cv/t03.webp b/guangchang/ceshi/cv/t03.webp new file mode 100644 index 0000000..c76999e Binary files /dev/null and b/guangchang/ceshi/cv/t03.webp differ diff --git a/guangchang/ceshi/cv/t04.webp b/guangchang/ceshi/cv/t04.webp new file mode 100644 index 0000000..7ef735f Binary files /dev/null and b/guangchang/ceshi/cv/t04.webp differ diff --git a/guangchang/ceshi/cv/t05.webp b/guangchang/ceshi/cv/t05.webp new file mode 100644 index 0000000..92a83d0 Binary files /dev/null and b/guangchang/ceshi/cv/t05.webp differ diff --git a/guangchang/ceshi/cv/t06.webp b/guangchang/ceshi/cv/t06.webp new file mode 100644 index 0000000..47f8112 Binary files /dev/null and b/guangchang/ceshi/cv/t06.webp differ diff --git a/guangchang/ceshi/cv/t07.webp b/guangchang/ceshi/cv/t07.webp new file mode 100644 index 0000000..6888f82 Binary files /dev/null and b/guangchang/ceshi/cv/t07.webp differ diff --git a/guangchang/ceshi/cv/t08.webp b/guangchang/ceshi/cv/t08.webp new file mode 100644 index 0000000..cc37389 Binary files /dev/null and b/guangchang/ceshi/cv/t08.webp differ diff --git a/guangchang/ceshi/cv/t09.webp b/guangchang/ceshi/cv/t09.webp new file mode 100644 index 0000000..f9713a9 Binary files /dev/null and b/guangchang/ceshi/cv/t09.webp differ diff --git a/guangchang/ceshi/cv/t10.webp b/guangchang/ceshi/cv/t10.webp new file mode 100644 index 0000000..4cc3fe4 Binary files /dev/null and b/guangchang/ceshi/cv/t10.webp differ diff --git a/guangchang/ceshi/cv/t11.webp b/guangchang/ceshi/cv/t11.webp new file mode 100644 index 0000000..c304dd1 Binary files /dev/null and b/guangchang/ceshi/cv/t11.webp differ diff --git a/guangchang/ceshi/cv/t12.webp b/guangchang/ceshi/cv/t12.webp new file mode 100644 index 0000000..3ec4fd8 Binary files /dev/null and b/guangchang/ceshi/cv/t12.webp differ diff --git a/guangchang/ceshi/cv/t13.webp b/guangchang/ceshi/cv/t13.webp new file mode 100644 index 0000000..be0d408 Binary files /dev/null and b/guangchang/ceshi/cv/t13.webp differ diff --git a/guangchang/ceshi/cv/t14.webp b/guangchang/ceshi/cv/t14.webp new file mode 100644 index 0000000..6074204 Binary files /dev/null and b/guangchang/ceshi/cv/t14.webp differ diff --git a/guangchang/ceshi/cv/t15.webp b/guangchang/ceshi/cv/t15.webp new file mode 100644 index 0000000..2e2d3db Binary files /dev/null and b/guangchang/ceshi/cv/t15.webp differ diff --git a/guangchang/ceshi/cv/t16.webp b/guangchang/ceshi/cv/t16.webp new file mode 100644 index 0000000..48cb4d8 Binary files /dev/null and b/guangchang/ceshi/cv/t16.webp differ diff --git a/guangchang/ceshi/cv/t17.webp b/guangchang/ceshi/cv/t17.webp new file mode 100644 index 0000000..35492f8 Binary files /dev/null and b/guangchang/ceshi/cv/t17.webp differ diff --git a/guangchang/ceshi/cv/t18.webp b/guangchang/ceshi/cv/t18.webp new file mode 100644 index 0000000..bd0830a Binary files /dev/null and b/guangchang/ceshi/cv/t18.webp differ diff --git a/guangchang/ceshi/cv/t19.webp b/guangchang/ceshi/cv/t19.webp new file mode 100644 index 0000000..47c2020 Binary files /dev/null and b/guangchang/ceshi/cv/t19.webp differ diff --git a/guangchang/ceshi/cv/t20.webp b/guangchang/ceshi/cv/t20.webp new file mode 100644 index 0000000..c610cb5 Binary files /dev/null and b/guangchang/ceshi/cv/t20.webp differ diff --git a/guangchang/ceshi/cv/t21.webp b/guangchang/ceshi/cv/t21.webp new file mode 100644 index 0000000..887a296 Binary files /dev/null and b/guangchang/ceshi/cv/t21.webp differ diff --git a/guangchang/ceshi/cv/t22.webp b/guangchang/ceshi/cv/t22.webp new file mode 100644 index 0000000..e52124c Binary files /dev/null and b/guangchang/ceshi/cv/t22.webp differ diff --git a/guangchang/ceshi/cv/t23.webp b/guangchang/ceshi/cv/t23.webp new file mode 100644 index 0000000..8702ccd Binary files /dev/null and b/guangchang/ceshi/cv/t23.webp differ diff --git a/guangchang/ceshi/cv/t24.webp b/guangchang/ceshi/cv/t24.webp new file mode 100644 index 0000000..56d7725 Binary files /dev/null and b/guangchang/ceshi/cv/t24.webp differ diff --git a/guangchang/ceshi/cv/t25.webp b/guangchang/ceshi/cv/t25.webp new file mode 100644 index 0000000..df449bc Binary files /dev/null and b/guangchang/ceshi/cv/t25.webp differ diff --git a/guangchang/ceshi/cv/t26.webp b/guangchang/ceshi/cv/t26.webp new file mode 100644 index 0000000..767af6b Binary files /dev/null and b/guangchang/ceshi/cv/t26.webp differ diff --git a/guangchang/ceshi/cv/t27.webp b/guangchang/ceshi/cv/t27.webp new file mode 100644 index 0000000..a16f9d9 Binary files /dev/null and b/guangchang/ceshi/cv/t27.webp differ diff --git a/guangchang/ceshi/cv/t28.webp b/guangchang/ceshi/cv/t28.webp new file mode 100644 index 0000000..6f763aa Binary files /dev/null and b/guangchang/ceshi/cv/t28.webp differ diff --git a/guangchang/ceshi/cv/t29.webp b/guangchang/ceshi/cv/t29.webp new file mode 100644 index 0000000..5ef6efe Binary files /dev/null and b/guangchang/ceshi/cv/t29.webp differ diff --git a/guangchang/ceshi/cv/t30.webp b/guangchang/ceshi/cv/t30.webp new file mode 100644 index 0000000..5e240fc Binary files /dev/null and b/guangchang/ceshi/cv/t30.webp differ diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index be734fd..13b68f7 100644 --- a/guangchang/ceshi/index.html +++ b/guangchang/ceshi/index.html @@ -320,9 +320,9 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd
- - - + + + - - - - + + + + + + @@ -2591,17 +2591,17 @@ - + - - + + - + diff --git a/js/app.js b/js/app.js index c6dd2fe..ee1584d 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110409'; + var VER = '26110410'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); @@ -1167,6 +1167,7 @@ function closePanel() { const el = panelStack.pop(); if (el) el.classList.remove('show'); + if (el && el.dataset.t0 != null) { document.title = el.dataset.t0; delete el.dataset.t0; } /* 百宝箱进来的百问:关掉还原顶栏标题 */ } function closeAllPanels() { while (panelStack.length) closePanel(); } $$('[data-open]').forEach(b => b.addEventListener('click', () => openPanel(b.dataset.open, b))); @@ -5744,7 +5745,11 @@ (function () { const all = $('#msAll'); if (all) all.addEventListener('click', () => loadQA().then(() => openQA())); /* 11-02 合并版里原模块可能没渲染过,先确保问题库到手 */ /* 11-03 首页「孕期百问」入口(js/kit.js)打开同一个全部问题页,标题换成「孕期百问」 */ - window.__mbOpenQA = t => loadQA().then(() => { openQA(); if (t) $('#qaTitle').textContent = t; }); + /* 11-04 用户:从孕期百宝箱进百问,小程序最上边(取 document.title)也要是「孕期百宝箱」,关掉还原 */ + window.__mbOpenQA = t => loadQA().then(() => { + openQA(); if (t) $('#qaTitle').textContent = t; + const d = $('#detailQA'); if (t === '孕期百问' && d && d.dataset.t0 == null) { d.dataset.t0 = document.title; document.title = '孕期百宝箱'; } + }); const tp = $('#qaTips'); if (tp) tp.addEventListener('click', () => openTips()); })(); /* 首页四个入口 → 详情页,滚到对应那张卡并闪一下 */ diff --git a/js/gch/v4.css b/js/gch/v4.css index 5976a5b..7472e0e 100644 --- a/js/gch/v4.css +++ b/js/gch/v4.css @@ -102,3 +102,18 @@ #gcHome.gv4 .g4-slg{margin-left:8px;align-self:center;margin-top:3px;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#C08A86;letter-spacing:.5px;white-space:nowrap} #gcHome.gv4 .g4-slg i{width:9px;height:9px;flex:none;background:#F2879C;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5-8-11a4.5 4.5 0 018-2.8A4.5 4.5 0 0120 10c0 6-8 11-8 11z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5-8-11a4.5 4.5 0 018-2.8A4.5 4.5 0 0120 10c0 6-8 11-8 11z'/%3E%3C/svg%3E") center/contain no-repeat} html.night #gcHome.gv4 .g4-slg{color:#B79A9E} + +/* 11-04 入口条改版:去掉头像串 → 图标块 + 两行字 + 「进广场」(箭头隔几秒往右推一下,提示可点) */ +#gcHome.gv4 .g4-sub{gap:10px;padding:9px 9px 9px 10px;border-radius:18px;background:linear-gradient(100deg,#FFF3F5,#FFE6EC);border:1px solid #FFDCE4;box-shadow:0 6px 14px -12px rgba(224,86,111,.6)} +#gcHome.gv4 .g4-ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff;color:#F2627E;box-shadow:0 3px 8px -5px rgba(242,98,126,.55)} +#gcHome.gv4 .g4-ic svg{width:21px;height:21px} +#gcHome.gv4 .g4-st{display:flex;flex-direction:column;gap:2px} +#gcHome.gv4 .g4-st b{font-size:14px;font-weight:800;color:#3A2A2E;overflow:hidden;text-overflow:ellipsis} +#gcHome.gv4 .g4-st small{font-size:11px;color:#A8908F;overflow:hidden;text-overflow:ellipsis} +#gcHome.gv4 .g4-in{height:30px;padding:0 9px 0 13px;font-size:13px} +#gcHome.gv4 .g4-in i{font-size:16px;animation:g4Nudge 2.8s ease-in-out infinite} +@keyframes g4Nudge{0%,70%,100%{transform:none}78%{transform:translateX(3px)}86%{transform:none}92%{transform:translateX(2px)}} +html.night #gcHome.gv4 .g4-sub{background:#3A2F3E;border-color:transparent} +html.night #gcHome.gv4 .g4-ic{background:#2F2737} +html.night #gcHome.gv4 .g4-st b{color:#F1E6EE} +@media (prefers-reduced-motion:reduce){#gcHome.gv4 .g4-in i{animation:none}} diff --git a/js/gch/v4.js b/js/gch/v4.js index d1ebd2a..b7054a8 100644 --- a/js/gch/v4.js +++ b/js/gch/v4.js @@ -45,7 +45,9 @@ /* 11-03 用户:首页孕妈广场右上角的分类(全部 / 家庭婚姻 / 职场 / 经验)取消,换一句小 slogan */ '孕期路上,有人陪你' + /* 11-02 用户:「逛广场」单独挂在右边突兀 → 整行做成入口条(浅粉底,整条可点),右侧实心「进广场」 */ - '依据《育儿补贴制度实施方案》(2025)估算,月数折算以当地核定为准。
- + - +