V1版本
This commit is contained in:
@@ -5,10 +5,111 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:CapMachine.Wpf.Views"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Width="1920"
|
||||
Height="980"
|
||||
d:DesignHeight="980"
|
||||
d:DesignWidth="1920"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<TextBlock Text="用户管理" />
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="130" />
|
||||
<RowDefinition Height="150" />
|
||||
<RowDefinition Height="150" />
|
||||
<RowDefinition Height="150" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Border Margin="0,5" Background="SkyBlue">
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="60"
|
||||
Foreground="White"
|
||||
Text="用户登录" />
|
||||
</Border>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5,0,5,0"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="/Assets/Fonts/#iconfont"
|
||||
FontSize="30"
|
||||
Foreground="Black"
|
||||
Text="" />
|
||||
<TextBlock
|
||||
Margin="10,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="30"
|
||||
Foreground="Black"
|
||||
Text="名称 :" />
|
||||
<TextBox
|
||||
Width="200"
|
||||
Margin="5,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="30"
|
||||
Foreground="Black"
|
||||
Text="{Binding CurUserDto.Name}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="2"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5,0,5,0"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="/Assets/Fonts/#iconfont"
|
||||
FontSize="30"
|
||||
Foreground="Black"
|
||||
Text="" />
|
||||
<TextBlock
|
||||
Margin="10,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="30"
|
||||
Foreground="Black"
|
||||
Text="密码 :" />
|
||||
<TextBox
|
||||
Width="200"
|
||||
Margin="5,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="30"
|
||||
Foreground="Black"
|
||||
Text="{Binding CurUserDto.Password}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="3"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Width="200"
|
||||
Height="60"
|
||||
Command="{Binding LoginCmd}"
|
||||
Content="登 录"
|
||||
FontSize="30"
|
||||
Foreground="White" />
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="4"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Width="150"
|
||||
Height="50"
|
||||
Margin="15,10"
|
||||
Command="{Binding UserManageCmd}"
|
||||
Content="用户管理"
|
||||
FontSize="20"
|
||||
Foreground="White" />
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
Reference in New Issue
Block a user