-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustom.xaml
135 lines (127 loc) · 9.29 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
<local:MyCard Title="BellSoft Liberica" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由 BellSoft 提供。轻量级且高性能,支持广泛的平台和工具链。对 Minecraft 提供快速启动和较低内存占用的优势。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
ToolTip="因数据量稍大,页面前往需要时间,请不要多次点击。"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/liberica.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="Eclipse Temurin" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由 Eclipse 基金会提供。可靠且免费开源,社区支持活跃。对 Minecraft 提供稳定运行和高兼容性的优势。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
ToolTip="因数据量稍大,页面前往需要时间,请不要多次点击。"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/temurin.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="Azul Zulu" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由 Azul 提供。卓越的性能和低延迟,适合高负载场景。对 Minecraft 提供更流畅的游戏体验。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
ToolTip="因数据量稍大,页面前往需要时间,请不要多次点击。"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/zulu.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="Amazon Corretto" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由 Amazon 提供。免费生产就绪 JVM,专注于长时间运行的稳定性。对 Minecraft 提供高可靠性的支持。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
ToolTip="因数据量稍大,页面前往需要时间,请不要多次点击。"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/corretto.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="IBM Semeru (OpenJ9)" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由 IBM 提供。基于 OpenJ9,提供超低内存占用和快速启动性能。对 Minecraft 提供较好的低资源占用体验。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
ToolTip="因数据量稍大,页面前往需要时间,请不要多次点击。"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/semeru.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="Oracle GraalVM" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由 Oracle 提供。高性能多语言运行时,支持复杂的优化和本地镜像生成。对 Minecraft 提供更高帧率和优化潜力。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
ToolTip="因数据量稍大,页面前往需要时间,请不要多次点击。"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/graalvm.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="Alibaba Dragonwell" Margin="0,5">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
Text="由阿里巴巴提供。高性能和可靠性,优化了大规模服务的运行。对 Minecraft 提供稳定和高效的支持。" />
<local:MyButton Margin="0,5,0,6" Width="250" Height="35" Text="下载→" EventType="打开帮助"
EventData="https://pcl2-java-download-page.zkitefly.eu.org/dragonwell.json" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,5" Title="工具">
<StackPanel Margin="24,40,24,15">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<local:MyButton Grid.Column="0" Margin="0,0,10,0" Height="35" Text="打开下载器"
EventType="打开帮助"
EventData="https://vip.123pan.cn/1821946486/PCL2-java_download_page/download.json"
ToolTip="使用 PCL 的高速多线程下载引擎下载任意文件。" />
<local:MyButton Grid.Column="1" Margin="0,0,0,0" Height="35" Text="打开快捷跳转"
EventType="打开帮助"
EventData="https://vip.123pan.cn/1821946486/PCL2-java_download_page/goto.json"
ToolTip="输入主页路径快捷跳转对应主页页面。" />
</Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<local:MyButton Grid.Column="0" Margin="0,10,10,0" Height="35" Text="复制当前路径"
ToolTip="复制当前页面的主页路径。" />
<local:MyButton Grid.Column="1" Margin="0,10,0,0" Height="35" Text="回到开头←"
ToolTip="返回到开头页。" />
</Grid>
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,10,0,14">
<Border BorderBrush="{DynamicResource ColorBrush2}" Margin="-0.6" CornerRadius="5"
BorderThickness="0,0,0,10">
<StackPanel>
<Grid Margin="26,20,20,2">
<StackPanel>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"
Margin="0,0,0,4">
<TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush2}">
<Bold>Java 下载</Bold>
</TextBlock>
</StackPanel>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"
Margin="-8,0,0,10">
<local:MyIconTextButton HorizontalAlignment="Left"
Text="GitHub - zkitefly/PCL2-java_download_page"
ToolTip="前往 GitHub 页面" EventType="打开网页"
EventData="https://github.com/zkitefly/PCL2-java_download_page"
LogoScale="1"
Logo="M512 42.666667A464.64 464.64 0 0 0 42.666667 502.186667 460.373333 460.373333 0 0 0 363.52 938.666667c23.466667 4.266667 32-9.813333 32-22.186667v-78.08c-130.56 27.733333-158.293333-61.44-158.293333-61.44a122.026667 122.026667 0 0 0-52.053334-67.413333c-42.666667-28.16 3.413333-27.733333 3.413334-27.733334a98.56 98.56 0 0 1 71.68 47.36 101.12 101.12 0 0 0 136.533333 37.973334 99.413333 99.413333 0 0 1 29.866667-61.44c-104.106667-11.52-213.333333-50.773333-213.333334-226.986667a177.066667 177.066667 0 0 1 47.36-124.16 161.28 161.28 0 0 1 4.693334-121.173333s39.68-12.373333 128 46.933333a455.68 455.68 0 0 1 234.666666 0c89.6-59.306667 128-46.933333 128-46.933333a161.28 161.28 0 0 1 4.693334 121.173333A177.066667 177.066667 0 0 1 810.666667 477.866667c0 176.64-110.08 215.466667-213.333334 226.986666a106.666667 106.666667 0 0 1 32 85.333334v125.866666c0 14.933333 8.533333 26.88 32 22.186667A460.8 460.8 0 0 0 981.333333 502.186667 464.64 464.64 0 0 0 512 42.666667" />
</StackPanel>
</StackPanel>
<StackPanel HorizontalAlignment="Right">
<local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈问题"
EventType="打开网页"
EventData="https://github.com/zkitefly/PCL2-java_download_page/issues"
LogoScale="1"
Logo="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0z" />
<local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新主页"
EventType="刷新主页"
LogoScale="0.9"
Logo="M960 416V192l-73.056 73.056a447.712 447.712 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.064 448.064 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584C308.32 883.232 142.112 717.024 142.112 512S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416h224z" />
</StackPanel>
</Grid>
</StackPanel>
</Border>
</local:MyCard>