From e344c1cc5d89a6e8ad1cedddc0ce2619dbc1a115 Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Tue, 8 Sep 2026 02:57:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A5=E4=BF=A1hero=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=8C=89=E7=9C=9F=E5=AE=9E=E4=BF=A1=E4=BB=B6=E6=95=B0(?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8E=9F=E5=9E=8B=E8=99=9A=E6=9E=84=E7=9A=84?= =?UTF-8?q?=E5=BD=92=E6=A1=A320=E5=B0=81)=20(v26090727)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 10 +++++----- js/app.js | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 31d40f8..12c61e2 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ 妈妈盒子 · 孕育陪伴 - - + + @@ -1771,8 +1771,8 @@ 加载失败/离线时 window.wx 为 undefined,goMall() 会降级为 toast 提示, 不影响应用其余功能。 --> - - -
v26090726
+ + +
v26090727
diff --git a/js/app.js b/js/app.js index 4b4e458..0d45ce5 100644 --- a/js/app.js +++ b/js/app.js @@ -1291,7 +1291,8 @@ $('#tabBadge').classList.remove('show'); return; } - $('#letterTotal').textContent = LETTER_ARCHIVED + LETTERS.length; + /* 实际数量:LETTERS 即服务端返回的真实信件(LETTER_ARCHIVED 是原型虚构值,别加) */ + $('#letterTotal').textContent = LETTERS.length; $('#unreadNum').textContent = state.unread; /* 全读完了就把红点徽标收起来,别在标签上挂一个孤零零的「0」 */ $('#unreadNum').classList.toggle('zero', state.unread === 0);