头像按模块分配互不重复:js/ava-pool.js(375 个装饰头像分 12 段),评论区让出这些人设改同类替补(v26110440)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-05 01:01:18 +00:00
parent 72fcdaeea5
commit 20613191f5
125 changed files with 243 additions and 220 deletions

View File

@@ -9,7 +9,7 @@
if (/[?&]kit=0(?:&|$)/.test(location.search)) return;
var box = document.getElementById('kit'), sec = document.getElementById('kitHome');
if (!box || !sec) return;
var V = '26110439';
var V = '26110440';
var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/kit.css?v=' + V; document.head.appendChild(l);
document.documentElement.classList.add('has-kit');
@@ -150,6 +150,8 @@
'团团圆圆', '小雨点', '西瓜太甜', '慢慢来'];
var LV_AV = ['p02', 'm05', 'p05', 'm12', 'k04', 'p09', 'm16', 'p11', 'm07', 'k10', 'p03', 'm19', 'p13', 'm02', 'k06', 'p06', 'm10', 'p12', 'm21', 'p07', 'm04', 'k12', 'p14', 'm15',
'p01', 'm01', 'k01', 'm03', 'p04', 'm06', 'k02', 'm08', 'p08', 'm09', 'k03', 'm11', 'p10', 'm13', 'k05', 'm14'];
/* 11-05 用户:各模块头像不要重复(之前这 40 人和测试页「刚测出」是同一批)→ 改用分配表 kitLive 的 24 个人设(昵称 + 头像),只在这里出现 */
if (window.MB_AVA && MB_AVA.S.kitLive) { LV_NM = MB_AVA.S.kitLive.map(function (x) { return x[0]; }); LV_AV = MB_AVA.S.kitLive.map(function (x) { return x[1]; }); }
var LV_RECENT = [];
function lvWho(el) {
var on = {};
@@ -160,7 +162,7 @@
var j = c[Math.floor(Math.random() * c.length)];
LV_RECENT.push(j); if (LV_RECENT.length > 16) LV_RECENT.shift();
el.dataset.w = j;
el.querySelector('img').src = 'assets/img/mom/' + LV_AV[j] + '.jpg';
el.querySelector('img').src = /:|^\//.test(LV_AV[j]) && window.MB_AVA ? MB_AVA.src(LV_AV[j], '') : 'assets/img/mom/' + LV_AV[j] + '.jpg';
el.querySelector('em').textContent = LV_NM[j];
}
var LV_JS = {