其他妈妈也在搜:标签改为 爆/热/热/新/新,第 6 条不显示

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-02 09:58:26 +00:00
parent 8d4d4c97de
commit 3788dce122
4 changed files with 11 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26110209';
var VER = '26110210';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -5516,8 +5516,8 @@
});
}
window.__mbHeat = msHeat;
/* 11-02 用户:「这 6 个都要有相应的关注维度,颜色不一样」→ 按名次固定发标签:爆 / 热 / 关注最多 / 收藏多 / 讨论多 / 新(样式 .ms-bd.*) */
const MS_BD = [{ t: '爆', c: 'bao' }, { t: '热', c: 'hot' }, { t: '关注最多', c: 'gz' }, { t: '收藏多', c: 'sc' }, { t: '讨论多', c: 'tl' }, { t: '新', c: 'new' }];
/* 11-02 用户定:按名次固定发标签 —— 第 1 爆、第 2/3 热、第 4/5 新、第 6 不显示(样式 .ms-bd.*) */
const MS_BD = [{ t: '爆', c: 'bao' }, { t: '热', c: 'hot' }, { t: '热', c: 'hot' }, { t: '新', c: 'new' }, { t: '新', c: 'new' }];
function msBadge(i) { return MS_BD[i] || { t: '', c: '' }; }
window.__mbMsBadge = msBadge;
function renderSearch(wk, today, size) {