@@ -9,7 +9,7 @@
|
||||
<title>兜爸心选 · 孕育陪伴</title>
|
||||
<!-- 11-04 UGC 总开关(孕妈广场 + 测一测,后台 /box_bm/plaza 顶部切换),见 js/ugc.js -->
|
||||
<script src="js/ugc.js?v=26110487"></script>
|
||||
<!-- V:26110623 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<!-- V:26110624 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<link rel="stylesheet" href="mama-box.css">
|
||||
<link rel="stylesheet" href="night.css?v=26110608">
|
||||
<link rel="stylesheet" href="js/wh-cm.css?v=26110622">
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user