feat: replace icons in demo.

This commit is contained in:
Zhang Dian
2025-01-13 23:53:39 +08:00
parent 2084f148e7
commit 9b98ad7e6a
11 changed files with 63 additions and 102 deletions

View File

@@ -10,11 +10,6 @@
x:CompileBindings="True"
x:DataType="vm:RatingDemoViewModel"
mc:Ignorable="d">
<UserControl.Resources>
<StreamGeometry x:Key="LoveHeartGeometry">
M12 5.99999C10.5 2.12432 5.75193 2.0557 3.40383 4.4038C0.865423 6.94221 0.999999 10.5 3.50001 14C5.52139 16.8299 9.83088 20.3136 11.4069 21.5438C11.7573 21.8172 12.2427 21.8172 12.5931 21.5438C14.1691 20.3136 18.4786 16.8299 20.5 14C23 10.5 23.1346 6.94221 20.5962 4.4038C18.2481 2.0557 14.5 2.12432 12 5.99999Z
</StreamGeometry>
</UserControl.Resources>
<StackPanel Spacing="20">
<Grid ColumnDefinitions="*, 300">
<Grid Grid.Column="0">
@@ -43,7 +38,7 @@
Count="{Binding Count}"
DefaultValue="{Binding DefaultValue}"
Foreground="{StaticResource SemiRed5}"
Character="{StaticResource LoveHeartGeometry}" />
Character="{StaticResource SemiIconLikeHeart}" />
</StackPanel>
</Grid>
<Border Grid.Column="1" VerticalAlignment="Top">