首页入口改名:{孕周}周孕妈悄悄话 (v26100179)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 08:16:18 +00:00
parent 16f3b77841
commit cfb87f27de
2 changed files with 7 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26100178';
var VER = '26100179';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -3328,6 +3328,10 @@
}
function paintEntry() {
const l = list().filter(x => !x.mine);
/* 用户:「同孕周悄悄话改成 30 周孕妈悄悄话」—— 周数跟着她自己的孕周走 */
const nm = data && data.week ? data.week + '周孕妈悄悄话' : '孕妈悄悄话';
$('#weName').textContent = nm;
entry.setAttribute('aria-label', '打开' + nm);
$('#weRoll').textContent = l.length ? '“' + l[0].text + '”' : '';
ri = 0;
$('#weGo').innerHTML = list().length + ' 句<i aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M6 3.5L10.5 8 6 12.5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></i>';