Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
396 lines (351 loc) · 12.7 KB
/
Copy pathindex.html
File metadata and controls
396 lines (351 loc) · 12.7 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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IKunCode - 你的 AI 练习生</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&family=JetBrains+Mono&display=swap" rel="stylesheet">
<style>
:root {
--ball-orange: #f97316;
--ball-orange-deep: #c2410c;
--court-wood: #fdf8f3;
--seam-black: #1a1a1a;
--ikun-gray: #e5e7eb;
--status-green: #22c55e;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, sans-serif;
background-color: var(--court-wood);
background-image:
linear-gradient(90deg, rgba(193, 84, 27, 0.03) 1px, transparent 1px),
linear-gradient(rgba(193, 84, 27, 0.03) 1px, transparent 1px);
background-size: 40px 40px;
color: var(--seam-black);
min-height: 100vh;
overflow-x: hidden;
display: flex;
flex-direction: column;
}
.cursor-light {
position: fixed;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
z-index: 0;
transform: translate(-50%, -50%);
}
/* 顶部留白,不再放置 Logo */
header {
padding: 40px 5% 20px;
z-index: 10;
}
.status-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: #fff;
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 700;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
margin-bottom: 32px; /* 增加下方间距,防止重叠 */
border: 1px solid rgba(249, 115, 22, 0.2);
}
.status-dot {
width: 8px;
height: 8px;
background: var(--status-green);
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.5); opacity: 0.5; }
100% { transform: scale(1); opacity: 1; }
}
main {
flex: 1;
display: flex;
align-items: center;
padding: 0 8% 60px;
gap: 60px;
z-index: 5;
}
.hero-section {
flex: 1.2;
}
.tagline {
font-size: 14px;
font-weight: 900;
letter-spacing: 5px;
text-transform: uppercase;
color: var(--ball-orange-deep);
margin-bottom: 20px; /* 增加与主标题的间距 */
display: block;
opacity: 0.8;
}
.main-title {
font-size: clamp(48px, 7.5vw, 88px);
font-weight: 900;
line-height: 1.1; /* 修复文字重叠:增加行高 */
letter-spacing: -3px;
margin-bottom: 35px;
}
.title-gradient {
background: linear-gradient(to bottom, var(--ball-orange) 0%, var(--ball-orange-deep) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero-desc {
font-size: 18px;
color: #555;
max-width: 580px;
line-height: 1.7;
margin-bottom: 45px;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-bottom: 45px;
}
.feature-card {
background: rgba(255, 255, 255, 0.6);
padding: 18px;
border-radius: 10px;
border-left: 5px solid var(--ball-orange);
box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.feature-card h3 {
font-size: 15px;
margin-bottom: 6px;
color: var(--seam-black);
}
.feature-card p {
font-size: 13px;
color: #777;
}
.cta-group {
display: flex;
flex-direction: column;
gap: 25px;
}
.btn-main {
background: var(--seam-black);
color: #fff;
padding: 22px 45px;
border-radius: 14px;
font-size: 19px;
font-weight: 800;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 15px 35px -5px rgba(0,0,0,0.3);
border: none;
cursor: pointer;
}
.btn-main:hover {
transform: translateY(-4px) scale(1.02);
background: var(--ball-orange-deep);
box-shadow: 0 25px 50px -12px rgba(194, 65, 12, 0.4);
}
.domain-box {
background: #fff;
padding: 20px 28px;
border-radius: 14px;
border: 2px solid var(--seam-black);
display: flex;
align-items: center;
justify-content: space-between;
max-width: 500px;
position: relative;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.domain-text {
font-family: 'JetBrains Mono', monospace;
font-weight: 700;
color: #222;
font-size: 16px;
}
.copy-trigger {
color: var(--ball-orange);
font-weight: 900;
font-size: 13px;
cursor: pointer;
padding: 6px 14px;
border: 1px solid var(--ball-orange);
border-radius: 6px;
transition: 0.2s;
background: transparent;
}
.copy-trigger:hover {
background: var(--ball-orange);
color: #fff;
}
.visual-preview {
flex: 0.8;
position: relative;
}
.code-card {
background: #1a1a1a;
border-radius: 24px;
padding: 35px;
box-shadow: 0 50px 100px -20px rgba(0,0,0,0.6);
position: relative;
z-index: 2;
border: 1px solid rgba(255,255,255,0.08);
}
.code-header {
margin-bottom: 25px;
display: flex;
gap: 8px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.code-content {
font-family: 'JetBrains Mono', monospace;
font-size: 14.5px;
line-height: 1.8;
color: #e5e7eb;
}
.highlight { color: var(--ball-orange); }
.spinning-ball {
position: absolute;
right: -40px;
bottom: -40px;
font-size: 90px;
filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
animation: rotate 5s linear infinite;
z-index: 3;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@media (max-width: 1024px) {
main { flex-direction: column; padding: 40px 5% 100px; text-align: center; }
.hero-desc, .domain-box, .feature-grid, .status-badge { margin-left: auto; margin-right: auto; }
.main-title { letter-spacing: -1px; line-height: 1.2; }
.visual-preview { width: 100%; max-width: 550px; margin-top: 50px; }
.spinning-ball { right: 0; bottom: -20px; font-size: 60px; }
}
</style>
</head>
<body>
<div class="cursor-light" id="cursorLight"></div>
<header>
<!-- Logo 已按要求移除 -->
</header>
<main>
<div class="hero-section">
<!-- 状态栏移动到此处,确保不会被挡住 -->
<div class="status-badge">
<div class="status-dot"></div>
练习时长两年半 · 稳定运行中
</div>
<span class="tagline">Sing · Dance · Rap · Basketball</span>
<h1 class="main-title">
代码界的<br>
<span class="title-gradient">全能练习生</span>
</h1>
<p class="hero-desc">
全民制作人请注意,这是一个专为开发者打造的 AI 接口站。无论你是想写代码还是搞创作,这里的响应速度绝对让你直呼“哎哟,不错哦”。
</p>
<div class="feature-grid">
<div class="feature-card">
<h3>只因速度太快</h3>
<p>响应丝滑如运球,拒绝任何卡顿。</p>
</div>
<div class="feature-card">
<h3>优雅而不失风度</h3>
<p>完美支持 坤哥 2.5,代码也能跳起舞。</p>
</div>
<div class="feature-card">
<h3>你是故意找茬吗?</h3>
<p>超高稳定性,每一个请求都精准入筐。</p>
</div>
<div class="feature-card">
<h3>山外青山楼外楼</h3>
<p>这就是全能中转的魅力,你干嘛~</p>
</div>
</div>
<div class="cta-group">
<div class="domain-box">
<div class="domain-text" id="domainText">https://kuncode.120403.xyz/v1</div>
<div class="copy-trigger" onclick="copyDomain()">复制接口</div>
</div>
<div>
<button class="btn-main" onclick="window.location.href='https://wcnmb.fun/keys'">
进入练习室
<span>🏀</span>
</button>
</div>
</div>
</div>
<div class="visual-preview">
<div class="spinning-ball">🏀</div>
<div class="code-card">
<div class="code-header">
<div class="dot" style="background:#ff5f56"></div>
<div class="dot" style="background:#ffbd2e"></div>
<div class="dot" style="background:#27c93f"></div>
</div>
<div class="code-content">
<div><span style="color:#6b7280">// 准备开始你的表演</span></div>
<div>const ikun = new OpenAI({</div>
<div style="padding-left:20px;">
baseURL: <span class="highlight">"https://kuncode.120403.xyz/v1"</span>,
apiKey: <span class="highlight">"sk-practice-2.5-years"</span>
</div>
<div>});</div>
<div style="margin-top:15px;">
await ikun.chat.completions.create({<br>
model: <span style="color:#fbbf24">"坤哥 2.5"</span>,<br>
messages: [{ role: <span style="color:#fbbf24">"user"</span>, content: <span style="color:#fbbf24">"你干嘛~ 帮我写段代码"</span> }]<br>
});
</div>
</div>
</div>
</div>
</main>
<footer style="padding: 40px;"></footer>
<script>
const light = document.getElementById('cursorLight');
document.addEventListener('mousemove', (e) => {
light.style.left = e.clientX + 'px';
light.style.top = e.clientY + 'px';
});
function copyDomain() {
const text = "https://kuncode.120403.xyz/v1";
const el = document.createElement('textarea');
el.value = text;
document.body.appendChild(el);
el.select();
document.execCommand('copy');
document.body.removeChild(el);
const trigger = document.querySelector('.copy-trigger');
const originalText = trigger.innerText;
trigger.innerText = "已复制!";
trigger.style.color = "#22c55e";
trigger.style.borderColor = "#22c55e";
setTimeout(() => {
trigger.innerText = originalText;
trigger.style.color = "var(--ball-orange)";
trigger.style.borderColor = "var(--ball-orange)";
}, 2000);
}
</script>
</body>
</html>