v26110259 预览:此刻改为「孕期百宝箱」三入口(趣味小测试 / 孕期百问 / 孕期计算器)进列表页;新增计算器列表页 topic/jisuan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-03 13:46:12 +00:00
parent d41d16fa56
commit a7df62c4fd
13 changed files with 195 additions and 137 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26110258';
var VER = '26110259';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -5650,6 +5650,8 @@
}
(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; });
const tp = $('#qaTips'); if (tp) tp.addEventListener('click', () => openTips());
})();
/* 首页四个入口 → 详情页,滚到对应那张卡并闪一下 */