添加添加数据库服务器表
修改扫码连接修复扫码闪退问题
This commit is contained in:
1 parent
6c0af56ea9
commit
0801e4875c
64 files changed
+3265
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<?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.NotificationView.MessagePage"
|
||||
Title="信息">
|
||||
<CollectionView x:Name="CardCollectionView"
|
||||
ItemsSource="{Binding MessageItems}"
|
||||
RemainingItemsThreshold="5"
|
||||
RemainingItemsThresholdReached="CardCollectionView_RemainingItemsThresholdReached">
|
||||
<!-- 保持滚动条 -->
|
||||
<CollectionView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<!-- 这里定义单个卡片的 UI 结构 -->
|
||||
<Border BackgroundColor="White"
|
||||
Stroke="#CCCCCC"
|
||||
StrokeThickness="1"
|
||||
Margin="10,0,10,10"
|
||||
StrokeShape="RoundRectangle 10">
|
||||
<Grid Padding="15">
|
||||
<VerticalStackLayout>
|
||||
<Label Text="{Binding Title}"
|
||||
FontAttributes="Bold"
|
||||
FontSize="22"
|
||||
TextColor="Black"/>
|
||||
<Label Text="{Binding Time}"
|
||||
FontSize="14"
|
||||
TextColor="Black"
|
||||
LineBreakMode="WordWrap"/>
|
||||
<Label Text="{Binding Content}"
|
||||
FontSize="16"
|
||||
TextColor="Gray"
|
||||
LineBreakMode="WordWrap"/>
|
||||
</VerticalStackLayout>
|
||||
</Grid>
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>
|
||||
</ContentPage>
|
||||
Reference in new issue
Block a user