fix(admin): close hero/banner config chain in page-display IA

Wire existing HeroManager/BannerManager into page-display routes and
component loaders, fix banner REST round-trip (show_meta + optional title),
and retarget operator deep-links to the real slide managers.
This commit is contained in:
kate522 committed 2026-07-13 21:57:10 +08:00
1 parent 36f1588c6a
commit dcc82a39e7
8 files changed
+52 -17

No files matched your search

@@ -67,11 +67,12 @@ class AKSRT_Admin_Schema_Page_Display {
],
],
'header-components' => [
'key' => 'header-components',
'title' => '顶部多功能组件',
'version' => '1.1.0',
'option_key' => 'aksrt_settings',
'groups' => [
'key' => 'header-components',
'title' => '顶部多功能组件',
'description' => '配置顶部组件的显示范围、设备规则、轮播参数、搜索覆盖层与图标卡片。幻灯片图片/文案内容请到「Hero 轮播」「Banner 轮播」管理。',
'version' => '1.1.0',
'option_key' => 'aksrt_settings',
'groups' => [
['key' => 'visibility', 'title' => '显示规则', 'fields' => [
['key' => 'header_components_search_enabled', 'label' => '启用搜索覆盖层', 'type' => 'switch', 'default' => true],
['key' => 'header_components_cards_enabled', 'label' => '启用图标卡片', 'type' => 'switch', 'default' => false],