From 7934b918650c0c118ee667a8264d37aad70a388f Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Thu, 1 Oct 2026 16:36:14 +0000 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=20Tab=20=E6=94=B9=E8=B7=B3?= =?UTF-8?q?=E5=AD=95=E6=9C=9F=E6=A1=A3=E6=A1=88=20H5=EF=BC=88chengzhang-da?= =?UTF-8?q?ngan/v5=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 --- index.html | 2 +- js/app.js | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 67077e8..c6d5895 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + diff --git a/js/app.js b/js/app.js index 724d66e..ee79b36 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26100143'; + var VER = '26100144'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); @@ -265,15 +265,19 @@ } /* ② 后退重载:脚本会重跑,init() 里调;① bfcache:整页不重载,挂在文件末尾已有的 pageshow 上 */ + /* 2026-10-01 用户要求「档案」Tab 改跳孕期档案 H5(会话 19875b1b 提供)。 + ⚠️ 对方说明:目前是设计演示版(写死演示数据),还不读 URL 参数;接真实数据时按 ?openid=&unionid= 读, + 所以这里照旧拼上。无 return_url,返回靠宿主自带返回。原来跳的是 /chanjian-rili/(孕检日历)。 */ + const ARCHIVE_H5 = 'https://taidong.douba.top/chengzhang-dangan/v5/'; function goArchiveH5() { const oid = hashParam('openid'); const uid = hashParam('unionid'); - let u = 'https://mp.yizhezhe.com/chanjian-rili/'; + let u = ARCHIVE_H5; const q = []; if (oid) q.push('openid=' + encodeURIComponent(oid)); if (uid) q.push('unionid=' + encodeURIComponent(uid)); if (q.length) u += '?' + q.join('&'); - reportLastApp('https://mp.yizhezhe.com/chanjian-rili/', 'chanjianrili'); + reportLastApp(ARCHIVE_H5, 'chengzhangdangan'); reportHostLocation(u); location.href = u; }