全新界面,引入Menu+Tabs形式显示示例

This commit is contained in:
czz_y
2025-01-15 17:06:57 +08:00
parent d76d262152
commit 5f5e6603f4
10 changed files with 266 additions and 148 deletions
+16 -1
View File
@@ -20,7 +20,7 @@ namespace AntdUIDemo.Models
new MenuItems { Text = "GridPanel 网格布局", Tag = "GridPanel"},
new MenuItems { Text = "Panel 面板", Tag = "Panel"},
new MenuItems { Text = "StackPanel 堆叠布局", Tag = "StackPanel"},
new MenuItems { Text = "VirtualPanel 虚拟布局", Tag = "VirtualPanel"}
//new MenuItems { Text = "VirtualPanel 虚拟布局", Tag = "VirtualPanel"}
}
},
{ "导航", new List<MenuItems>
@@ -98,6 +98,21 @@ namespace AntdUIDemo.Models
}
}
};
public static readonly Dictionary<string, string> MenuIcons = new Dictionary<string, string>
{
{ "通用", "AppstoreOutlined" },
{ "布局", "LayoutOutlined" },
{ "导航", "CompressOutlined" },
{ "数据录入", "EditOutlined" },
{ "数据展示", "BarChartOutlined" },
{ "反馈", "NotificationOutlined" },
{ "聊天", "MessageOutlined" },
{ "其它", "SettingOutlined" }
};
}
}