update
This commit is contained in:
@@ -9,7 +9,17 @@ import SwiftUI
|
||||
|
||||
struct MessageView: View {
|
||||
var body: some View {
|
||||
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
||||
NavigationPageView(title: "资讯列表", content: content)
|
||||
}
|
||||
|
||||
var content: some View {
|
||||
VStack {
|
||||
NavigationLink {
|
||||
MessageDetailView()
|
||||
} label: {
|
||||
Text("xiaoxo")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user