添加添加数据库服务器表
修改扫码连接修复扫码闪退问题
This commit is contained in:
1 parent
6c0af56ea9
commit
0801e4875c
64 files changed
+3265
No files matched your search
@@ -0,0 +1,60 @@
|
||||
<?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.NotificationPage"
|
||||
Loaded="ContentPage_Loaded"
|
||||
Title="通知中心">
|
||||
<ScrollView>
|
||||
<VerticalStackLayout Padding="20" Spacing="20">
|
||||
<!-- 通知卡片 -->
|
||||
<Border BackgroundColor="White"
|
||||
Stroke="#CCCCCC"
|
||||
Margin="0,0,0,10"
|
||||
StrokeShape="RoundRectangle 10">
|
||||
<Grid ColumnDefinitions="Auto,*,Auto" Padding="15" ColumnSpacing="15">
|
||||
<!-- 文字内容 -->
|
||||
<VerticalStackLayout Grid.Column="1" VerticalOptions="Center">
|
||||
<Label x:Name="NoticeItemTitle" FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
||||
<Label x:Name="NoticeItemContent" FontSize="16" TextColor="Gray" LineBreakMode="WordWrap"/>
|
||||
</VerticalStackLayout>
|
||||
</Grid>
|
||||
<!-- 点击事件 -->
|
||||
<Border.GestureRecognizers>
|
||||
<TapGestureRecognizer Tapped="OnNoticeTapped"/>
|
||||
</Border.GestureRecognizers>
|
||||
</Border>
|
||||
|
||||
<!-- 信息卡片 -->
|
||||
<Border BackgroundColor="White"
|
||||
Stroke="#CCCCCC"
|
||||
Margin="0,0,0,10"
|
||||
StrokeShape="RoundRectangle 10">
|
||||
<Grid ColumnDefinitions="Auto,*,Auto" Padding="15" ColumnSpacing="15">
|
||||
<VerticalStackLayout Grid.Column="1" VerticalOptions="Center">
|
||||
<Label x:Name="MessageItemTitle" FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
||||
<Label x:Name="MessageItemContent" FontSize="16" TextColor="Gray" LineBreakMode="WordWrap"/>
|
||||
</VerticalStackLayout>
|
||||
</Grid>
|
||||
<Border.GestureRecognizers>
|
||||
<TapGestureRecognizer Tapped="OnMessageTapped"/>
|
||||
</Border.GestureRecognizers>
|
||||
</Border>
|
||||
|
||||
<!-- 系统卡片 -->
|
||||
<Border BackgroundColor="White"
|
||||
Stroke="#CCCCCC"
|
||||
Margin="0,0,0,10"
|
||||
StrokeShape="RoundRectangle 10">
|
||||
<Grid ColumnDefinitions="Auto,*,Auto" Padding="15" ColumnSpacing="15">
|
||||
<VerticalStackLayout Grid.Column="1" VerticalOptions="Center">
|
||||
<Label x:Name="SystemItemTitle" FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
||||
<Label x:Name="SystemItemContent" FontSize="16" TextColor="Gray" LineBreakMode="WordWrap"/>
|
||||
</VerticalStackLayout>
|
||||
</Grid>
|
||||
<Border.GestureRecognizers>
|
||||
<TapGestureRecognizer Tapped="OnSystemTapped"/>
|
||||
</Border.GestureRecognizers>
|
||||
</Border>
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
</ContentPage>
|
||||
Reference in new issue
Block a user