From 723ad18f3c4bdd5624321cce178c5db2cd48696c Mon Sep 17 00:00:00 2001 From: deploy Date: Sat, 7 Nov 2026 03:26:35 +0000 Subject: [PATCH] =?UTF-8?q?=E6=98=9F=E7=A9=BA=E4=BA=AE=E6=98=9F=E4=BB=8E?= =?UTF-8?q?=E8=AF=9D=E9=A2=98=E7=89=8C=E4=B8=8B=E9=9D=A2=E5=B0=B1=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E9=93=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- index.html | 2 +- js/app.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index f660a12..e8aa142 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ 兜爸心选 · 孕育陪伴 - + diff --git a/js/app.js b/js/app.js index 7a437dc..c91409c 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110623'; + var VER = '26110624'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); @@ -4521,8 +4521,8 @@ /* 亮星落在夜空中上部偏右(流星往左下走,右边起步才划得够长);抖动网格,不会叠在一起 */ function paintSky(l) { /* 11-07 用户:「星星要均匀地挂在星空中,不要密集地放在一个地方」→ 话题牌下面到「说一句」上面整片夜空 - (横 8–92%、竖 31–79%)切成差不多正方的格子,n 颗星按等间隔挑格子,每格里小幅抖动 */ - const n = l.length, X0 = 8, XW = 84, Y0 = 31, YH = 48; + (横 8–92%、竖 19–79%)切成差不多正方的格子,n 颗星按等间隔挑格子,每格里小幅抖动 */ + const n = l.length, X0 = 8, XW = 84, Y0 = 19, YH = 60; const pw = page.clientWidth || 390, phh = page.clientHeight || 844; const cols = Math.max(3, Math.round(Math.sqrt(n * (XW * pw) / (YH * phh)))), rows = Math.max(2, Math.ceil(n / cols)); const cell = l.map((it, i) => Math.floor(i * cols * rows / n));