-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWindow1.xaml
More file actions
79 lines (78 loc) · 6.18 KB
/
Window1.xaml
File metadata and controls
79 lines (78 loc) · 6.18 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Class_Hot_Search"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
Title="班级热搜排行榜" Height="473" Width="847" Icon="/gas-burner-custom.png" Background="{DynamicResource MaterialDesign.Brush.Primary.Background}" MinHeight="390" MinWidth="760" WindowStartupLocation="CenterScreen">
<Grid>
<materialDesign:ColorZone x:Name="colorZone" Padding="16"
materialDesign:ElevationAssist.Elevation="Dp4"
DockPanel.Dock="Top"
Mode="PrimaryMid" Background="#FFFF6565" Height="57"
CornerRadius="0" RenderTransformOrigin="0.5,0.5" Foreground="White">
<materialDesign:ColorZone.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</materialDesign:ColorZone.RenderTransform>
<DockPanel VerticalAlignment="Center" Margin="5,-5,2,-5">
<ProgressBar x:Name="Chat_round_progress" DockPanel.Dock="Right"
IsIndeterminate="True"
Style="{StaticResource MaterialDesignCircularProgressBar}"
Value="0" Foreground="White" Width="22" Height="21" Margin="0,0,2,2" Visibility="Hidden" />
<TextBlock x:Name="SubTitle"
HorizontalAlignment="Left"
VerticalAlignment="Center"
AutomationProperties.Name="帕帕 AI"
FontSize="21"
FontFamily="HarmonyOS Sans SC Medium" RenderTransformOrigin="0.5,0.5" Foreground="{DynamicResource MaterialDesign.Brush.Primary.Background}" >
<TextBlock.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</TextBlock.RenderTransform><Run Language="zh-cn" Text="关于"/></TextBlock>
</DockPanel>
</materialDesign:ColorZone>
<Image x:Name="image" Margin="16,72,0,0" Source="/gas-burner-custom.png" Stretch="Fill" HorizontalAlignment="Left" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" Width="73" Height="72.76">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<TextBlock x:Name="textBlock" TextWrapping="Wrap" Margin="93,75,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontFamily="HarmonyOS Sans SC Black" FontSize="32" Foreground="#FFF41E1E" Text="Class Hot Search"/>
<TextBlock TextWrapping="Wrap" Margin="92,114,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontFamily="HarmonyOS Sans SC Black" FontSize="22" Foreground="#FFFF6565" Width="543"><Run Text="适用于班级大屏的"/><Run Language="zh-cn" Text="事件热度排行榜工具。"/></TextBlock>
<materialDesign:Card UniformCornerRadius="10" Margin="18,160,18,18">
<materialDesign:Card.Effect>
<DropShadowEffect BlurRadius="22" Color="#FFC9C9C9" ShadowDepth="0"/>
</materialDesign:Card.Effect>
<Grid Background="{DynamicResource MaterialDesign.Brush.Primary.Background}">
<TextBox x:Name="ProductionInfoText" Margin="15,10,15,0" TextWrapping="NoWrap" Text="版本:v1.1.0 debug 2502。基于 Material Design 3 设计, .NET 9 平台构建。" VerticalAlignment="Top" IsReadOnly="True" FontFamily="HarmonyOS Sans SC Medium" FontSize="16" Foreground="{DynamicResource MaterialDesign.Brush.Primary.Foreground}"/>
<TextBox Margin="15,55,15,0" TextWrapping="NoWrap" Text="Class_Hot_Search 在Github上的免费开源项目,遵循 MIT 开源协议。" VerticalAlignment="Top" IsReadOnly="True" FontFamily="HarmonyOS Sans SC Medium" FontSize="16" Foreground="{DynamicResource MaterialDesign.Brush.Primary.Foreground}"/>
<Button x:Name="github" Content="打开" HorizontalAlignment="Right" Height="27" Margin="0,51,15,0" VerticalAlignment="Top" Background="#FFF65E5E" BorderBrush="{x:Null}" Width="65" FontSize="12" Foreground="{DynamicResource MaterialDesign.Brush.Primary.Background}"/>
<Image x:Name="sr" Margin="0,0,7,12" Source="/sr.png" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="63.76" Height="63.76" Cursor="Hand"/>
<TextBlock x:Name="sr2" HorizontalAlignment="Right" Height="68" Margin="0,0,70,3" TextWrapping="Wrap" VerticalAlignment="Bottom" Width="323" Foreground="{DynamicResource MaterialDesign.Brush.Company}" FontFamily="HarmonyOS Sans SC Black" FontSize="22" TextAlignment="Right" Cursor="Hand">
<TextBlock.Background>
<SolidColorBrush Color="White" Opacity="0.015"/>
</TextBlock.Background><Run Text="思锐工作室"/><Run Text="(SR 思锐)"/><LineBreak/><Run Text="SR Studio/SRInternet Studio"/><Run Language="zh-cn" Text=" "/></TextBlock>
<Image x:Name="tiktok" Margin="0,0,401,15" Source="/assets/Tiktok_round.png" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="43.76" Height="43.76" Cursor="Hand">
</Image>
<Image x:Name="bilibili" Margin="0,0,459,13" Source="/assets/bilibili_round.png" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="43.76" Height="43.76" Cursor="Hand">
</Image>
</Grid>
</materialDesign:Card>
</Grid>
</Window>