You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
2.1 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:Sln.Wcs.UI.ViewModels"
x:Class="Sln.Wcs.UI.Views.MainWindow"
x:DataType="vm:NavigationViewModel"
Title="基于多场景应用的 WCS 通用平台"
Width="1280" Height="780"
MinWidth="1000" MinHeight="600"
WindowStartupLocation="CenterScreen"
Background="#0A0E14"
Foreground="#BCC8D6">
<Grid RowDefinitions="Auto,Auto,*">
<!-- Title Bar -->
<Border Grid.Row="0" Padding="16,10" Background="#0A0E14">
<StackPanel Orientation="Horizontal" Spacing="12" VerticalAlignment="Center">
<Canvas Width="24" Height="24">
<Rectangle Canvas.Left="1" Canvas.Top="1" Width="22" Height="18" RadiusX="2" RadiusY="2" Fill="#0F1F38" Stroke="#4FC3F7" StrokeThickness="1.2" />
<Rectangle Canvas.Left="4" Canvas.Top="4" Width="16" Height="5" RadiusX="1" RadiusY="1" Fill="#1B3A5C" />
<Line StartPoint="5,11" EndPoint="19,11" Stroke="#1B3A5C" StrokeThickness="1" />
<Ellipse Canvas.Left="5" Canvas.Top="5" Width="2" Height="2" Fill="#00E676" />
<Ellipse Canvas.Left="9" Canvas.Top="5" Width="2" Height="2" Fill="#4FC3F7" />
</Canvas>
<TextBlock Text="基于多场景应用的 WCS 通用平台" FontSize="16" FontWeight="Bold" Foreground="#E1E8F0" />
<Border Background="#1B3A5C" CornerRadius="3" Padding="6,2" VerticalAlignment="Center">
<TextBlock Text="V1.0.0" FontSize="10" Foreground="#4FC3F7" />
</Border>
</StackPanel>
</Border>
<!-- Menu Bar -->
<Border Grid.Row="1" Padding="16,0" Background="#0C1622" BorderBrush="#1A2F4A" BorderThickness="0,1,0,1">
<StackPanel x:Name="MenuContainer" Orientation="Horizontal" Spacing="0" />
</Border>
<!-- Content Area -->
<Border Grid.Row="2" x:Name="ContentArea" />
</Grid>
</Window>