首页三个入口合并为一个面板

This commit is contained in:
2026-07-12 20:51:52 +08:00
parent 677b860395
commit 7d42eec98c
+5 -3
View File
@@ -18,9 +18,11 @@ class ViewController: UIViewController {
}
private let menuItems: [[MenuItem]] = [
[MenuItem(icon: "note.text", iconColor: .systemYellow, title: "打开备忘录")],
[MenuItem(icon: "doc.text", iconColor: .systemBlue, title: "格式化日志")],
[MenuItem(icon: "text.alignleft", iconColor: .systemGreen, title: "格式化笔记")]
[
MenuItem(icon: "note.text", iconColor: .systemYellow, title: "打开备忘录"),
MenuItem(icon: "doc.text", iconColor: .systemBlue, title: "格式化日志"),
MenuItem(icon: "text.alignleft", iconColor: .systemGreen, title: "格式化笔记")
]
]
override func viewDidLoad() {