feat(homepage): consume Zibll homepage keys on frontend queries

Point homepage getters and tab queries at home_lists / home_exclude_* /
index_list_title / list1 orderby. Support category+topics tab terms via
tax_query, expand the homepage term picker API, and keep facade method
names for existing templates without dual-writing storage keys.
This commit is contained in:
kate522 committed 2026-07-11 15:23:21 +08:00
1 parent 0c882d8887
commit f0f6e97d04
4 files changed
+76 -15

No files matched your search

@@ -295,8 +295,8 @@ async function loadCategories() {
const res = await api.getHomepageCategories()
const cats = res?.data || []
categoryOptions.value = cats.map(c => ({
label: `${c.name} (${c.count})`,
value: c.term_id,
label: `${c.taxonomy === 'topics' ? '[专题] ' : ''}${c.name} (${c.count})`,
value: c.term_id || c.id,
}))
} catch {
// non-critical