宝宝来信 Tab/首页卡跳新版 /laixin/youju/ (v26100188)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>兜爸心选 · 孕育陪伴</title>
|
<title>兜爸心选 · 孕育陪伴</title>
|
||||||
<!-- V:26100187 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
<!-- V:26100188 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||||
<link rel="stylesheet" href="mama-box.css">
|
<link rel="stylesheet" href="mama-box.css">
|
||||||
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
||||||
<!-- 共享助手:授权/跳商城/位置上报(分享卡片同步,见 docs/h5-auth-standard.md 第四节) -->
|
<!-- 共享助手:授权/跳商城/位置上报(分享卡片同步,见 docs/h5-auth-standard.md 第四节) -->
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
|
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
|
||||||
var VER = '26100187';
|
var VER = '26100188';
|
||||||
const $ = (s, c) => (c || document).querySelector(s);
|
const $ = (s, c) => (c || document).querySelector(s);
|
||||||
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
|
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
|
||||||
|
|
||||||
@@ -4939,7 +4939,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
/* ---------- 宝宝来信(第三方 H5)入口 ----------
|
/* ---------- 宝宝来信(第三方 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 原来跳的是小程序原生商城页
|
⚠️ 2026-09-19(9.19 需求第 2 条,D2=C):这枚 tab 原来跳的是小程序原生商城页
|
||||||
(goMall),现在改跳**第三方宝宝来信 H5**。落点不是硬编码,而是走 App 表:
|
(goMall),现在改跳**第三方宝宝来信 H5**。落点不是硬编码,而是走 App 表:
|
||||||
用户在应用后台新增了「宝宝来信」应用(identifier=laixin,URL 由
|
用户在应用后台新增了「宝宝来信」应用(identifier=laixin,URL 由
|
||||||
@@ -4949,7 +4949,9 @@
|
|||||||
到 taidong.douba.top/laixin/)。两边都没有就只能提示,别静默什么都不做。
|
到 taidong.douba.top/laixin/)。两边都没有就只能提示,别静默什么都不做。
|
||||||
⚠️ 这枚 tab **不挂 data-tab**,所以它不在 tabs 集合里、不参与 go() 高亮切换 ——
|
⚠️ 这枚 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() {
|
function openLetterApp() {
|
||||||
const app = APP_BY_ID['laixin'];
|
const app = APP_BY_ID['laixin'];
|
||||||
const url = (app && app.url) ? app.url : LAIXIN_FALLBACK_URL;
|
const url = (app && app.url) ? app.url : LAIXIN_FALLBACK_URL;
|
||||||
|
|||||||
Reference in New Issue
Block a user