forked from mashirozx/arknights-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
388 lines (364 loc) · 10.8 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Arknights</title>
<meta name="description" content="Arknights">
<meta name="keywords" content="Arknights+UI">
<meta name="description" content="Arknights html5 main page.">
<meta name="author" content="Mashiro, ShallowAi">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<!--[if lt IE 9]>
<script src="//cdn.jsdelivr.net/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dest/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="css/normalize.css?v=1.0">
<link rel="stylesheet" href="css/styles.css?v=1.0">
<link rel="stylesheet" href="css/settings.css">
<style>
/* loader */
.loader-layer {
background: #016d8d url(https://cdn.jsdelivr.net/gh/moezx/[email protected]/img/other/avg_2_1.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999;
}
.loader-layer .tips {
font-family: 'Noto Sans SC', sans-serif;
color: #fff;
font-size: 2vh;
font-weight: 500;
pointer-events: auto;
margin: 10px;
position: fixed;
}
.loader {
width: calc(100% + 100px);
overflow-x: hidden;
overflow-y: hidden;
position: absolute;
left: -50px;
}
.loader .bar {
position: relative;
height: 2px;
width: 500px;
margin: 0 auto;
background: #fff;
margin-top: 150px;
}
.loader .circle {
position: absolute;
top: -30px;
margin-left: -30px;
height: 60px;
width: 60px;
left: 0;
background: #fff;
border-radius: 30%;
-webkit-animation: move 5s infinite;
}
.loader p {
position: absolute;
top: -35px;
right: -85px;
text-transform: uppercase;
color: #016d8d;
font-family: helvetica, sans-serif;
font-weight: bold;
}
@-webkit-keyframes move {
0% {
left: 0;
}
50% {
left: 100%;
-webkit-transform: rotate(450deg);
width: 150px;
height: 150px;
}
75% {
left: 100%;
-webkit-transform: rotate(450deg);
width: 150px;
height: 150px;
}
100% {
right: 100%;
}
}
</style>
</head>
<body>
<!--
-- Author: Mashiro
-- Site: https://2heng.xin
-- License: MIT
-->
<div class="loader-layer" id="loader-layer">
<div class="tips">Tips: 如果加载速度过慢可以使用代理(Powered by GitHub Pages)</div>
<div class="loader" id="loader">
<div class="bar">
<div class="circle"></div>
<p>Loading...</p>
</div>
</div>
</div>
<!-- 界面主框体 -->
<div id="main">
<!-- 头部 不跟随移动部分 -->
<header>
<!-- 功能区 -->
<div class="option" id="option">
<div class="settings" id="opensettings" title="Settings">
</div>
<div class="notice" id="opennotice" title="Notification"></div>
<div class="mail" id="openmail" title="Mailbox"></div>
<div class="sign" id="opensign" title="Sign"></div>
</div>
<!-- 等级 -->
<div class="level-box-container" id="level-box-container">
<div class="level-box" id="level-box-adapter">
<div class="level-logo"></div>
<div class="user-level">
<div class="level-chart">
<div class="chart-bg" id="chart-bg"></div>
<div class="chart-pr" id="chart-pr"></div>
<div class="level-num" id="level-num">66</div>
</div>
</div>
<div class="user-info">
<div class="name">Doctor</div>
<div class="id">ID: 1</div>
</div>
</div>
</div>
</header>
<!-- 设置页面 -->
<div class="settings-page">
<div class="button">
<button id="back" class="back"></button>
<div style="display: inline-block;">
<div class="logo"></div>
<div class="text">设置</div>
</div>
</div>
<!-- 背景音乐播放器 -->
<div id="bgmusic" style="display: none"></div>
<div class="center">
<div class="left">
<ul class="sidebar">
<li>游戏</li>
<li>声音</li>
<li>提醒</li>
</ul>
</div>
<div class="right">
<div>玩家等级:<input id="level" type="range" min="1" max="120"><p id="level-text"></p></div>
<div>玩家名:<input id="username" type="text" maxlength="8"></div>
<div>玩家ID:<input id="uid" type="number" oninput="if(value.length > 10) value=value.slice(0,10)"></div>
<div id="bgchooser">
<ul class="list">
<li>生命流 LifeStream</li>
<li>骑兵与猎人 GraniAndTheTreasureOfKnights</li>
<li>靶向药物 NessarySolutions</li>
<li>Ready? - 火蓝之心 HeartofSurgingFlame</li>
<li>AflameAvenue - 火蓝之心 HeartofSurgingFlame</li>
<li>NotYourBusiness - 火蓝之心 HeartofSurgingFlame</li>
<li>战地秘闻 OperationalIntelligence</li>
<li>喧闹法则 CodeOfBrawl</li>
<li>Speedoflight - 喧闹法则 CodeOfBrawl</li>
<li>局部坏死 PartialNecrosis</li>
<li>烘炉示岁 AncientForge</li>
<li>午间逸话 StoriesOfAfternoon</li>
<li>危机合约 荒芜 ContingencyContract Barrenland</li>
<li>生于黑夜 DarknightsMemoir</li>
<li>苦难摇篮 TheBirthOfTragedy</li>
<li>危机合约 黄铁 ContingencyContract Pyrite</li>
</ul>
<button type="button" value="prev" onclick="prevbgm()">上</button>
<button type="button" value="next" onclick="nextbgm()">下</button>
<ul class="listbg">
<li><img src="img/bg/UI_HOME_FRONT_BKG-BETA.png" height="256" width="256">RhodeIsland Beta</li>
<li><img src="img/bg/UI_HOME_FRONT_BKG.png" height="256" width="256">RhodeIsland</li>
</ul>
</div>
</div>
</div>
<div class="endmask"></div>
</div>
<!-- 跟随移动部分 -->
<div id="view-box" class="view-box">
<div id="mark" class="mark" data-pointer-events="true">
<div id="bg-layer" class="layer" data-depth="0.0">
<img id="bg-img" class="cover" src="img/bg/UI_HOME_FRONT_BKG.png">
</div>
<div id="char-arts-layer" class="layer" data-depth="0.01">
<div class="char perspective box">
<div class="doctor"></div>
<img src="img/char_003_kalts_3.png" alt="Chara">
</div>
</div>
<div id="left-button-layer" class="layer" data-depth="0.1">
<div class="switch">
<div class="button"></div>
</div>
</div>
<div id="left-menu-layer" class="layer" data-depth="0.2">
<div class="left menu box">
<div class="container" id="left-mune-adapter">
<div class="top">
<div class="dialog">
<span>欢迎回家,博士</span>
</div>
</div>
<div class="bottom">
<div class="left">
<div class="activity-img"></div>
</div>
<div class="right">
<div class="pos-1">
<div class="friends">
<div class="icon"></div>
<div class="text">好友</div>
</div>
</div>
<div class="pos-2">
<div class="information">
<div class="icon"></div>
<div class="text">档案</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="right-menu-layer" class="layer" data-depth="0.2">
<div class="right menu box">
<div class="popup" id="right-mune-popup-adapter"></div>
<div class="container" id="right-mune-adapter">
<div class="pos-1">
<div class="top">
<div class="line-left"></div>
<div class="battery" id="battery"></div>
<div class="time" id="time">1970/01/01 12:00</div>
<div class="line-right"></div>
</div>
<div class="bottom">
<div class="bg"></div>
<div class="status">
<div class="item money">
<div class="icon"></div>
<div contenteditable="true" class="amount">0</div>
</div>
<div class="item jasper">
<div class="icon"></div>
<div contenteditable="true" class="amount">0</div>
<div class="more"></div>
</div>
<div class="item stone">
<div class="icon"></div>
<div contenteditable="true" class="amount">0</div>
<div class="more"></div>
</div>
</div>
</div>
</div>
<div class="pos-2">
<div class="intellect">
<div class="icon"></div>
<div class="content">
<div class="figure">
<div contenteditable="true" class="value">0</div>
<div contenteditable="true" class="total">/130</div>
</div>
<div class="battle">
<div class="text">作战</div>
<div class="current">当前</div>
<div contenteditable="true" class="level">全部完成</div>
</div>
</div>
</div>
</div>
<div class="pos-3">
<div class="team">
<div class="icon"></div>
<div class="text">编队</div>
</div>
<div class="member">
<div class="icon"></div>
<div class="text">干员</div>
<div class="desc">角色管理</div>
</div>
<div class="blank"></div>
</div>
<div class="pos-4">
<div class="shop">
<div class="icon"></div>
<div class="text">采购中心</div>
</div>
<div class="gamble">
<div class="top">
<div class="icon"></div>
<div class="text">招募</div>
</div>
<div class="bottom">
<div class="left">
<div class="icon"></div>
<div class="text">公开招募</div>
</div>
<div class="right">
<div class="icon"></div>
<div class="text">干员寻访</div>
</div>
</div>
</div>
</div>
<div class="pos-5">
<div class="task">
<div class="icon"></div>
<div class="text">任务</div>
</div>
<div class="infrastructure">
<div class="icon"></div>
<div class="text">基建</div>
<div class="beta"></div>
</div>
<div class="warehouse">
<div class="icon"></div>
<div class="text">仓库</div>
</div>
</div>
</div>
</div>
</div>
<canvas id="canvas-dust"></canvas>
</div>
</div>
</div>
<!-- 加载 Aplayer 脚本以支持背景音乐 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/APlayer.min.js"></script>
<script src="js/player.js" async="async"></script>
<script>
/* loader */
(function() {
document.querySelector('#loader').setAttribute('style', 'transform: scale(' + Math.max(window.innerHeight, window.innerWidth) / 1366 + ') translateY(-50%); top: 60%; transform-origin: top center;');
})();
</script>
<script src="js/listener.js"></script>
<script src="js/src/arknights.js"></script>
<script src="js/src/jquery.3.3.1.min.js?v=1.0"></script>
<script src="js/src/jquery.pjax.js?v=1.0"></script>
<script src="js/src/GYST.js?v=1.0"></script>
<script src="js/src/parallax.3.1.0.min.js?v=1.0"></script>
<script src="js/scripts.js?v=1.1"></script>
</body>
</html>