踢腿音效加开关(默认开);测试分组「好物配置」改名「花钱风格」

This commit is contained in:
deploy
2026-11-05 02:17:06 +00:00
parent 20613191f5
commit a6b279343e
34 changed files with 110 additions and 107 deletions

View File

@@ -4,7 +4,7 @@
window.gcTested = function (id) {
var h = 2166136261; for (var i = 0; i < id.length; i++) { h ^= id.charCodeAt(i); h = Math.imul(h, 16777619); } h ^= h >>> 13; h = Math.imul(h, 0x5bd1e995); h = (h ^ (h >>> 15)) >>> 0;
var g = (window.GC_TESTS_META || []).filter(function (x) { return x.id === id; })[0], k = g && (g.group === 'quiz' || g.group === 'psy') ? 1.4 : 1;
/* 11-02 用户:好物配置这几个热度高一点,5万~15万之间 */
/* 11-02 用户:花钱风格这几个热度高一点,5万~15万之间 */
var base = g && g.group === 'shop' ? 50000 + h % 80000 : (12000 + h % 36000) * k, days = Math.max(0, (Date.now() - Date.parse('2026-11-02T00:00:00+08:00')) / 864e5);
return Math.round(base * (1 + 0.004 * days));
};