diff --git a/AGENTS.md b/AGENTS.md index edfb773..6e0d512 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -107,6 +107,7 @@ nginx:`root /opt/app` + `Cache-Control: no-cache` + `etag on` —— 缓存靠 - 期限:**最晚 2026-12-31** 复核;接真实统计后删掉 `gcTested` / `gcTestedText`,调用处改读接口。 - 边界:只限上述几处;测试结果页、分享图、其他应用不得引用这个数。 - 2026-11-02 扩展:首页「其他妈妈也在搜 → 全部问题」页每条的「N 人看过」(11-02 用户撤掉了「正在看」)(「此刻」总人数 × heat,同首页),以及专题页「相关推荐」的「N 人看过」,同属模拟数,同一期限复核。 + - 2026-11-04 扩展:孕期计算器列表页 topic/jisuan 和首页百宝箱(js/kit.js CALC)里 14 个计算器的「N万人算过」(「此刻」总人数 × heat),以及百宝箱「孕期计算器」入口的合计人数,同属模拟数;用户 11-04 确认新增 10 个计算器的人数「保留」。同一期限复核。 12c. **⚠️ 第 2 条的第三个登记例外:孕妈广场帖子下的模拟评论与 1000 个模拟人设(2026-11-02 起)** - 内容:`guangchang/cm.json`(179 篇占位帖子,每篇 22~26 条评论 + 作者回复 + 楼中楼,共约 4100 条)和其中 1000 个人设(昵称 + 头像 `guangchang/av/*.webp` 代码绘制 / 59 张 `assets/img/mom/` 写实照 + 阶段)。全是 AI 写的「假装有人说过的话」,不是真实用户发言,不落库、不进任何报表。 diff --git a/demo/hero-simple/0.jpg b/demo/hero-simple/0.jpg new file mode 100644 index 0000000..0ca2404 Binary files /dev/null and b/demo/hero-simple/0.jpg differ diff --git a/demo/hero-simple/1.jpg b/demo/hero-simple/1.jpg new file mode 100644 index 0000000..bc851bb Binary files /dev/null and b/demo/hero-simple/1.jpg differ diff --git a/demo/hero-simple/2.jpg b/demo/hero-simple/2.jpg new file mode 100644 index 0000000..5a85a05 Binary files /dev/null and b/demo/hero-simple/2.jpg differ diff --git a/demo/hero-simple/3.jpg b/demo/hero-simple/3.jpg new file mode 100644 index 0000000..873b8ad Binary files /dev/null and b/demo/hero-simple/3.jpg differ diff --git a/demo/hero-simple/index.html b/demo/hero-simple/index.html new file mode 100644 index 0000000..666fd80 --- /dev/null +++ b/demo/hero-simple/index.html @@ -0,0 +1,17 @@ + +首页头图左侧 · 精简版效果图 + +

首页头图左侧 · 精简版效果图

都是在真实首页上替换左侧区域截的图(示例:孕 29 周、还有 77 天见面)。在现有倒计时基础上做减法,点图片放大,左右切换。

+
现在的样子
现在的样子翻页天数 + 时分秒 + 孕周和「+0天」+ 进度条 + 像椰子,一共 5 行信息。
A · 只留天数和一句话
A · 只留天数和一句话保留翻页天数;时分秒、进度条、「+0天」都去掉;下面一行「孕 29 周 · 宝宝像椰子」。
B · 天数 + 进度条
B · 天数 + 进度条保留翻页天数和进度条(能看到走了多远);去掉时分秒和「+0天」。
C · 大数字(推荐)
C · 大数字(推荐)去掉翻页牌的方块,「77」直接用大号白字,上面一行「离见面还有」,下面「孕 29 周 · 宝宝像椰子」。最干净,天数最醒目。
+

+ \ No newline at end of file diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index 159e29e..f227fa6 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 28027ed..45cbeee 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110402'; + var VER = '26110403'; 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 cf51f70..65ec360 100644 --- a/js/gch/v4.js +++ b/js/gch/v4.js @@ -231,5 +231,5 @@ } /* feed.js 首页默认不加载(index.html 只引了 topics.js),这里按需拉一次 */ if (window.GC_FEED) init(); - else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110402'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110403'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/js/gch/v6.js b/js/gch/v6.js index 250b072..7a5d3f1 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=26110402'; + var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110403'; document.head.appendChild(l); - var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110402'; + var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110403'; 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 2c8e1a4..b40a3cb 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 = '26110402'; + var V = '26110403'; 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'); diff --git a/js/share-card.js b/js/share-card.js index 05eeafa..b632df9 100644 --- a/js/share-card.js +++ b/js/share-card.js @@ -8,7 +8,7 @@ postMessage 不是实时投递,微信在分享那一刻才派发,所以每次换内容都要再报一次;子页面没引 jweixin,这里按需加载。 */ (function (g) { 'use strict'; - var V = '26110402'; + var V = '26110403'; 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 5aba769..27c7dd9 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=26110402'; 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=26110403'; 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=26110402').then(function (idx) { + getJSON('../_shared/idx.json?v=26110403').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; }); @@ -177,7 +177,7 @@ } 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=26110402').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); + getJSON('../_shared/cm/' + SLUG + '.json?v=26110403').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); } function extras(el) { diff --git a/topic/butie-js/index.html b/topic/butie-js/index.html index 5bfeabe..e7f4001 100644 --- a/topic/butie-js/index.html +++ b/topic/butie-js/index.html @@ -11,7 +11,7 @@ 月数按「自然月」数:从 max(出生月, 2025-01) 起,到满 3 周岁那个月之前为止(结果标「约」,以当地核定为准)。 最多填 3 个孩子;还没出生的填预产期先算。地方另有加码的(如部分城市每孩另发)不在这里算。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - + @@ -45,7 +45,7 @@
地方可能另有补贴:部分城市在国家 3600 元之外还另发生育补贴、育儿补贴,问一下当地卫健部门或看政务平台。

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

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

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

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

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

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

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

- + - + diff --git a/topic/jisuan/index.html b/topic/jisuan/index.html index 93098bd..5aaa7e6 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 9183330..67313bb 100644 --- a/topic/shengao-js/index.html +++ b/topic/shengao-js/index.html @@ -10,7 +10,7 @@ 对比用国家卫健委《中国居民营养与慢性病状况报告(2020 年)》18~44 岁平均身高:男 169.7 cm、女 158.0 cm。 身高约 70% 看遗传,营养、睡眠、运动影响剩下的部分 —— 结果只是参考范围。 共用 ../_shared/calc.css + calc.js(返回 / 禁回弹 / 日期按北京时间 / 记住上次填的值);自成一页,不引 app.js。 --> - + @@ -41,7 +41,7 @@

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

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

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

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

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

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

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

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

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

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

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

- + - +