add-门体发泡登录界面
parent
ba9e03717e
commit
f23ff1bc4b
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
@ -0,0 +1,82 @@
|
|||||||
|
<Window x:Class="Aucma.Core.DoorFoam.Views.LoginPageView"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||||
|
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="登录"
|
||||||
|
x:Name="MainWindow"
|
||||||
|
FontFamily="Microsoft YaHei"
|
||||||
|
WindowStartupLocation="CenterScreen"
|
||||||
|
WindowState="Maximized" d:DesignWidth="1200" d:DesignHeight="900"
|
||||||
|
>
|
||||||
|
<Window.Background>
|
||||||
|
<ImageBrush ImageSource="/Assets/Images/login-background.png" />
|
||||||
|
</Window.Background>
|
||||||
|
<Border Margin="5" Background="Transparent">
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="0.5*"/>
|
||||||
|
<RowDefinition Height="2*"/>
|
||||||
|
<RowDefinition/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<UniformGrid Grid.Row="0">
|
||||||
|
<StackPanel HorizontalAlignment="Left">
|
||||||
|
<Image Source="/Assets/Images/Newlog.png" Width="100" />
|
||||||
|
</StackPanel>
|
||||||
|
</UniformGrid>
|
||||||
|
<UniformGrid Grid.Row="1" Margin="0 10">
|
||||||
|
<Border BorderThickness="4" CornerRadius="5" x:Name="DialogHost" Width="400" Height="350" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||||||
|
<StackPanel Background="White">
|
||||||
|
|
||||||
|
<ComboBox Margin="0 50 0 0"
|
||||||
|
x:Name="selectTeamComboBox"
|
||||||
|
Width="300"
|
||||||
|
BorderThickness="1"
|
||||||
|
BorderBrush="{StaticResource MaterialDesignDivider}"
|
||||||
|
materialDesign:HintAssist.Hint="班组"
|
||||||
|
SelectedValuePath="TeamCode"
|
||||||
|
DisplayMemberPath="TeamName"
|
||||||
|
ItemsSource="{Binding TeamMembersList}"
|
||||||
|
Style="{StaticResource MaterialDesignOutlinedComboBox}" />
|
||||||
|
|
||||||
|
<TextBox Margin="0 10 0 0"
|
||||||
|
x:Name="txtUserName"
|
||||||
|
Width="300"
|
||||||
|
FontSize="18"
|
||||||
|
materialDesign:HintAssist.Hint="用户名"
|
||||||
|
BorderThickness="1"
|
||||||
|
BorderBrush="{StaticResource MaterialDesignDivider}"
|
||||||
|
Style="{StaticResource MaterialDesignOutlinedTextBox}"
|
||||||
|
GotFocus="TextBox_GotFocus"
|
||||||
|
LostFocus="TextBox_LostFocus"/>
|
||||||
|
<PasswordBox
|
||||||
|
Margin="0 10 0 0"
|
||||||
|
x:Name="txtPassword"
|
||||||
|
Width="300"
|
||||||
|
FontSize="12"
|
||||||
|
materialDesign:HintAssist.Hint="密码"
|
||||||
|
BorderThickness="1"
|
||||||
|
BorderBrush="{StaticResource MaterialDesignDivider}"
|
||||||
|
Style="{StaticResource MaterialDesignOutlinedPasswordBox}"
|
||||||
|
GotFocus="TextBox_GotFocus"
|
||||||
|
LostFocus="TextBox_LostFocus"/>
|
||||||
|
<Button Margin="0 20 0 0"
|
||||||
|
x:Name="loginBtn"
|
||||||
|
Style="{StaticResource MaterialDesignFlatMidBgButton}"
|
||||||
|
Width="300"
|
||||||
|
Height="53"
|
||||||
|
Command="{Binding LoginCommand}"
|
||||||
|
materialDesign:ButtonAssist.CornerRadius="10"
|
||||||
|
Content="登录" Click="loginBtn_Click"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</UniformGrid>
|
||||||
|
<UniformGrid Grid.Row="2">
|
||||||
|
|
||||||
|
</UniformGrid>
|
||||||
|
</Grid>
|
||||||
|
</Border>
|
||||||
|
</Window>
|
Loading…
Reference in New Issue