@@ -14,3 +14,71 @@ title: API Testing
1414{{< blocks/link-down color="white" >}}
1515<p class =" lead mt-5 " >让我们一起提高代码质量吧!</p >
1616{{< /blocks/cover >}}
17+
18+ {{< blocks/section >}}
19+
20+ <div id =" download-links " style =" text-align : center ;" >
21+ <div class =" mb-4 " >
22+ 下载桌面应用
23+ </div >
24+
25+ <a class =" btn btn-primary me-2 mb-2 " id =" download-windows " href =" https://github.com/linuxsuren/api-testing/releases/latest/download/atest-desktop.msi " style =" display :none ;" >
26+ Windows
27+ </a >
28+ <a class =" btn btn-secondary me-2 mb-2 " id =" download-windows-proxy " href =" https://files.m.daocloud.io/github.com/LinuxSuRen/api-testing/releases/download/v0.0.19/atest-desktop.msi " style =" display :none ;" >
29+ DaoCloud 镜像站
30+ </a >
31+ <a class =" btn btn-primary me-2 mb-2 " id =" download-macos " href =" https://github.com/linuxsuren/api-testing/releases/latest/download/atest-desktop-0.0.19-x64.dmg " style =" display :none ;" >
32+ macOS
33+ </a >
34+ <a class =" btn btn-secondary me-2 mb-2 " id =" download-macos-proxy " href =" https://files.m.daocloud.io/github.com/LinuxSuRen/api-testing/releases/download/v0.0.19/atest-desktop-0.0.19-x64.dmg " style =" display :none ;" >
35+ DaoCloud 镜像站
36+ </a >
37+ <a class =" btn btn-primary me-2 mb-2 " id =" download-linux " href =" https://github.com/linuxsuren/api-testing/releases/latest/download/atest-desktop_0.0.19_amd64.deb " style =" display :none ;" >
38+ Linux
39+ </a >
40+ <a class =" btn btn-secondary me-2 mb-2 " id =" download-linux-proxy " href =" https://files.m.daocloud.io/github.com/LinuxSuRen/api-testing/releases/download/v0.0.19/atest-desktop_0.0.19_amd64.deb " style =" display :none ;" >
41+ DaoCloud 镜像站
42+ </a >
43+ </div >
44+ <noscript >
45+ <p >请根据您的操作系统选择以下链接手动下载:</p >
46+ <ul >
47+ <li>
48+ <a href="https://github.com/linuxsuren/api-testing/releases/latest/download/atest-desktop.msi">Windows</a> |
49+ <a href="https://files.m.daocloud.io/github.com/LinuxSuRen/api-testing/releases/download/v0.0.19/atest-desktop.msi">代理下载</a>
50+ </li>
51+ <li>
52+ <a href="https://github.com/linuxsuren/api-testing/releases/latest/download/atest-desktop-0.0.19-x64.dmg">macOS</a> |
53+ <a href="https://files.m.daocloud.io/github.com/LinuxSuRen/api-testing/releases/download/v0.0.19/atest-desktop-0.0.19-x64.dmg">代理下载</a>
54+ </li>
55+ <li>
56+ <a href="https://github.com/linuxsuren/api-testing/releases/latest/download/atest-desktop_0.0.19_amd64.deb">Linux</a> |
57+ <a href="https://files.m.daocloud.io/github.com/LinuxSuRen/api-testing/releases/download/v0.0.19/atest-desktop_0.0.19_amd64.deb">代理下载</a>
58+ </li>
59+ </ul >
60+ </noscript >
61+ <script >
62+ (function () {
63+ var platform = window .navigator .platform .toLowerCase ();
64+ if (platform .indexOf (' win' ) >= 0 ) {
65+ document .getElementById (' download-windows' ).style .display = ' inline-block' ;
66+ document .getElementById (' download-windows-proxy' ).style .display = ' inline-block' ;
67+ } else if (platform .indexOf (' mac' ) >= 0 ) {
68+ document .getElementById (' download-macos' ).style .display = ' inline-block' ;
69+ document .getElementById (' download-macos-proxy' ).style .display = ' inline-block' ;
70+ } else if (platform .indexOf (' linux' ) >= 0 ) {
71+ document .getElementById (' download-linux' ).style .display = ' inline-block' ;
72+ document .getElementById (' download-linux-proxy' ).style .display = ' inline-block' ;
73+ } else {
74+ // 默认全部显示
75+ document .getElementById (' download-windows' ).style .display = ' inline-block' ;
76+ document .getElementById (' download-windows-proxy' ).style .display = ' inline-block' ;
77+ document .getElementById (' download-macos' ).style .display = ' inline-block' ;
78+ document .getElementById (' download-macos-proxy' ).style .display = ' inline-block' ;
79+ document .getElementById (' download-linux' ).style .display = ' inline-block' ;
80+ document .getElementById (' download-linux-proxy' ).style .display = ' inline-block' ;
81+ }
82+ })();
83+ </script >
84+ {{< /blocks/section >}}
0 commit comments