4 changed files with 51 additions and 4 deletions
@ -0,0 +1,21 @@ |
|||||
|
<?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.LogLoading" |
||||
|
Title="LogLoading"> |
||||
|
<Grid x:Name="LoadingIndicator" BackgroundColor="Gray" |
||||
|
IsVisible="True" Opacity="0.9"> |
||||
|
<VerticalStackLayout Padding="30" Spacing="10" |
||||
|
VerticalOptions="Center" |
||||
|
HorizontalOptions="Center"> |
||||
|
<Button Text="登 录" |
||||
|
BackgroundColor="#512BD4" |
||||
|
TextColor="White" |
||||
|
HeightRequest="50" |
||||
|
WidthRequest="100" |
||||
|
CornerRadius="10" |
||||
|
Margin="0,10,0,0" |
||||
|
Clicked="Button_Clicked"/> |
||||
|
</VerticalStackLayout> |
||||
|
</Grid> |
||||
|
</ContentPage> |
||||
@ -0,0 +1,17 @@ |
|||||
|
namespace SunlightAggregationTerminal.View; |
||||
|
|
||||
|
public partial class LogLoading : ContentPage |
||||
|
{ |
||||
|
public LogLoading() |
||||
|
{ |
||||
|
InitializeComponent(); |
||||
|
} |
||||
|
|
||||
|
private async void Button_Clicked(object sender, EventArgs e) |
||||
|
{ |
||||
|
await Navigation.PopModalAsync(); |
||||
|
var logpage = new View.LogPage(); |
||||
|
await Navigation.PushModalAsync(logpage); |
||||
|
|
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue