feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
This commit is contained in:
1 parent
3c3ddac8be
commit
a0b84977a2
630 files changed
+101647
-11293
No files matched your search
@@ -151,41 +151,10 @@ trait HomepageReader {
|
||||
return HomeCms::homepage_tab_limit();
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// 顶部多功能组件设置(图标卡片 + 搜索覆盖)
|
||||
// ============================================
|
||||
|
||||
/**
|
||||
* 是否显示顶部组件搜索覆盖框
|
||||
*/
|
||||
public static function header_components_search_enabled(): bool {
|
||||
return DisplayRuntime::header_components_search_enabled();
|
||||
}
|
||||
|
||||
/**
|
||||
* 顶部组件搜索详细配置(PC/移动分别 + 子选项)
|
||||
*
|
||||
* @return array{pc:bool,mobile:bool,show_keywords:bool,popular_limit:int,show_input_cat:bool,show_type:bool,keywords:string[],categories:array,type_options:array}
|
||||
*/
|
||||
public static function get_header_components_search_config(): array {
|
||||
return DisplayRuntime::get_header_components_search_config();
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否显示顶部组件图标卡片覆盖
|
||||
*/
|
||||
public static function header_components_cards_enabled(): bool {
|
||||
return DisplayRuntime::header_components_cards_enabled();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取顶部组件图标卡片配置
|
||||
* @return array
|
||||
*/
|
||||
public static function homepage_module_hero_enabled(): bool {
|
||||
return DisplayRuntime::homepage_module_hero_enabled();
|
||||
}
|
||||
|
||||
public static function homepage_module_banner_enabled(): bool {
|
||||
return DisplayRuntime::homepage_module_banner_enabled();
|
||||
}
|
||||
@@ -199,24 +168,6 @@ trait HomepageReader {
|
||||
return DisplayRuntime::get_slider_config();
|
||||
}
|
||||
|
||||
public static function get_header_components_icon_cards(): array {
|
||||
return DisplayRuntime::get_header_components_icon_cards();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取顶部组件卡片列数
|
||||
*/
|
||||
public static function get_header_components_card_columns(): int {
|
||||
return DisplayRuntime::get_header_components_card_columns();
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否显示顶部组件卡片背景色
|
||||
*/
|
||||
public static function header_components_card_bg_enabled(): bool {
|
||||
return DisplayRuntime::header_components_card_bg_enabled();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取页脚配色配置
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user