Skip to content

Commit bf5f47b

Browse files
committed
[feat/WIP] 加载动画
#6
1 parent 15b1577 commit bf5f47b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

FluentWeather.Uwp/Pages/MainPage.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@
2929
</converters:ValueConverterGroup>
3030
</Page.Resources>
3131
<Grid>
32+
<Border Background="#40404040" Canvas.ZIndex="2" Visibility="{x:Bind ViewModel.IsLoading,Mode=OneWay}">
33+
<muxc:ProgressRing Height="100" Width="100"/>
34+
</Border>
35+
3236
<ScrollViewer
3337
x:Name="MainScrollViewer"
3438
x:FieldModifier="Public"
3539
Canvas.ZIndex="1"
36-
IsEnabled="{x:Bind ViewModel.IsLoading, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"
3740
VerticalScrollBarVisibility="Auto">
3841
<Grid
3942
x:Name="ContentGrid"

0 commit comments

Comments
 (0)