diff --git a/audit-emojis.html b/audit-emojis.html index 5a04753..0fa047c 100644 --- a/audit-emojis.html +++ b/audit-emojis.html @@ -33,9 +33,9 @@ h1{font-size:16px}h2{font-size:14px;margin:14px 0 6px} - + - + - + - + diff --git a/emoji.html b/emoji.html index 639e8ab..ca3724d 100644 --- a/emoji.html +++ b/emoji.html @@ -216,9 +216,9 @@ - + - + diff --git a/index.html b/index.html index 56b6b23..039bc9c 100644 --- a/index.html +++ b/index.html @@ -336,9 +336,9 @@ - + - + diff --git a/js/core/iconlib.js b/js/core/iconlib.js index 084127e..62b5ae4 100644 --- a/js/core/iconlib.js +++ b/js/core/iconlib.js @@ -8,7 +8,7 @@ const HGB_IconLib = (function () { 'use strict'; - const VERSION = '20261105b'; // 与 index.html 中 builtin-icons.js?v= 版本联动 + const VERSION = '20261105c'; // 与 index.html 中 builtin-icons.js?v= 版本联动 const cache = {}; // sid -> {icons:[...]} const pending = {}; // sid -> Promise @@ -160,9 +160,15 @@ const HGB_IconLib = (function () { for (var _i = 0; _i < sids.length; _i++) { var sid = sids[_i]; var list = cache[sid].icons || []; + // 源级中文名匹配(如「圣诞」→ withicons-christmas 全部图标) + var meta = (typeof HGB_BuiltinIcons !== 'undefined' && HGB_BuiltinIcons.sources && + HGB_BuiltinIcons.sources[sid]) || null; + var srcHit = !!(q && meta && + ((meta.name || '') + ' ' + (meta.nameCn || '')).toLowerCase().indexOf(q) !== -1); for (var j = 0; j < list.length; j++) { var ic = list[j]; var sc = scoreIcon(ic, q, roots); + if (sc < 0 && srcHit) sc = 250; if (sc >= 0) { hits.push({ sc: sc, diff --git a/js/data/manifest/BASELINE.md b/js/data/manifest/BASELINE.md index 9df1d6f..a22a867 100644 --- a/js/data/manifest/BASELINE.md +++ b/js/data/manifest/BASELINE.md @@ -5,12 +5,12 @@ ## 生成时间 -2026-11-04T16:55:44.384Z +2026-11-04T17:22:11.022Z ## ① 图标库(共享,LOGO/头像/海报共用) -- 源数:241 | 图标总数:422168 -- 类型分布:icon 177 / emoji 32 / brand 32 +- 源数:262 | 图标总数:443168 +- 类型分布:icon 177 / emoji 53 / brand 32 - 源清单(含 count/file/workspaces):js/data/manifest/icons.json ## ② 海报素材库 diff --git a/skills.html b/skills.html index 8801000..0319e95 100644 --- a/skills.html +++ b/skills.html @@ -185,9 +185,9 @@ - + - + diff --git a/sources.html b/sources.html index 73400c2..2547561 100644 --- a/sources.html +++ b/sources.html @@ -154,8 +154,8 @@ - - + +