百问核心词小图改浅色蒙层+分类色字;列表卡按分类铺淡底色(v26110298)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-04 03:59:12 +00:00
parent 0aacc1c8d6
commit bb4d84fb85
12 changed files with 38 additions and 33 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26110297';
var VER = '26110298';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -5681,7 +5681,8 @@
if (i === 0) sec('<svg class="qa-fi" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21c-4 0-6.5-2.7-6.5-6.2 0-3.6 2.9-5.6 3.6-9.3 2.6 1.4 3.6 3.6 3.6 5.4 1-.6 1.6-1.8 1.7-3 2.4 1.9 4.1 4.3 4.1 7 0 3.5-2.5 6.1-6.5 6.1z"/></svg>本周热问', '看的人最多的 3 个问题');
if (i === 3) sec('全部问题', '点开就有答案');
const it = document.createElement('div');
it.className = 'qa-it' + (i < 3 ? ' t3 r' + (i + 1) : '');
/* 11-04 用户:「1~100 的卡片都是白色块,看着疲劳」→ 非前 3 条按分类铺一层很淡的同色系底色 */
it.className = 'qa-it' + (i < 3 ? ' t3 r' + (i + 1) : ' t' + (QA_TC[x.tag] || 'c5'));
it.dataset.cat = x.tag || '';
if (inBand(x)) it.dataset.st = '1';
const h = document.createElement('button'); h.type = 'button'; h.className = 'qa-q';