feat: 优化UI

This commit is contained in:
GukSang.Jin
2026-02-26 15:30:48 +08:00
parent d82f1c50c3
commit fbafc6edf8
9 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 KiB

View File

@@ -18,7 +18,8 @@
<ItemGroup>
<Resource Include="Images\dog.png" />
<Resource Include="Images\dog1.jpg" />
<Resource Include="Images\dog1.png" />
<Resource Include="Images\dog2.png" />
<Resource Include="Images\qrcode.png" />
</ItemGroup>

View File

@@ -87,7 +87,7 @@ public partial class MainViewModel : ObservableObject
private readonly System.Timers.Timer _carouselTimer;
private readonly System.Timers.Timer _clockTimer;
private readonly string[] _carouselImages = { "/Images/dog.png", "/Images/dog1.jpg" };
private readonly string[] _carouselImages = { "/Images/dog.png", "/Images/dog1.png", "/Images/dog2.png" };
private int _currentImageIndex = 0;
public MainViewModel()

View File

@@ -215,7 +215,7 @@
<!-- 宠物大图轮播 -->
<Border Grid.Row="1"
Background="#F5F5F5"
CornerRadius="25"
CornerRadius="4"
BorderBrush="#81C784"
BorderThickness="4"
ClipToBounds="True">
@@ -385,7 +385,6 @@
<!-- 宠物大图轮播 -->
<Border Grid.Row="1"
Background="#F5F5F5"
CornerRadius="25"
BorderBrush="#FFB74D"
BorderThickness="4"
ClipToBounds="True">
@@ -1248,7 +1247,7 @@
<Border.Effect>
<DropShadowEffect Color="#FF6F00" BlurRadius="10" ShadowDepth="0" Opacity="0.3"/>
</Border.Effect>
<Image Source="/Images/dog.png"
<Image Source="/Images/dog2.png"
Stretch="UniformToFill"
Margin="0"/>
</Border>