Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
294 lines (252 loc) · 12.4 KB
/
Copy pathindex.html
File metadata and controls
294 lines (252 loc) · 12.4 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
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>iOS-AD Repo源 | 越狱资源一站式中心</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="提供最全面的iOS越狱资源,包括Zebra/Sileo/Saily软件源、性能测试工具和越狱教程">
<meta name="keywords" content="iOS越狱,Cydia源,Zebra源,Sileo源,Saily源,越狱工具,插件下载">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<button class="theme-toggle" id="themeToggle" aria-label="切换主题">
<i class="fas fa-moon"></i>
</button>
<div class="container">
<header>
<div class="logo animate__animated animate__bounceIn">
<i class="fas fa-mobile-alt"></i>
</div>
<h1 class="animate__animated animate__fadeIn">iOS-AD Repo源</h1>
<h2 class="animate__animated animate__fadeIn animate-delay-1">
<i class="fas fa-star"></i> 越狱资源一站式中心
</h2>
<p class="animate__animated animate__fadeIn">我们会将群友、网络作者及其他人分享的插件收录到源中;其中一部分插件由源主自行制作。同时,我们承诺不对任何第三方插件进行篡改。</p>
</header>
<div class="nav-links animate__animated animate__fadeIn">
<a href="index.html" class="nav-link">
<i class="fas fa-home"></i> 首页
</a>
<a href="resources.html" class="nav-link">
<i class="fas fa-box-open"></i> 资源中心
</a>
<a href="performance.html" class="nav-link">
<i class="fas fa-tachometer-alt"></i> 性能测试
</a>
<a href="cloud.html" class="nav-link">
<i class="fas fa-cloud"></i> 网盘资源
</a>
<a href="tutorials.html" class="nav-link">
<i class="fas fa-book"></i> 教程指南
</a>
</div>
<div class="divider"></div>
<section>
<h2 class="animate__animated animate__fadeIn animate-delay-1">
<i class="fas fa-download"></i> 软件源地址
</h2>
<div class="repo-container">
<div class="repo-url animate__animated animate__fadeIn animate-delay-2" id="repoUrl">
https://ios-gm.github.io/zqzb/
<span class="copy-hint">点击复制</span>
</div>
</div>
<h3 class="animate__animated animate__fadeIn animate-delay-1">
<i class="fas fa-bolt"></i> 一键添加源
</h3>
<div class="btn-group">
<a href="zbra://sources/add/https://ios-gm.github.io/zqzb/"
class="btn zebra-btn animate__animated animate__fadeInUp animate-delay-2">
<i class="fas fa-download"></i> Zebra商店
</a>
<a href="saily://source/add/https://ios-gm.github.io/zqzb/"
class="btn saily-btn animate__animated animate__fadeInUp animate-delay-3">
<i class="fas fa-download"></i> Saily商店
</a>
<a href="sileo://source/https://ios-gm.github.io/zqzb/"
class="btn sileo-btn animate__animated animate__fadeInUp animate-delay-4">
<i class="fas fa-download"></i> Sileo商店
</a>
</div>
</section>
<div class="divider"></div>
<section>
<h2 class="animate__animated animate__fadeIn animate-delay-1">
<i class="fas fa-tools"></i> 实用工具
</h2>
<div class="btn-group">
<a href="performance.html" class="btn test-btn animate__animated animate__fadeInUp animate-delay-2">
<i class="fas fa-chart-line"></i> 3D性能测试
</a>
<a href="resources.html" class="btn resource-btn animate__animated animate__fadeInUp animate-delay-3">
<i class="fas fa-boxes"></i> 资源中心
</a>
<a href="cloud.html" class="btn cloud-btn animate__animated animate__fadeInUp animate-delay-4">
<i class="fas fa-cloud-download-alt"></i> 网盘资源
</a>
</div>
</section>
<div class="divider"></div>
<section>
<h2 class="animate__animated animate__fadeIn animate-delay-1">
<i class="fas fa-cloud"></i> 123云盘资源
</h2>
<a href="https://www.123865.com/s/sg3zjv-5Dbcv"
class="btn cloud-btn animate__animated animate__fadeInUp animate-delay-2"
target="_blank">
<i class="fas fa-external-link-alt"></i> 访问123云盘
</a>
</section>
<div class="divider"></div>
<section>
<h2 class="animate__animated animate__fadeIn animate-delay-1">
<i class="fas fa-headset"></i> 联系与支持
</h2>
<div class="contact-info animate__animated animate__fadeIn animate-delay-2">
<span class="qq-number">
<i class="fas fa-user"></i> QQ: 3897069329
</span>
<a href="https://qm.qq.com/q/uvx4QijcEo"
class="btn qq-btn animate__animated animate__fadeInUp animate-delay-3"
target="_blank">
<i class="fab fa-qq"></i> 加入QQ交流群
</a>
</div>
</section>
<footer class="animate__animated animate__fadeIn animate-delay-3">
<p>© 2025 iOS-AD Repo 版权所有</p>
<p><a href="https://github.com/ios-gm">由AD独立开发并且制作</a></p>
<p>最后更新: <span id="lastUpdate">2025年8月</span></p>
</footer>
</div>
<script>
// 暗黑模式切换
const themeToggle = document.getElementById('themeToggle');
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)');
// 初始化主题
function initTheme() {
const savedTheme = localStorage.getItem('theme');
const systemDark = prefersDark.matches;
if (savedTheme === 'dark' || (savedTheme === null && systemDark)) {
document.documentElement.setAttribute('data-theme', 'dark');
themeToggle.innerHTML = '<i class="fas fa-sun"></i>';
} else {
document.documentElement.setAttribute('data-theme', 'light');
themeToggle.innerHTML = '<i class="fas fa-moon"></i>';
}
}
// 切换主题
function toggleTheme() {
const currentTheme = document.documentElement.getAttribute('data-theme');
const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
document.documentElement.setAttribute('data-theme', newTheme);
localStorage.setItem('theme', newTheme);
themeToggle.innerHTML = newTheme === 'dark' ? '<i class="fas fa-sun"></i>' : '<i class="fas fa-moon"></i>';
themeToggle.style.transform = 'rotate(360deg)';
setTimeout(() => {
themeToggle.style.transform = '';
}, 500);
}
// 监听系统主题变化
prefersDark.addListener(e => {
if (localStorage.getItem('theme') === null) {
document.documentElement.setAttribute('data-theme', e.matches ? 'dark' : 'light');
themeToggle.innerHTML = e.matches ? '<i class="fas fa-sun"></i>' : '<i class="fas fa-moon"></i>';
}
});
themeToggle.addEventListener('click', toggleTheme);
// 复制源地址功能
const repoUrl = document.getElementById('repoUrl');
repoUrl.addEventListener('click', async function() {
const text = this.textContent.replace('点击复制', '').trim();
try {
await navigator.clipboard.writeText(text);
// 创建并显示"已复制"提示
const copiedText = document.createElement('span');
copiedText.className = 'copied-text';
copiedText.textContent = '✓ 已复制';
this.appendChild(copiedText);
// 触发动画
this.style.animation = 'none';
void this.offsetWidth; // 触发重绘
this.style.animation = 'pulse 0.5s';
// 3秒后移除提示
setTimeout(() => {
copiedText.style.opacity = '0';
setTimeout(() => copiedText.remove(), 300);
}, 2000);
} catch (err) {
console.error('复制失败:', err);
alert('复制失败,请手动选择并复制文本');
}
});
// 商店应用跳转检测
document.addEventListener('DOMContentLoaded', function() {
const storeButtons = [
{ selector: '.zebra-btn', name: 'Zebra' },
{ selector: '.saily-btn', name: 'Saily' },
{ selector: '.sileo-btn', name: 'Sileo' }
];
storeButtons.forEach(btn => {
const button = document.querySelector(btn.selector);
if (!button) return;
button.addEventListener('click', function(e) {
let clicked = false;
// 检测是否在iOS设备上
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) ||
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
if (!isIOS) {
e.preventDefault();
alert(`请在iOS设备上使用${btn.name}商店访问`);
return;
}
// 设置超时检测
const timeout = setTimeout(function() {
if (!clicked) {
alert(`如果${btn.name}商店没有自动打开,请手动添加以下源地址:\n\nhttps://ios-gm.github.io/zqzb/`);
}
}, 800);
window.addEventListener('blur', function onBlur() {
clicked = true;
clearTimeout(timeout);
window.removeEventListener('blur', onBlur);
});
});
});
// 按钮点击动画
document.querySelectorAll('.btn').forEach(btn => {
btn.addEventListener('mousedown', function() {
this.style.transform = 'scale(0.95)';
});
btn.addEventListener('mouseup', function() {
this.style.transform = '';
});
btn.addEventListener('mouseleave', function() {
this.style.transform = '';
});
});
});
// 设置最后更新时间
document.getElementById('lastUpdate').textContent = new Date().toLocaleDateString('zh-CN', {
year: 'numeric',
month: 'long',
day: 'numeric'
});
// 页面加载动画
window.addEventListener('load', function() {
document.body.style.opacity = 1;
// 添加一些装饰性动画
setTimeout(() => {
const logo = document.querySelector('.logo');
if (logo) {
logo.style.animation = 'bounce 2s infinite';
}
}, 1000);
});
// 初始化主题
initTheme();
</script>
</body>
</html>