-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFloatingStatusWindow.xaml
More file actions
39 lines (36 loc) · 1.63 KB
/
Copy pathFloatingStatusWindow.xaml
File metadata and controls
39 lines (36 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Window x:Class="WechatBot.FloatingStatusWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowStyle="None"
AllowsTransparency="True"
Background="Transparent"
ShowInTaskbar="False"
Topmost="True"
Width="300" Height="88"
ResizeMode="NoResize">
<Border Background="#F018181B" CornerRadius="14" Padding="18,14"
BorderBrush="#33FFFFFF" BorderThickness="1">
<Border.Effect>
<DropShadowEffect BlurRadius="16" Opacity="0.25" ShadowDepth="2"/>
</Border.Effect>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- 状态图标 -->
<Border Grid.Column="0" Background="#2634D399" CornerRadius="12" Width="40" Height="40"
Margin="0,0,14,0" VerticalAlignment="Center">
<TextBlock x:Name="StatusIcon" Text="⏸" FontSize="20"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<!-- 状态信息 -->
<StackPanel Grid.Column="1" VerticalAlignment="Center">
<TextBlock x:Name="StatusText" Text="等待中" FontSize="14" FontWeight="SemiBold"
Foreground="#FFF5F5F5"/>
<TextBlock x:Name="StepInfo" Text="" FontSize="12" Foreground="#FFA1A1AA"
Margin="0,4,0,0"/>
</StackPanel>
</Grid>
</Border>
</Window>