1 feat(navigation): 统一添加返回按钮并调整导航宽度

2
   3 - 为VariableTableView和DeviceDetailView添加返回上级页面的按钮
   4 - 将VariableHistoryView的返回按钮改为图标样式,保持一致性
   5 - 调整MainView中NavigationView的展开宽度,从500减小到200
   6 - 清理未使用的命名空间引用
This commit is contained in:
2025-10-03 23:06:04 +08:00
parent 609c4741c1
commit f86a2abed6
6 changed files with 121 additions and 41 deletions

View File

@@ -9,7 +9,6 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:mo="clr-namespace:DMS.Core.Models;assembly=DMS.Core"
xmlns:taskbarNotification="http://www.hardcodet.net/taskbar"
xmlns:tb="http://hardcodet.net/taskbar"
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
xmlns:vm="clr-namespace:DMS.WPF.ViewModels"
Title="设备管理系统"
@@ -57,7 +56,7 @@
</taskbarNotification:TaskbarIcon>
<ui:NavigationView
AlwaysShowHeader="True"
ExpandedModeThresholdWidth="500"
ExpandedModeThresholdWidth="200"
IsBackButtonVisible="Collapsed"
IsBackEnabled="False"
IsSettingsVisible="False"