diff --git a/assets/img/mom/m01.jpg b/assets/img/mom/m01.jpg
new file mode 100644
index 0000000..f7ad6d9
Binary files /dev/null and b/assets/img/mom/m01.jpg differ
diff --git a/assets/img/mom/m02.jpg b/assets/img/mom/m02.jpg
new file mode 100644
index 0000000..bca9928
Binary files /dev/null and b/assets/img/mom/m02.jpg differ
diff --git a/assets/img/mom/m03.jpg b/assets/img/mom/m03.jpg
new file mode 100644
index 0000000..dcfee42
Binary files /dev/null and b/assets/img/mom/m03.jpg differ
diff --git a/assets/img/mom/m04.jpg b/assets/img/mom/m04.jpg
new file mode 100644
index 0000000..6d5f3be
Binary files /dev/null and b/assets/img/mom/m04.jpg differ
diff --git a/assets/img/mom/m05.jpg b/assets/img/mom/m05.jpg
new file mode 100644
index 0000000..910669d
Binary files /dev/null and b/assets/img/mom/m05.jpg differ
diff --git a/assets/img/mom/m06.jpg b/assets/img/mom/m06.jpg
new file mode 100644
index 0000000..167d247
Binary files /dev/null and b/assets/img/mom/m06.jpg differ
diff --git a/assets/img/mom/m07.jpg b/assets/img/mom/m07.jpg
new file mode 100644
index 0000000..b7e6a54
Binary files /dev/null and b/assets/img/mom/m07.jpg differ
diff --git a/assets/img/mom/m08.jpg b/assets/img/mom/m08.jpg
new file mode 100644
index 0000000..e1306a8
Binary files /dev/null and b/assets/img/mom/m08.jpg differ
diff --git a/assets/img/mom/m09.jpg b/assets/img/mom/m09.jpg
new file mode 100644
index 0000000..dd28b8c
Binary files /dev/null and b/assets/img/mom/m09.jpg differ
diff --git a/assets/img/mom/m10.jpg b/assets/img/mom/m10.jpg
new file mode 100644
index 0000000..a905900
Binary files /dev/null and b/assets/img/mom/m10.jpg differ
diff --git a/assets/img/mom/m11.jpg b/assets/img/mom/m11.jpg
new file mode 100644
index 0000000..ea64c87
Binary files /dev/null and b/assets/img/mom/m11.jpg differ
diff --git a/assets/img/mom/m12.jpg b/assets/img/mom/m12.jpg
new file mode 100644
index 0000000..8e27497
Binary files /dev/null and b/assets/img/mom/m12.jpg differ
diff --git a/index.html b/index.html
index 37109b1..849121a 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
兜爸心选 · 孕育陪伴
-
+
diff --git a/js/app.js b/js/app.js
index 560b75b..3a35e87 100644
--- a/js/app.js
+++ b/js/app.js
@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
- var VER = '26101001';
+ var VER = '26101002';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -3513,24 +3513,13 @@
function pulseIco(k, cls) {
return '' + (PULSE_ICO[k] || PULSE_ICO.box) + '';
}
- /* 妈妈头像插画(纯 SVG,5 种发色 × 3 种发型 × 5 种底色,按 seed 取)。只是装饰,不代表任何真实用户。 */
- const MOM_HAIR = ['#4A3328', '#2F2420', '#6B4532', '#3B2A2A', '#7A5038'];
- const MOM_BG = ['#FFD9CB', '#E6DCFF', '#FFE9B8', '#CDEBDD', '#FFD3E1'];
- const MOM_TOP = ['#FF9E85', '#9F8CF0', '#F2B84B', '#6CBF9A', '#F07AA0'];
+ /* 妈妈头像(2026-10-10 用户:「此刻的头像换成真实人物的,不要卡通」)→ 12 张 AI 生成的写实头像照片,按 seed 取。
+ 都是 AI 虚构人物,不对应任何真实用户、也不是真人照片(避免肖像权问题);96×96 JPG,共约 32KB,懒加载。
+ 原来的 SVG 卡通头像(5 发色 × 3 发型 × 5 底色)见 git 历史 v26101001。 */
+ const MOM_N = 12;
function momAva(seed) {
- const i = Math.abs(seed | 0), h = MOM_HAIR[i % 5], st = Math.floor(i / 5) % 3;
- const bg = MOM_BG[Math.floor(i / 3) % 5], top = MOM_TOP[(i + 2) % 5];
- const back = st === 0 ? ''
- : st === 1 ? ''
- : '';
- return '';
+ const n = ('0' + (Math.abs(seed | 0) % MOM_N + 1)).slice(-2);
+ return '
';
}
const strSeed = t => { let x = 7; for (let i = 0; i < t.length; i++) x = (x * 31 + t.charCodeAt(i)) | 0; return Math.abs(x); };
/* 「此刻」重绘钩子:足迹 / 档案 / 盲盒状态回来时调用(它们决定「和你比」「今日待办」和孕周) */
@@ -4131,7 +4120,7 @@
if (avs.dataset.seed === String(seed)) return;
avs.dataset.seed = seed;
/* 2026-10-02 用户:「头像现在展示 3 个,给我展示 6 到 8 个」→ 7 个 */
- avs.innerHTML = [3, 11, 7, 19, 2, 14, 23].map(x => '' + momAva(x + seed) + '').join('');
+ avs.innerHTML = [3, 10, 7, 0, 5, 9, 1].map(x => '' + momAva(x + seed) + '').join(''); // 7 个按 12 取模互不相同,叠在一起不撞脸
}
function paintPeer(p) {
paintAvs(p.week);
diff --git a/mama-box.css b/mama-box.css
index 803b52c..cb0b95e 100644
--- a/mama-box.css
+++ b/mama-box.css
@@ -2712,7 +2712,8 @@ a.skip:focus{left:16px;top:16px}
/* 此刻 · 同孕周(A+B 改版,2026-10-01):人物头像表现「人」,不用应用 logo,和上面工具卡(色块 + logo)拉开。 */
.pl-row .pr-ava,.pp-avs i{flex:0 0 auto;display:block;border-radius:50%;overflow:hidden;background:#FFE3D3}
.pl-row .pr-ava{width:18px;height:18px}
-.pr-ava svg,.pp-avs svg{display:block;width:100%;height:100%}
+.pr-ava svg,.pp-avs svg,.pr-ava img,.pp-avs img{display:block;width:100%;height:100%}
+.pr-ava img,.pp-avs img{object-fit:cover}
.pp-avs{flex:0 0 auto;display:flex}
.pp-avs:empty{display:none}
.pp-avs i{width:22px;height:22px;margin-left:-7px;border:1.5px solid #FFF6F0}