-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustom.xaml
188 lines (177 loc) · 8.99 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<local:MyCard Title="开始页"
Margin="0,0,0,0"
CanSwap="false"
IsSwaped="True">
<StackPanel Margin="25,40,23,0"/>
<Grid>
<TextBlock Margin="125,25,100,0"
Text="欢迎使用 Penetrates-Mainpage"
Foreground="{DynamicResource ColorBrush2}"/>
<TextBlock Margin="115,120,10,15"
Foreground="{DynamicResource ColorBrush2}"
Text="{cave}"/>
<!-- 红石灯(亮) -->
<Image Width="65"
Source="pack://application:,,,/images/Blocks/RedstoneLampOn.png"/>
</Grid>
</local:MyCard>
<!--内网穿透-->
<Grid Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Line X1="0"
X2="100"
Stroke="{DynamicResource ColorBrush3}"
StrokeThickness="1.5"
Stretch="Fill"/>
<TextBlock Text="内网穿透"
FontSize="15"
Foreground="{DynamicResource ColorBrush4}"
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
<Line X1="0"
X2="100"
Stroke="{DynamicResource ColorBrush3}"
StrokeThickness="1.5"
Stretch="Fill"
Grid.Column="2"/>
</Grid>
<local:MyCard Title="内网穿透"
Margin="0,0,0,15"
CanSwap="false">
<local:MyButton Margin="0,0,0,25"
Width="250"
Height="35"
Padding="20,0,20,0"
Text="启动 ChmlFrpLauncher"
ToolTip="需先下载,ChmlFrpLauncher是作者开发的项目"
EventType="打开文件"
EventData="ChmlFrpLauncher.exe"/>
<local:MyButton Margin="0,115,0,25"
Width="250"
Height="35"
Padding="20,0,20,0"
Text="下载 ChmlFrpLauncher"
ToolTip="要将文件放在PCL文件中,github可能访问不了"
EventType="打开网页"
EventData="https://github.com/Qianyiaz/ChmlFrpLauncher/releases/latest"/>
<local:MyIconButton Grid.Column="2"
LogoScale="1.2"
Logo="M256.455,8C322.724,8.119,382.892,34.233,427.314,76.685L463.029,40.97C478.149,25.851,504,36.559,504,57.941L504,192C504,205.255,493.255,216,480,216L345.941,216C324.559,216,313.851,190.149,328.97,175.029L370.72,133.279C339.856,104.38 299.919,88.372 257.49,88.006 165.092,87.208 87.207,161.983 88.0059999999999,257.448 88.764,348.009 162.184,424 256,424 297.127,424 335.997,409.322 366.629,382.444 371.372,378.283 378.535,378.536 382.997,382.997L422.659,422.659C427.531,427.531 427.29,435.474 422.177,440.092 378.202,479.813 319.926,504 256,504 119.034,504 8.001,392.967 8,256.002 7.999,119.193 119.646,7.755 256.455,8z"
Height="21"
Margin="0,5,0,0"
ToolTip="点此刷新"
EventType="刷新主页"
VerticalAlignment="Bottom"/>
</local:MyCard>
<!--网页捷径(头一次知道能这么玩)-->
<Grid Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Line X1="0"
X2="100"
Stroke="{DynamicResource ColorBrush3}"
StrokeThickness="1.5"
Stretch="Fill"
Grid.Column="0"/>
<TextBlock Text="网页捷径"
FontSize="15"
Foreground="{DynamicResource ColorBrush4}"
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
<Line X1="0"
X2="100"
Stroke="{DynamicResource ColorBrush3}"
StrokeThickness="1.5"
Stretch="Fill"
Grid.Column="2"/>
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<local:MyTextBox HintText="在此输入网页链接…"
Margin="0,0,0,10"
Name="site"
Height="30"
Grid.Column="0"
ToolTip="在此输入链接,点击右边按钮打开自定义网页。
注意不要按下Enter键,这会直接启动游戏。"/>
<local:MyButton EventType="打开网页"
EventData="{Binding ElementName=site,Path=Text}"
Text="打开网页"
Margin="5,0,0,10"
Height="30"
Grid.Column="1"
ToolTip="点我打开"
Padding="2,0,2,0"
ColorType="Highlight"/>
</Grid>
<local:MyCard Margin="0,0,0,12"
Title="常用 Frp"
CanSwap="True"
IsSwaped="false">
<StackPanel Margin="24,40,24,15">
<local:MyListItem Margin="-2,0,0,0"
Logo="https://chmlfrp.cn/favicon.ico"
Title="ChmlFrp"
Info="免费 好用"
EventType="打开网页"
EventData="https://panel.chmlfrp.cn/"
Type="Clickable"/>
<local:MyListItem Margin="-2,0,0,0"
Logo="https://www.mefrp.com//favicon.ico"
Title="ME Frp"
Info="免费 带宽高"
EventType="打开网页"
EventData="https://www.mefrp.com/"
Type="Clickable"/>
<local:MyListItem Margin="-2,0,0,0"
Logo="https://www.natfrp.com//favicon.ico"
Title="Sakura Frp"
Info="实名认证付费 稳定"
EventType="打开网页"
EventData="https://www.natfrp.com"
Type="Clickable"/>
<local:MyListItem Margin="-2,0,0,0"
Logo="https://jihulab.com/uploads/-/system/group/avatar/45948/QQ%E5%9B%BE%E7%89%8720220622152105.jpg"
Title="Open Frp"
Info="免费 但权限低"
EventType="打开网页"
EventData="https://console.openfrp.net"
Type="Clickable"/>
<local:MyListItem Margin="-2,0,0,0"
Logo="https://dashboard.locyanfrp.cn/favicon.ico"
Title="LoCyanFrp"
Info="实名认证付费"
EventType="打开网页"
EventData="https://dashboard.locyanfrp.cn/"
Type="Clickable"/>
<local:MyHint Margin="0,0,0,10"
IsWarn="False"
Text="如果没有您需要的Frp,可以在Github上提交。"/>
</StackPanel>
</local:MyCard>
<!--关于-->
<Grid>
<local:MyIconTextButton Grid.Column="1"
Logo="M12 30.872h11.462M12 23.915h11.462M12 16.957h4.487m27.013 7.24V9.402L30.646 16.8zm-5.396 1.956v10.43a4 4 0 0 1-4 4H8.5a4 4 0 0 1-4-4V11.417a4 4 0 0 1 4-4h29.653"
Margin="150,0,0,0"
Text="关于作者"
EventType="弹出窗口"
EventData="关于作者|I'm Qyz,it's my mane abbr,此项目已在github开源\n\n声明:此项目大多数的代码是借鉴MFn233的简单主页\n\n©Qyz 2024/8/1"/>
<local:MyIconTextButton Grid.Column="1"
Logo="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"
Text="查看项目"
Margin="0,0,150,0"
EventType="打开网页"
EventData="https://github.com/Qianyiaz/Penetrates-Mainpage"/>
</Grid>