「我的」页孕期卡册入口隐藏 (v26100455)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
|
||||
var VER = '26100454';
|
||||
var VER = '26100455';
|
||||
const $ = (s, c) => (c || document).querySelector(s);
|
||||
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
|
||||
|
||||
@@ -4286,7 +4286,10 @@
|
||||
ban.classList.remove('hide');
|
||||
};
|
||||
const me = $('#meBoxCard');
|
||||
me.classList.toggle('hide', !BB || !BB.enabled || !!BB.notYet || !!BB.needProfile);
|
||||
/* 2026-10-05 用户:「孕期卡册删除掉」→ 「我的」页卡册入口一律收起(首页横幅 10-03 起已由 CSS #bbBanner 隐藏)。
|
||||
盲盒数据、卡册详情页代码都保留,恢复入口:把下面这行改回
|
||||
me.classList.toggle('hide', !BB || !BB.enabled || !!BB.notYet || !!BB.needProfile); */
|
||||
me.classList.add('hide');
|
||||
if (BB && BB.totalWeeks) $('#meBoxV').textContent = (BB.collected || 0) + '/' + BB.totalWeeks;
|
||||
if (!BB || !BB.enabled || BB.notYet) { ban.classList.add('hide'); return; }
|
||||
if (!$('#bbGift').firstChild) $('#bbGift').innerHTML = giftSVG();
|
||||
|
||||
Reference in New Issue
Block a user