添加添加数据库服务器表
修改扫码连接修复扫码闪退问题
This commit is contained in:
1 parent
6c0af56ea9
commit
0801e4875c
64 files changed
+3265
No files matched your search
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="SunlightAggregationTerminal.View.LogPage"
|
||||
Title="登录">
|
||||
<VerticalStackLayout Padding="30" Spacing="20"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
MaximumWidthRequest="600">
|
||||
<Grid RowDefinitions="Auto, *" ColumnDefinitions="*, Auto">
|
||||
<HorizontalStackLayout VerticalOptions="Center" Spacing="15">
|
||||
<!-- 信息 -->
|
||||
<VerticalStackLayout Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
VerticalOptions="Center">
|
||||
<HorizontalStackLayout VerticalOptions="Center">
|
||||
<Entry Text="服务器:" FontSize="26" TextColor="Black" />
|
||||
<Entry x:Name="Enterprise"
|
||||
Text="IP"
|
||||
FontSize="26"
|
||||
TextColor="Gray"
|
||||
WidthRequest="200"
|
||||
MaximumWidthRequest="200"/>
|
||||
</HorizontalStackLayout>
|
||||
</VerticalStackLayout>
|
||||
</HorizontalStackLayout>
|
||||
<Button Grid.Row="0" Grid.Column="1"
|
||||
Clicked="OnScanButtonClicked"
|
||||
BackgroundColor="Transparent"
|
||||
WidthRequest="60"
|
||||
HeightRequest="60" >
|
||||
<Button.ImageSource>
|
||||
<!-- 设置图标 -->
|
||||
<FileImageSource File="lucidescanline.png" />
|
||||
</Button.ImageSource>
|
||||
</Button>
|
||||
</Grid>
|
||||
<HorizontalStackLayout VerticalOptions="Center">
|
||||
<Entry Text="用户:" FontSize="26" TextColor="Black" />
|
||||
<!-- 用户名输入 -->
|
||||
<Entry x:Name="UsernameEntry"
|
||||
Placeholder="请输入用户名"
|
||||
FontSize="26"
|
||||
WidthRequest="250"
|
||||
MaximumWidthRequest="250"/>
|
||||
</HorizontalStackLayout>
|
||||
<HorizontalStackLayout VerticalOptions="Center">
|
||||
<Entry Text="密码:" FontSize="26" TextColor="Black"/>
|
||||
<!-- 密码输入 -->
|
||||
<Entry x:Name="PasswordEntry"
|
||||
Placeholder="请输入密码"
|
||||
IsPassword="True"
|
||||
FontSize="26"
|
||||
WidthRequest="250"
|
||||
MaximumWidthRequest="250"/>
|
||||
</HorizontalStackLayout>
|
||||
<!-- 登录按钮 -->
|
||||
<Button Text="登 录"
|
||||
BackgroundColor="#512BD4"
|
||||
TextColor="White"
|
||||
HeightRequest="50"
|
||||
WidthRequest="100"
|
||||
CornerRadius="10"
|
||||
Margin="0,10,0,0"
|
||||
Clicked="Log_Clicked"/>
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
||||
Reference in new issue
Block a user