V1版本
This commit is contained in:
@@ -14,8 +14,16 @@
|
||||
Height="1080"
|
||||
prism:ViewModelLocator.AutoWireViewModel="True"
|
||||
Icon="/Assets/Images/favicon.ico"
|
||||
StateChanged="Window_StateChanged"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
WindowState="Maximized"
|
||||
WindowStyle="SingleBorderWindow"
|
||||
mc:Ignorable="d">
|
||||
<!--<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="StateChanged">
|
||||
<prism:InvokeCommandAction Command="{Binding WindowStateChangedCmd}" CommandParameter="{Binding ElementName=MainDatagrid, Path=SelectedItem}" />
|
||||
</i:EventTrigger>
|
||||
</i:Interaction.Triggers>-->
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="50" />
|
||||
@@ -88,10 +96,22 @@
|
||||
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock
|
||||
Margin="20,5"
|
||||
FontSize="16"
|
||||
Text="{Binding Name}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="10,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="/Assets/Fonts/#iconfont"
|
||||
FontSize="14"
|
||||
Foreground="White"
|
||||
Text="" />
|
||||
<TextBlock
|
||||
Margin="3,5,10,5"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
Foreground="White"
|
||||
Text="{Binding Name}" />
|
||||
</StackPanel>
|
||||
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
|
||||
@@ -105,8 +125,16 @@
|
||||
<StackPanel
|
||||
Grid.Column="2"
|
||||
Margin="20,0"
|
||||
VerticalAlignment="Center">
|
||||
<TextBlock FontSize="18" Text="{Binding SysService.CurDateTime, StringFormat={}{0:yyyy-MM-dd HH:mm}}" />
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="0,0,5,0"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="/Assets/Fonts/#iconfont"
|
||||
FontSize="20"
|
||||
Foreground="White"
|
||||
Text="" />
|
||||
<TextBlock FontSize="18" Text="{Binding SysService.CurDateTime, StringFormat={}{0:MM-dd HH:mm}}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</md:ColorZone>
|
||||
|
||||
Reference in New Issue
Block a user