add:增加文档和上位机
This commit is contained in:
39
上位机/YKC/LoginWindow.xaml
Normal file
39
上位机/YKC/LoginWindow.xaml
Normal file
@@ -0,0 +1,39 @@
|
||||
<Window x:Class="YKC.LoginWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="登录 - 百瑞充电桩网关管理" Height="420" Width="400"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
WindowStyle="None" AllowsTransparency="True"
|
||||
Background="Transparent"
|
||||
ResizeMode="NoResize">
|
||||
|
||||
<Border Background="White" CornerRadius="8" Padding="40,36"
|
||||
Margin="0" BorderBrush="#E2E8F0" BorderThickness="1"
|
||||
Effect="{Binding RelativeSource={RelativeSource Self}, Path=Tag}">
|
||||
<Border.Tag>
|
||||
<DropShadowEffect BlurRadius="20" ShadowDepth="4" Color="#CC000000" Opacity="0.12"/>
|
||||
</Border.Tag>
|
||||
|
||||
<StackPanel>
|
||||
<TextBlock Text="充电桩管理系统" FontSize="22" FontWeight="Bold"
|
||||
Foreground="#1E293B" HorizontalAlignment="Center" Margin="0,0,0,4"/>
|
||||
<TextBlock Text="百瑞充电桩网关后台" FontSize="13" Foreground="#94A3B8"
|
||||
HorizontalAlignment="Center" Margin="0,0,0,28"/>
|
||||
|
||||
<TextBlock Text="账号" Style="{StaticResource FieldLabel}"/>
|
||||
<TextBox x:Name="txtUsername" Style="{StaticResource FormInput}"
|
||||
Height="50" FontSize="14" Margin="0,0,0,16" Text="admin"/>
|
||||
|
||||
<TextBlock Text="密码" Style="{StaticResource FieldLabel}"/>
|
||||
<PasswordBox x:Name="txtPassword" Style="{StaticResource PwdInput}"
|
||||
Height="50" FontSize="14" Margin="0,0,0,24"/>
|
||||
<Button x:Name="btnLogin" Content="登 录"
|
||||
Style="{StaticResource BtnPrimary}"
|
||||
Height="42" FontSize="15"
|
||||
Click="Login_Click"/>
|
||||
|
||||
<TextBlock x:Name="txtError" Foreground="#EF4444" FontSize="13"
|
||||
HorizontalAlignment="Center" Margin="0,12,0,0"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user