首页工具区去白底卡、删标题栏全部/编辑(添加格常显作编辑入口);养娃账单表头删路线、家庭 v26110107

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-01 04:51:02 +00:00
parent 05ef51bf41
commit 854e30eed2
3 changed files with 15 additions and 22 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26110106';
var VER = '26110107';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -555,7 +555,7 @@
add.addEventListener('click', e => { e.stopPropagation(); const b = $('#htEdit'); if (b) b.click(); });
}
grid.appendChild(add);
add.classList.toggle('hide', list.length >= HT_MAX);
/* 2026-11-01 用户删掉了标题栏「编辑」,「添加」格是唯一编辑入口 → 始终显示(放满 8 个时它在第三行) */
/* 孕周门槛角标:只有用户自己放上来的才会锁着出现(默认列表里锁着的已经换成替补) */
let anyLock = false;
$$('.tg[data-tool]', grid).forEach(el => {