feat: 优化UI
This commit is contained in:
Binary file not shown.
BIN
PetWash.Api/petwash.db-shm
Normal file
BIN
PetWash.Api/petwash.db-shm
Normal file
Binary file not shown.
BIN
PetWash.Api/petwash.db-wal
Normal file
BIN
PetWash.Api/petwash.db-wal
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 160 KiB |
BIN
PetWashControl/Images/dog1.png
Normal file
BIN
PetWashControl/Images/dog1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
BIN
PetWashControl/Images/dog2.png
Normal file
BIN
PetWashControl/Images/dog2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 618 KiB |
@@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Images\dog.png" />
|
<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" />
|
<Resource Include="Images\qrcode.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ public partial class MainViewModel : ObservableObject
|
|||||||
|
|
||||||
private readonly System.Timers.Timer _carouselTimer;
|
private readonly System.Timers.Timer _carouselTimer;
|
||||||
private readonly System.Timers.Timer _clockTimer;
|
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;
|
private int _currentImageIndex = 0;
|
||||||
|
|
||||||
public MainViewModel()
|
public MainViewModel()
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
<!-- 宠物大图轮播 -->
|
<!-- 宠物大图轮播 -->
|
||||||
<Border Grid.Row="1"
|
<Border Grid.Row="1"
|
||||||
Background="#F5F5F5"
|
Background="#F5F5F5"
|
||||||
CornerRadius="25"
|
CornerRadius="4"
|
||||||
BorderBrush="#81C784"
|
BorderBrush="#81C784"
|
||||||
BorderThickness="4"
|
BorderThickness="4"
|
||||||
ClipToBounds="True">
|
ClipToBounds="True">
|
||||||
@@ -385,7 +385,6 @@
|
|||||||
<!-- 宠物大图轮播 -->
|
<!-- 宠物大图轮播 -->
|
||||||
<Border Grid.Row="1"
|
<Border Grid.Row="1"
|
||||||
Background="#F5F5F5"
|
Background="#F5F5F5"
|
||||||
CornerRadius="25"
|
|
||||||
BorderBrush="#FFB74D"
|
BorderBrush="#FFB74D"
|
||||||
BorderThickness="4"
|
BorderThickness="4"
|
||||||
ClipToBounds="True">
|
ClipToBounds="True">
|
||||||
@@ -1248,7 +1247,7 @@
|
|||||||
<Border.Effect>
|
<Border.Effect>
|
||||||
<DropShadowEffect Color="#FF6F00" BlurRadius="10" ShadowDepth="0" Opacity="0.3"/>
|
<DropShadowEffect Color="#FF6F00" BlurRadius="10" ShadowDepth="0" Opacity="0.3"/>
|
||||||
</Border.Effect>
|
</Border.Effect>
|
||||||
<Image Source="/Images/dog.png"
|
<Image Source="/Images/dog2.png"
|
||||||
Stretch="UniformToFill"
|
Stretch="UniformToFill"
|
||||||
Margin="0"/>
|
Margin="0"/>
|
||||||
</Border>
|
</Border>
|
||||||
|
|||||||
Reference in New Issue
Block a user