Closed MSEDGE-CORE closed 1 year ago
当前样式: SplashScreen后直接显示空白的天气页面模板
建议样式: 在获取/读取天气时 <muxc:ProgressRing Name="WeatherProgressRing" IsActive="True" Width="64" Height="64" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" /> MainGrid.Visibility = Visibility.Collpased; 完成后 WeatherProgressRing.Visibility = Visibility.Collpased; MainGrid.Visibility = Visibility.Visible;
<muxc:ProgressRing Name="WeatherProgressRing" IsActive="True" Width="64" Height="64" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" />
MainGrid.Visibility = Visibility.Collpased;
WeatherProgressRing.Visibility = Visibility.Collpased;
MainGrid.Visibility = Visibility.Visible;
在加载速度较快的情况下,ProgressRing 可能过于突兀 以后可能会采用类似于Microsoft Store的骨架屏
暂时先用一下ProgressRing好了( 以后可能会改
https://github.com/zxbmmmmmmmmm/FluentWeather/assets/96322503/2d70e91c-80b2-489c-a54c-e31816af1ec3
这个怎么样(录屏有点卡) PR:#21
当前样式: SplashScreen后直接显示空白的天气页面模板
建议样式: 在获取/读取天气时
<muxc:ProgressRing Name="WeatherProgressRing" IsActive="True" Width="64" Height="64" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" />
MainGrid.Visibility = Visibility.Collpased;
完成后WeatherProgressRing.Visibility = Visibility.Collpased;
MainGrid.Visibility = Visibility.Visible;