孕周刷新后「此刻」板块也按新孕周重拉 v26101031
Co-Authored-By: AI 助手
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<title>兜爸心选 · 孕育陪伴</title>
|
||||
<!-- V:26101030 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<!-- V:26101031 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<link rel="stylesheet" href="mama-box.css">
|
||||
<link rel="stylesheet" href="night.css">
|
||||
<!-- 夜晚模式:首屏绘制前就按上次的选择加 class,避免先白后黑闪一下(开关在首页右上角 #nightBtn,逻辑见 app.js) -->
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
|
||||
var VER = '26101030';
|
||||
var VER = '26101031';
|
||||
const $ = (s, c) => (c || document).querySelector(s);
|
||||
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
|
||||
|
||||
@@ -3506,6 +3506,7 @@
|
||||
if ((state.due ? toISO(state.due) : '') === before) return false;
|
||||
syncPregnancy();
|
||||
if (!state.pregEmpty && !state.postpartum) { syncBabyWords(); syncStaticDates(); }
|
||||
if (plHook) setTimeout(plHook, 0); // 「此刻」按新孕周重拉
|
||||
return true;
|
||||
}).catch(function () { return false; });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user