盲盒直达链接:地址带 open=box 时自动弹出盲盒面板 (v26100464)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 08:26:06 +00:00
parent 26bff164c3
commit ce544f1d8a
2 changed files with 7 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26100463';
var VER = '26100464';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -3061,7 +3061,11 @@
applyRemoteFootprint();
applyRemoteCardsFetch();
syncLaixinReminder();
loadBlindbox(); // 孕期盲盒:要等 ② 的预产期落地(服务端按同一份上游视图算孕周)
loadBlindbox().then(() => { // 孕期盲盒:要等 ② 的预产期落地(服务端按同一份上游视图算孕周)
/* 2026-10-07 用户要盲盒直达链接:地址带 open=box(# 或 ? 里都行)→ 数据到了直接弹盲盒面板。
入口横幅 / 卡册行仍隐藏,不带参数时页面和以前一样。只弹一次,别的参数不受影响。 */
if (hashParam('open') === 'box' && !window.__bbDeepOpened) { window.__bbDeepOpened = 1; openBoxEntry(); }
});
});
}
/* ---------- 远程配置(box_app 后台下发):已下线 ----------