Dispenser/DispenserUI/Views/Windows/LoginErrorWindow.axaml

38 lines
1.7 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
SystemDecorations="None"
WindowStartupLocation="CenterScreen"
Background="Transparent"
TransparencyLevelHint="Transparent"
TransparencyBackgroundFallback="Transparent"
x:Class="DispenserUI.Views.Windows.LoginErrorWindow">
<Grid Width="629" Height="504">
<Border Padding="40" CornerRadius="24" Background="#F8FAFB">
<StackPanel>
<Image Width="28" Height="28" Source="/Assets/UI/close@2x.png" Cursor="Hand"
HorizontalAlignment="Right" PointerPressed="Close" />
<Image Width="163" Height="194" Source="/Assets/UI/Error@2x.png" HorizontalAlignment="Center"
Margin="0,20,0,0" />
<TextBlock Text="请联系管理员重置密码"
Foreground="#0D0D12"
FontSize="18"
Margin="0,30,0,0"
HorizontalAlignment="Center" />
<Button Margin="0,30,0,0"
Width="370" Height="48"
CornerRadius="20"
Cursor="Hand"
HorizontalAlignment="Center"
Background="#5F57FF"
Click="Confirm">
<TextBlock Text="我知道了"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Foreground="White"
FontSize="16" />
</Button>
</StackPanel>
</Border>
</Grid>
</Window>