feat(admin): rebuild page display settings

This commit is contained in:
2026-08-19 00:07:13 +08:00
parent 09b1e8fd35
commit 480e2bf07e
117 changed files with 1815 additions and 9081 deletions
+1 -25
View File
@@ -48,7 +48,7 @@ trait HomepageReader {
/**
* Structured homepage tabs.
*
* @return array<int, array{term_id:int, title:string, orderby:string, enabled:bool}>
* @return array<int, array{term_id:int, title:string, orderby:string}>
*/
public static function homepage_tabs(): array {
return HomeCms::homepage_tabs();
@@ -144,30 +144,6 @@ trait HomepageReader {
return HomeCms::homepage_tab_posts_per_page();
}
/**
* Maximum number of category tabs to display.
*/
public static function homepage_tab_limit(): int {
return HomeCms::homepage_tab_limit();
}
/**
* 获取顶部组件图标卡片配置
* @return array
*/
public static function homepage_module_banner_enabled(): bool {
return DisplayRuntime::homepage_module_banner_enabled();
}
/**
* Global slider configuration shared by Hero and Banner.
*
* @return array<string,mixed>
*/
public static function get_slider_config(): array {
return DisplayRuntime::get_slider_config();
}
/**
* 获取页脚配色配置
*/