feat(poster): 海报搜索支持源中文名/描述(搜衬线可命中字体),字体源索引补 desc

This commit is contained in:
sgp
2026-11-05 00:41:11 +08:00
parent 4d3bdb7f58
commit 2a034e7c67
14 changed files with 65 additions and 38 deletions
+2 -2
View File
@@ -84,7 +84,7 @@
</div>
<script src="js/data/poster-sources.js"></script>
<script src="js/data/poster-builtin.js?v=20261105a"></script>
<script src="js/data/poster-builtin.js?v=20261105b"></script>
<script>
(function () {
const builtin = window.HGB_PosterBuiltin || { sources: {} };
@@ -139,7 +139,7 @@
}
// 优先读机器可读 manifest(js/data/manifest/posters.json,构建时生成);失败回退内置配置
fetch('js/data/manifest/posters.json?v=20261105a')
fetch('js/data/manifest/posters.json?v=20261105b')
.then(r => r.json())
.then(m => { sources = m.sources || []; render(); })
.catch(() => { sources = FALLBACK; render(); });