今日脚印精简版:去日历/小诗/脚丫/卡片/标签/胶带,只留标题日期、最近4条记录、宝宝一句话 v26100226

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 10:58:58 +00:00
parent 65412829ed
commit fd7ce776cc
3 changed files with 37 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26100225';
var VER = '26100226';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -4616,6 +4616,8 @@
const n = new Date();
_cd.textContent = (n.getDate() < 10 ? '0' : '') + n.getDate();
$('#fpCalM').textContent = (n.getMonth() + 1) + '月 · 周' + '日一二三四五六'[n.getDay()];
/* 2026-10-03 精简版:日历块隐藏,日期改成标题下一行小字 */
if ($('#fpDate')) $('#fpDate').textContent = (n.getMonth() + 1) + '月' + n.getDate() + '日 · 周' + '日一二三四五六'[n.getDay()];
}
if (!tl || !steps) return;
const mode = _fpMode, r = _fpData || {};
@@ -4649,7 +4651,8 @@
});
});
rows.sort((a, b) => String(a.at).localeCompare(String(b.at)));
rows.slice(-8).forEach(row => steps.append(buildFootprintStep(row)));
/* 2026-10-03 精简版:首页只放最近 4 条,更多点「全部」 */
rows.slice(-4).forEach(row => steps.append(buildFootprintStep(row)));
}
/* 引导占位:文案与应用都来自上游 —— lead 是上游自己的引导语,unused[] 是今天没用过的应用。