feat(scenic-materials): 搭建独立景区空镜库UI与下载演示

This commit is contained in:
2026-10-26 15:37:50 +08:00
parent 837623ee7f
commit c13282c7bc
29 changed files with 2876 additions and 4 deletions
@@ -59,9 +59,10 @@ final class AllFunctionsViewController: BaseViewController {
override func setupNavigationBar() {
title = "全部功能"
#if DEBUG
navigationItem.rightBarButtonItem = UIBarButtonItem(
title: "机巢预览", style: .plain, target: self, action: #selector(openDroneDockPreview)
)
navigationItem.rightBarButtonItems = [
UIBarButtonItem(title: "空镜预览", style: .plain, target: self, action: #selector(openScenicMaterialsPreview)),
UIBarButtonItem(title: "机巢预览", style: .plain, target: self, action: #selector(openDroneDockPreview))
]
#endif
}
@@ -69,6 +70,11 @@ final class AllFunctionsViewController: BaseViewController {
@objc private func openDroneDockPreview() {
navigationController?.pushViewController(DroneDockWorkbenchViewController(), animated: true)
}
/// 空镜库作为独立模块预览,不经机巢工作台导航或业务状态。
@objc private func openScenicMaterialsPreview() {
navigationController?.pushViewController(ScenicMaterialsViewController(), animated: true)
}
#endif
override func setupUI() {