From 9cce1503bbab801bd506acc6e184138dcdb033f1 Mon Sep 17 00:00:00 2001 From: deploy Date: Wed, 4 Nov 2026 10:18:23 +0000 Subject: [PATCH] =?UTF-8?q?=E7=99=BE=E5=AE=9D=E7=AE=B1=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=EF=BC=9A=E7=94=9F=E5=A8=83=E8=8A=B1=E5=A4=9A=E5=B0=91=E9=92=B1?= =?UTF-8?q?=E9=82=A3=E6=9D=A1=E7=BA=A670%=E8=BD=AE=E6=AC=A1=E9=83=BD?= =?UTF-8?q?=E5=9C=A8=E6=BB=9A=EF=BC=88v26110427=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- guangchang/ceshi/index.html | 8 ++++---- guangchang/index.html | 14 +++++++------- guangchang/mine/index.html | 4 ++-- index.html | 14 +++++++------- js/app.js | 2 +- js/gch/v4.js | 2 +- js/gch/v6.js | 4 ++-- js/kit.js | 12 ++++++++---- js/share-card.js | 2 +- topic/_shared/tools.js | 8 ++++---- topic/butie-js/index.html | 10 +++++----- topic/ceshi/index.html | 2 +- topic/chanjian-js/index.html | 10 +++++----- topic/duiyou/index.html | 2 +- topic/geshui-js/index.html | 10 +++++----- topic/jintie-js/index.html | 10 +++++----- topic/jisuan/index.html | 2 +- topic/shengao-js/index.html | 10 +++++----- topic/shouxu-js/index.html | 10 +++++----- topic/xuexing-js/index.html | 10 +++++----- topic/yuchanqi-js/index.html | 6 +++--- topic/yuezi-js/index.html | 10 +++++----- topic/yunzhou-js/index.html | 10 +++++----- topic/zengzhong-js/index.html | 10 +++++----- topic/zhichang/index.html | 4 ++-- 25 files changed, 95 insertions(+), 91 deletions(-) diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index ee02dd4..5b7597b 100644 --- a/guangchang/ceshi/index.html +++ b/guangchang/ceshi/index.html @@ -3,7 +3,7 @@ - + 测一测 · 孕妈广场 @@ -322,9 +322,9 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd
- - - + + + + 孕妈广场 @@ -888,11 +888,11 @@ button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:poin
- - - - - + + + + + + 我的投稿 @@ -107,7 +107,7 @@ main{padding:6px 16px 0}
- + - + + @@ -2614,9 +2614,9 @@ - + - + - + diff --git a/js/app.js b/js/app.js index 8566f60..556b358 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110426'; + var VER = '26110427'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); diff --git a/js/gch/v4.js b/js/gch/v4.js index 79fdd79..6a91232 100644 --- a/js/gch/v4.js +++ b/js/gch/v4.js @@ -244,5 +244,5 @@ } /* feed.js 首页默认不加载(index.html 只引了 topics.js),这里按需拉一次 */ if (window.GC_FEED) init(); - else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110426'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110427'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/js/gch/v6.js b/js/gch/v6.js index 5cb9ae6..54ff388 100644 --- a/js/gch/v6.js +++ b/js/gch/v6.js @@ -6,9 +6,9 @@ (function () { var sec = document.getElementById('gcHome'); if (!sec) return; - var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110426'; + var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110427'; document.head.appendChild(l); - var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110426'; + var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110427'; s.onload = function () { if (sec.querySelector('.g4-foot')) merge(); else sec.addEventListener('gc4-ready', merge, { once: true }); }; /* v4 要先拉 feed.js 才渲染 */ document.body.appendChild(s); diff --git a/js/kit.js b/js/kit.js index 429e7c2..90d60ee 100644 --- a/js/kit.js +++ b/js/kit.js @@ -9,7 +9,7 @@ if (/[?&]kit=0(?:&|$)/.test(location.search)) return; var box = document.getElementById('kit'), sec = document.getElementById('kitHome'); if (!box || !sec) return; - var V = '26110426'; + var V = '26110427'; var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/kit.css?v=' + V; document.head.appendChild(l); document.documentElement.classList.add('has-kit'); @@ -200,9 +200,13 @@ var rs = [].slice.call(box.querySelectorAll('.kit-rows .kr')).filter(function (r) { return r.querySelector('.kr-lv'); }); if (!rs.length) return; var n = Math.min(rs.length, Math.random() < .5 ? 1 : 2), nx, t = 0; /* 11-04 用户:同时滚动 2~3 条 → 1~2 条,不超过 2 */ - do { /* 随机挑 n 条;和上一轮完全一样就重挑,保证每次都有变化 */ - nx = rs.map(function (r, i) { return i; }).sort(function () { return Math.random() - .5; }).slice(0, n).sort(); - } while (nx.join() === LV_ON.join() && ++t < 9); + /* 11-04 用户:「生娃到底要花多少钱」那条(.hot)尽量多轮播,约 70% 的轮次都有它;其余名额从另外几条里随机挑 */ + var hi = -1; rs.forEach(function (r, i) { if (r.classList.contains('hot')) hi = i; }); + var withHot = hi >= 0 && Math.random() < .7; + do { /* 和上一轮完全一样就重挑(只有「生娃」一条时允许连着出,它自己的内容每 3 秒在换) */ + var rest = rs.map(function (r, i) { return i; }).filter(function (i) { return i !== hi; }).sort(function () { return Math.random() - .5; }); + nx = (withHot ? [hi].concat(rest.slice(0, n - 1)) : rest.slice(0, n)).sort(); + } while (nx.join() === LV_ON.join() && !(withHot && n === 1) && ++t < 9); LV_ON = nx; rs.forEach(function (r, i) { var go = LV_ON.indexOf(i) >= 0; diff --git a/js/share-card.js b/js/share-card.js index 3f52282..1c661e0 100644 --- a/js/share-card.js +++ b/js/share-card.js @@ -8,7 +8,7 @@ postMessage 不是实时投递,微信在分享那一刻才派发,所以每次换内容都要再报一次;子页面没引 jweixin,这里按需加载。 */ (function (g) { 'use strict'; - var V = '26110426'; + var V = '26110427'; var isWx = /MicroMessenger/i.test(navigator.userAgent || ''); var waiting = [], loading = false; function ready(cb) { diff --git a/topic/_shared/tools.js b/topic/_shared/tools.js index 2daef86..97edb6c 100644 --- a/topic/_shared/tools.js +++ b/topic/_shared/tools.js @@ -57,7 +57,7 @@ '.tc-more{display:block;width:100%;margin-top:6px;height:40px;border:0;border-radius:99px;background:#F7F8FA;color:#4E5969;font-size:13px;font-weight:600}'; var SLUG = (location.pathname.match(/\/topic\/([^\/]+)\//) || [])[1] || ''; /* 11-04 微信转发图:每个专题一张 assets/share/t/.jpg(核心词大字 + logo),见 js/share-card.js */ - if (SLUG) (function () { var s = document.createElement('script'); s.src = '../../js/share-card.js?v=26110426'; s.onload = function () { window.mbShare('../../assets/share/t/' + SLUG + '.jpg'); }; document.head.appendChild(s); })(); + if (SLUG) (function () { var s = document.createElement('script'); s.src = '../../js/share-card.js?v=26110427'; s.onload = function () { window.mbShare('../../assets/share/t/' + SLUG + '.jpg'); }; document.head.appendChild(s); })(); var SK = 'mmbox.tp.v1', UK = (function () { var m = ((location.hash || '') + '&' + (location.search || '')).match(/[#?&]openid=([^&]*)/); return m ? decodeURIComponent(m[1]) : '_guest'; })(); function loadMe() { try { var a = JSON.parse(localStorage.getItem(SK) || '{}') || {}; var m = a[UK] || {}; m.cm = m.cm || {}; m.lk = m.lk || {}; return { a: a, m: m }; } catch (e) { return { a: {}, m: { cm: {}, lk: {} } }; } } function saveMe(st) { try { st.a[UK] = st.m; localStorage.setItem(SK, JSON.stringify(st.a)); } catch (e) {} } @@ -70,7 +70,7 @@ function getJSON(u) { return fetch(u, { cache: 'no-cache' }).then(function (r) { if (!r.ok) throw r.status; return r.json(); }); } function related(box) { - getJSON('../_shared/idx.json?v=26110426').then(function (idx) { + getJSON('../_shared/idx.json?v=26110427').then(function (idx) { var me = null; idx.forEach(function (x) { if (x[0] === SLUG) me = x; }); var tag = me ? me[2] : '', h = 0; for (var i = 0; i < SLUG.length; i++) h = (h * 31 + SLUG.charCodeAt(i)) >>> 0; var rest = idx.filter(function (x) { return x[0] !== SLUG && (window.__mbUgc || ['ceshi', 'duiyou'].indexOf(x[0]) < 0); }); /* UGC 关着不推两个测试 */ @@ -177,13 +177,13 @@ } fetch(API + '/comments?kind=topic&target=' + encodeURIComponent(SLUG) + (OID ? '&openid=' + encodeURIComponent(OID) : '')) .then(function (r) { return r.json(); }).then(function (j) { if (j && j.code === 200) { RC = j.result; paint(); } }).catch(function () {}); - getJSON('../_shared/cm/' + SLUG + '.json?v=26110426').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); + getJSON('../_shared/cm/' + SLUG + '.json?v=26110427').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); } function ugcReady() { if (window.__mbUgcReady) return window.__mbUgcReady; return new Promise(function (res) { - var u = document.createElement('script'); u.src = '../../js/ugc.js?v=26110426'; + var u = document.createElement('script'); u.src = '../../js/ugc.js?v=26110427'; u.onload = function () { (window.__mbUgcReady || Promise.resolve(false)).then(res); }; u.onerror = function () { res(false); }; document.head.appendChild(u); diff --git a/topic/butie-js/index.html b/topic/butie-js/index.html index a190d6e..41c3768 100644 --- a/topic/butie-js/index.html +++ b/topic/butie-js/index.html @@ -11,8 +11,8 @@ 月数按「自然月」数:从 max(出生月, 2025-01) 起,到满 3 周岁那个月之前为止(结果标「约」,以当地核定为准)。 最多填 3 个孩子;还没出生的填预产期先算。地方另有加码的(如部分城市每孩另发)不在这里算。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -46,7 +46,7 @@
地方可能另有补贴:部分城市在国家 3600 元之外还另发生育补贴、育儿补贴,问一下当地卫健部门或看政务平台。

依据《育儿补贴制度实施方案》(2025)估算,月数折算以当地核定为准。

- + - + - + diff --git a/topic/ceshi/index.html b/topic/ceshi/index.html index bc23904..db94bd4 100644 --- a/topic/ceshi/index.html +++ b/topic/ceshi/index.html @@ -3,7 +3,7 @@ - + 测一测你是什么样的妈妈? diff --git a/topic/chanjian-js/index.html b/topic/chanjian-js/index.html index ecd4c32..c44c8a5 100644 --- a/topic/chanjian-js/index.html +++ b/topic/chanjian-js/index.html @@ -10,8 +10,8 @@ 每次「查什么」只列常规项目,具体以产检医院安排为准。做完可以打勾(记在本机 mmbox.calc.chanjian)。 预产期优先用预产期计算器填过的值。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -37,7 +37,7 @@
要空腹的几次:第一次建档抽血、糖耐(OGTT)一般要空腹,前一晚 10 点后别吃东西;具体看医院通知。
错过不能补的:NT(11~13+6 周)、大排畸(20~24 周)、糖耐(24~28 周)都有时间窗口,提前预约。

按《孕前和孕期保健指南(2018)》常规时间排,具体项目和时间以产检医院安排为准。

- + - + - + diff --git a/topic/duiyou/index.html b/topic/duiyou/index.html index 77a27a9..f65fd0b 100644 --- a/topic/duiyou/index.html +++ b/topic/duiyou/index.html @@ -3,7 +3,7 @@ - + 测一测:你家准爸爸是哪种队友? diff --git a/topic/geshui-js/index.html b/topic/geshui-js/index.html index 7617c7b..f61e216 100644 --- a/topic/geshui-js/index.html +++ b/topic/geshui-js/index.html @@ -11,8 +11,8 @@ 计算:综合所得年度税表(3%~45%,年减除 6 万);应纳税所得 = 12 ×(月薪 − 个人五险一金 − 其他专项附加)− 60000, 省的税 = 不扣宝宝那项的税 − 扣了之后的税。不含年终奖单独计税、劳务报酬等,结果为估算。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -49,7 +49,7 @@

按现行个税政策估算,未含年终奖单独计税等情况,以个税 App 实际计算为准。

- + - + - + diff --git a/topic/jintie-js/index.html b/topic/jintie-js/index.html index b1328e7..f94d0f2 100644 --- a/topic/jintie-js/index.html +++ b/topic/jintie-js/index.html @@ -11,8 +11,8 @@ 本省延长的天数是否由生育保险基金支付各地不一样,结果同时给出「按国家 98 天起」和「按本省合计」两个数。 津贴低于本人工资的,多数省份规定由单位补足差额 —— 填了本人月工资就算出差额。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -47,7 +47,7 @@
生育津贴 ≠ 生育医疗费:产检、住院分娩的费用另外按生育保险报销,不在这个数里。

按《社会保险法》《女职工劳动保护特别规定》常用算法估算,实际以当地医保部门核定为准。

- + - + - + diff --git a/topic/jisuan/index.html b/topic/jisuan/index.html index e5a29fd..7289e20 100644 --- a/topic/jisuan/index.html +++ b/topic/jisuan/index.html @@ -134,7 +134,7 @@ button{font:inherit;border:0;background:none;color:inherit;cursor:pointer} document.addEventListener('touchmove', function (e) { if (!sc.contains(e.target)) e.preventDefault(); }, { passive: false }); })(); - + diff --git a/topic/shengao-js/index.html b/topic/shengao-js/index.html index 1e15cd4..49befce 100644 --- a/topic/shengao-js/index.html +++ b/topic/shengao-js/index.html @@ -10,8 +10,8 @@ 对比用国家卫健委《中国居民营养与慢性病状况报告(2020 年)》18~44 岁平均身高:男 169.7 cm、女 158.0 cm。 身高约 70% 看遗传,营养、睡眠、运动影响剩下的部分 —— 结果只是参考范围。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -42,7 +42,7 @@

按遗传靶身高公式估算,实际身高受营养、睡眠、运动和疾病等影响,仅供参考。

- + - + - + diff --git a/topic/shouxu-js/index.html b/topic/shouxu-js/index.html index 82ff854..73d7a85 100644 --- a/topic/shouxu-js/index.html +++ b/topic/shouxu-js/index.html @@ -11,8 +11,8 @@ 各地规定不一,页面写「以当地为准」。很多地方已开通「新生儿出生一件事」联办(出生证 + 户口 + 医保 + 社保卡一次办)。 做完可以打勾(记在本机 mmbox.calc.shouxu);还没生的按预产期先排。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -37,7 +37,7 @@
先查有没有「出生一件事」:很多城市在支付宝、微信或当地政务 App 上能把出生医学证明、上户口、医保参保、社保卡一次办完,不用一趟趟跑。
要准备的:爸妈身份证、户口本、结婚证、出生医学证明(宝宝名字定好再办)。

各地规定和截止时间不完全一样,以当地公安、医保、卫健部门要求为准。

- + - + - + diff --git a/topic/xuexing-js/index.html b/topic/xuexing-js/index.html index b3303eb..0aec904 100644 --- a/topic/xuexing-js/index.html +++ b/topic/xuexing-js/index.html @@ -11,8 +11,8 @@ 顺带提示两种溶血风险:妈妈 Rh 阴性 + 爸爸 Rh 阳性(Rh 溶血,要查抗 D 抗体);妈妈 O 型 + 爸爸非 O 型(ABO 溶血,多数轻)。 顺式 AB(cis-AB)、孟买型等罕见情况不算,页面写明。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -44,7 +44,7 @@

按常规遗传规律估算,不能用来做亲子鉴定;顺式 AB、孟买型等罕见血型不在计算范围。

- + - + - + diff --git a/topic/yuchanqi-js/index.html b/topic/yuchanqi-js/index.html index d1b7492..7e30183 100644 --- a/topic/yuchanqi-js/index.html +++ b/topic/yuchanqi-js/index.html @@ -71,7 +71,7 @@ button{cursor:pointer} .tip b{color:var(--h)} .foot{margin:14px 20px 0;font-size:12px;color:var(--m);text-align:center;line-height:1.6} - + @@ -188,10 +188,10 @@ button{cursor:pointer} })(); - + - + diff --git a/topic/yuezi-js/index.html b/topic/yuezi-js/index.html index 16a5230..6268054 100644 --- a/topic/yuezi-js/index.html +++ b/topic/yuezi-js/index.html @@ -9,8 +9,8 @@ 价格是 2026 年市场行情的估算区间(月子中心 28 天套餐、金牌 / 普通月嫂 26 天、在家坐月子的食材营养 + 用品),按城市 × 档次取值,按天数折算; 不是报价,只帮用户比较三种方式的量级。改价格只改下面 P 表。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -37,7 +37,7 @@
看月子中心记得问清:价格含不含宝宝护理、产后修复、家属餐和陪护床;护士是否 24 小时、一对几;有没有医护资质和儿科医生定期巡房。
请月嫂:看健康证、育婴师证,最好先面试、试工,合同写清休息和换人规则。

价格为 2026 年市场行情估算,各地差别很大,以实际报价为准。

- + - + - + diff --git a/topic/yunzhou-js/index.html b/topic/yunzhou-js/index.html index f4765e8..5b1c95d 100644 --- a/topic/yunzhou-js/index.html +++ b/topic/yunzhou-js/index.html @@ -10,8 +10,8 @@ 孕月按 4 周一个月(孕 1~10 月);孕早期 < 14 周、孕中期 14~27+6 周、孕晚期 ≥ 28 周;37 周足月、42 周过期。 宝宝像什么用全生态统一表 /common/baby-size.js(别自己维护)。预产期计算器填过的值直接拿来用。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -49,7 +49,7 @@
孕周以早孕 B 超为准:月经不规律或记不清末次月经时,医生会按孕早期 B 超(头臀长)定孕周。这里算的是常规算法,仅供参考。

计算结果仅供参考,不能代替医生诊断。

- + - + - + diff --git a/topic/zengzhong-js/index.html b/topic/zengzhong-js/index.html index 544dfe4..215b917 100644 --- a/topic/zengzhong-js/index.html +++ b/topic/zengzhong-js/index.html @@ -12,8 +12,8 @@ 某一孕周的推荐范围 = 孕早期 0~2 kg + (孕周 − 13) × 每周范围,封顶到总范围。双胎按 IOM 2009(标准没覆盖双胎)。 只算范围不做记录(11-04 用户:记体重是另一个记录工具)。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - - + + @@ -46,7 +46,7 @@
胖得太快或太慢都要留意:增重过多容易妊娠糖尿病、巨大儿,过少可能影响宝宝发育。一周涨超过 1 公斤,或者突然腿脚、脸都肿,要尽快告诉医生。

依据 WS/T 801—2022《妊娠期妇女体重增长推荐值标准》;双胎参考美国医学研究所 IOM 2009。仅供参考。

- + - + - + diff --git a/topic/zhichang/index.html b/topic/zhichang/index.html index cf6837f..f4eccaf 100644 --- a/topic/zhichang/index.html +++ b/topic/zhichang/index.html @@ -203,8 +203,8 @@ html.cm .key{margin-top:26px} html.cm:not(.cm-all) .cm-more{display:flex;align-items:center;justify-content:center;gap:4px;margin:22px 20px 0;height:46px;border-radius:99px;background:var(--cbg);color:var(--c);font-size:14.5px;font-weight:700;width:calc(100% - 40px)} - - + +