-
Notifications
You must be signed in to change notification settings - Fork 0
/
Custom.xaml
106 lines (102 loc) · 5.84 KB
/
Custom.xaml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<StackPanel.Triggers>
<EventTrigger RoutedEvent="StackPanel.Loaded">
<BeginStoryboard>
<Storyboard x:Name="animation1" RepeatBehavior="Forever">
<ColorAnimation Storyboard.TargetName="NewsHint"
Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
From="#FF000000" To="#FF000000" Duration="0:0:0" />
<ColorAnimation BeginTime="0:0:5" Storyboard.TargetName="NewsHint"
Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
From="#FF000000" To="#00000000" Duration="0:0:1" />
<ColorAnimation BeginTime="0:0:13" Storyboard.TargetName="NewsHint"
Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
From="#00000000" To="#FF000000" Duration="0:0:1" />
<ColorAnimation Storyboard.TargetName="Hint2"
Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
From="#00000000" To="#00000000" Duration="0:0:0" />
<ColorAnimation BeginTime="0:0:6" Storyboard.TargetName="Hint2"
Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
From="#00000000" To="#FF000000" Duration="0:0:1" />
<ColorAnimation BeginTime="0:0:12" Storyboard.TargetName="Hint2"
Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
From="#FF000000" To="#00000000" Duration="0:0:1" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</StackPanel.Triggers>
<Border Margin="0,0,0,10" Padding="2,8" BorderThickness="1"
Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top"
BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
<Grid Margin="10,0,0,0">
<TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center"
Foreground="#FF000000">
📰 hello。
</TextBlock>
<TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center"
Foreground="#00000000">
📰 hello。
</TextBlock>
</Grid>
</Border>
<StackPanel Margin="20,4,20,4">
<Image HorizontalAlignment="Center" Source="https://xiaofeishu-picture.pages.dev/picture/bj.png" />
</StackPanel>
<local:MyCard Title="一些提醒" Margin="0,0,0,15" CanSwap="False" IsSwaped="False">
<StackPanel Margin="25,40,23,15">
<local:MyHint Margin="0,8,0,2" IsWarn="False"
Text="这只是提醒。" />
<local:MyHint Text="最近api.minecraftservices.com(微软账号验证)会被被跳转到到反诈页面。" />
<local:MyHint Text="1.16.5/4 多人游戏功能被禁用。" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left"
Padding="13,0,13,0"
Text="fabric修复模组" EventType="打开网页"
EventData="https://github.com/ChickenPige0n/offline-multiplayer-fabric/releases" />
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left"
Padding="13,0,13,0"
Text="通用修复" EventType="打开网页" EventData="https://www.bilibili.com/read/cv24255902" />
</StackPanel>
</StackPanel>
</local:MyCard>
<local:MyCard Title="工具" CanSwap="True" IsSwaped="True" Margin="0,0,0,15">
<StackPanel Margin="25,40,23,15">
<local:MyHint Margin="0,0,0,7" IsWarn="False"
Text="小工具。" />
<!-- 这是第一行 -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left"
Padding="13,0,13,0" ColorType="Highlight"
Text="打开 seed-map" EventType="打开网页" EventData="https://www.chunkbase.com/apps/seed-map" />
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left"
Padding="13,0,13,0" ColorType="Highlight"
Text="打开littleskin" EventType="打开网页" EventData="https://littleskin.cn/auth/login" />
</StackPanel>
</StackPanel>
</local:MyCard>
<local:MyCard Title="关于" CanSwap="True" IsSwaped="True" Margin="0,0,0,15">
<StackPanel Margin="25,40,23,15">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="这个主页是没用的小废鼠维护+制作的。" />
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left"
Padding="13,0,13,0" ColorType="Highlight"
Text="打开 B 站主页" EventType="打开网页" EventData="https://space.bilibili.com/1783868793" />
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left"
Padding="13,0,13,0"
Text="刷新主页" EventType="刷新主页" EventData="刷新主页" />
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,10,0,0">
<local:MyListItem Margin="-2,0,0,0" Logo="https://xiaofeishu-picture.pages.dev/picture/5.png"
Title="没用的小废鼠的网站" Info="欲买桂花同载酒...只可惜故人,何日再见呢?" EventType="打开网页"
EventData="https://ymh0000123.github.io" Type="Clickable" />
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,10,0,0">
<local:MyListItem Margin="-2,0,0,0" Logo="https://xiaofeishu-picture.pages.dev/picture/5.png"
Title="PCL2主页" Info="Cloudflare Pages镜像" EventType="打开网页"
EventData="https://xiaofeisu-pcl2.pages.dev/" Type="Clickable" />
</StackPanel>
<local:MyHint IsWarn="False" Text="PCL2主页使用Cloudflare Pages和Github Pages强力驱动。" />
</StackPanel>
</local:MyCard>