From 00a2df52ccca1cef6506fcec622e985341449f3f Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Fri, 2 Oct 2026 12:35:51 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E5=AE=9D=E6=9D=A5=E4=BF=A1=20Tab/?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8D=A1=E8=B7=B3=E6=96=B0=E7=89=88=20/laixi?= =?UTF-8?q?n/youju/=20(v26100188)?= 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 | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index a62f8d6..2baae87 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + diff --git a/js/app.js b/js/app.js index 5c6e45a..bf45ec3 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26100187'; + var VER = '26100188'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); @@ -4939,7 +4939,7 @@ }); /* ---------- 宝宝来信(第三方 H5)入口 ---------- - 底 tab「宝宝来信」(#tabLetter) → 跳 mp.yizhezhe.com/laixin/。 + 底 tab「宝宝来信」(#tabLetter) → 跳 mp.yizhezhe.com/laixin/youju/(2026-10-02 起新版)。 ⚠️ 2026-09-19(9.19 需求第 2 条,D2=C):这枚 tab 原来跳的是小程序原生商城页 (goMall),现在改跳**第三方宝宝来信 H5**。落点不是硬编码,而是走 App 表: 用户在应用后台新增了「宝宝来信」应用(identifier=laixin,URL 由 @@ -4949,7 +4949,9 @@ 到 taidong.douba.top/laixin/)。两边都没有就只能提示,别静默什么都不做。 ⚠️ 这枚 tab **不挂 data-tab**,所以它不在 tabs 集合里、不参与 go() 高亮切换 —— 跳过去就离开本页了,没有高亮态可言。 */ - const LAIXIN_FALLBACK_URL = 'https://mp.yizhezhe.com/laixin/'; + /* 2026-10-02 「宝宝来信(新)」会话(369ba3a9)要求换新版:/laixin/ → /laixin/youju/(登录仍是 app_id=laixin;别用 /laixin/youju/demo/,那是示例数据)。 + 当前 App 表里没有已上架的 laixin 记录,实际走的就是这条兜底。 */ + const LAIXIN_FALLBACK_URL = 'https://mp.yizhezhe.com/laixin/youju/'; function openLetterApp() { const app = APP_BY_ID['laixin']; const url = (app && app.url) ? app.url : LAIXIN_FALLBACK_URL;