Skip to content

Commit dce670e

Browse files
committed
fix(ui): remove test view
1 parent 873b3ff commit dce670e

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

PCL.Neo/Views/Home/HomeSubView.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
<Run Text="图标?" />
4444
</pc:MyButton>
4545

46-
<!--<pc:MyLoading
46+
<pc:MyLoading
4747
Height="150"
4848
Name="TestLoading"
49-
Width="150" />-->
49+
Width="150" />
5050
<pc:MyButton
5151
Command="{Binding NavigateToDownloadModCommand}"
5252
Height="50"

PCL.Neo/Views/Home/HomeSubView.axaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ public HomeSubView()
2020

2121
private void Button_OnClick(object? sender, RoutedEventArgs e)
2222
{
23-
//this.TestLoading.State = MyLoading.LoadingState.Loading;
23+
this.TestLoading.State = MyLoading.LoadingState.Loading;
2424
}
2525

2626
private void Button2_OnClick(object? sender, RoutedEventArgs e)
2727
{
28-
//this.TestLoading.State = MyLoading.LoadingState.Error;
28+
this.TestLoading.State = MyLoading.LoadingState.Error;
2929
}
3030
}

PCL.Neo/Views/HomeView.axaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@
186186
<!-- 内容区 - 可以放新闻或游戏信息 -->
187187
<ScrollViewer Grid.Row="1">
188188
<StackPanel Spacing="15">
189-
<!-- 游戏版本卡片 -->
190-
<!--<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
189+
<!--游戏版本卡片-->
190+
<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
191191
CornerRadius="6"
192192
Padding="15">
193193
<Grid>
@@ -214,7 +214,7 @@
214214
</Grid>
215215
</Border>
216216

217-
--><!-- 内存设置卡片 --><!--
217+
<!--内存设置卡片-->
218218
<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
219219
CornerRadius="6"
220220
Padding="15">
@@ -249,7 +249,7 @@
249249
FontWeight="SemiBold"/>
250250
</Grid>
251251
</Grid>
252-
</Border>-->
252+
</Border>
253253
<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
254254
CornerRadius="6"
255255
Padding="15">
@@ -280,11 +280,6 @@
280280
HorizontalAlignment="Stretch"
281281
Height="20" Width="20"
282282
Source="{Binding ShowImageBitmap}"/>
283-
<pc:MyButton Content="Test"
284-
Width="80" Height="40"
285-
HorizontalAlignment="Center"
286-
VerticalAlignment="Bottom"
287-
Command="{Binding TestButtonAniCommand}"/>
288283

289284
</Grid>
290285
</Border>

0 commit comments

Comments
 (0)