-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
254 lines (247 loc) · 9.77 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
<!doctype html>
<html lang="zh-cn">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />-->
<meta name="keywords" content="vtb-music, vtb, vtb音乐网站">
<meta name="description" content="一个收录VTuber翻唱、歌回的音乐网站">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="main.css">
<script type="text/javascript">
function check_mobile(){
if('ontouchstart' in window) return true;
else return false
}
if(check_mobile()){
let tmp = './index-mobile.html';
if(window.location.href.indexOf('?') != -1)
tmp += window.location.href.substring(window.location.href.indexOf('?'));
window.location.href = tmp;
}
</script>
<title>Vtb-Music</title>
</head>
<body>
<audio id="player" preload="auto">
<source type="audio/mpeg">
抱歉,请升级您的浏览器
</audio>
<div id="info" class="info">
<span id="info-text">正在加载</span>
</div>
<div id="nav" class="nav-player">
<div style="width: 30%; height: 100%; display: inline-block;text-align: center;">
<div class="nav-btns">
<a class="nav-btn nav-btn-play-random" id="btn-nav-random"></a>
<a class="nav-btn nav-btn-pre" id="btn-nav-pre"></a>
<a class="nav-btn nav-btn-play" id="btn-nav-play"></a>
<a class="nav-btn nav-btn-nxt" id="btn-nav-nxt"></a>
<a class="nav-btn nav-btn-play-repeat" id="btn-nav-repeat"></a>
</div>
</div>
<div style="width: 40%; height: 100%; display: inline-block; text-align: center">
<div class="nav-music-card">
<div class="nav-music-head">
<div class="nav-music-card-img" id="nav-music-card-img"></div>
</div>
<div class="nav-music-card-body" id="nav-music-card-body">
<div id="nav-text" class="nav-text">
<div id="scoller-body">
<div id="nav-music-card-scoller" class="nav-music-card-scoller">
<div class="nav-music-card-title" id="nav-music-card-title">Vtb-Music</div>
</div>
</div>
<div class="nav-music-card-subtitle" id="nav-music-card-subtitle">...</div>
</div>
<div class="nav-play-bar-bg" id="nav-play-bar-bg"></div>
<div class="nav-play-bar" id="bar-nav-play"></div>
<span class="nav-play-time" id="nav-play-time">...</span>
</div>
</div>
</div>
<div class="nav-volume-control" style="width: 12rem;height: 100%;display: inline-block;vertical-align:middle">
<div class="nav-vol-control-icon"></div>
<div class="nav-vol-control-body">
<div class="nav-vol-control-bg" id="nav-vol-control-bg"></div>
<div class="nav-vol-control-now" id="nav-vol-control-now"></div>
</div>
</div>
<div style="height: 100%;display: inline-block;text-align: right;float: right; margin-right: 1rem">
<div class="nav-btns">
<a class="nav-btn nav-btn-list btn-scale" id="btn-nav-list"></a>
</div>
</div>
</div>
<div class="playlist" id="playlist" data-ui-on="false">
<div class="playlist-title">
<span>播放列表</span>
<span class="playlist-clear" id="btn-playlist-clear">清空</span>
</div>
<div class="playlist-list" id="playlist-list">
</div>
</div>
<div id="app-index" style="display: none;">
<div class="block" id="app-gallery" style="margin-top: 5rem;">
<div>
<div class="headline">浏览</div>
<div class="left-link" id="index-btn-show-all-songs">所有歌曲</div>
</div>
<div class="hr"></div>
<div class="music-cards-list" id="index-music-cards-list">
</div>
</div>
<div class="block" id="app-figures">
<div>
<div class="headline">人物</div>
<div class="left-link" id="index-btn-show-all-figures">所有人物</div>
</div>
<div class="hr"></div>
<div class="figures-list" id="index-figures-list">
</div>
</div>
<div class="block" id="app-alums">
<div class="headline">歌单</div>
<div class="hr"></div>
<div class="album-cards-list" id="index-alums-list">
</div>
</div>
</div>
<div id="app-bigplayer" class="app-bigplayer" style="display: none;">
<div class="bigplayer-bg" style="background: url(./source/img/%E5%A4%8F%E8%89%B2%E7%A5%AD.jpg);">
</div>
<div class="bigplayer-lyric">
<div style="position: relative;height: 100%;width: 100%">
<div class="bigplayer-bar">
<span class="bigplayer-btns">
<a href="javascript:void(0);" id="bigplayer-btn-share">分享</a>
<a href="" id="bigplayer-btn-download">下载</a>
</span>
</div>
<div class="bigplayer-lyric-p" id="bigplayer-lyric-p">
</div>
</div>
</div>
</div>
<div id="app-vocal" style="display: none;">
<div class="vocal-body block">
<div class="all-song-list-btn-back" btn-role="back">
<div class="btn-back"></div>
</div>
<div class="all-song-list-btn-back" btn-role="back-home">
<div class="btn-back-home"></div>
</div>
<div>
<div class="vocal-img" style="background: url(./source/img/figure/夏色祭.png)" id="vocal-img"></div>
<div class="vocal-info">
<div class="vocal-info-text">
<div class="vocal-name" id="vocal-name">夏色祭</div>
<div class="vocal-name-jp" id="vocal-name-jp">夏色 まつり</div>
<div class="vocal-links" id="vocal-links">
</div>
<div class="vocal-btn" id="vocal-btn-playlist-add-all" onclick="ui.song_list_add_all_songs('#app-vocal')">全部添加到列表</div>
<div class="vocal-btn" id="vocal-btn-play-all" onclick="ui.song_list_play_all_songs('#app-vocal')">播放全部</div>
</div>
<div class="song-list" id="vocal-song-list">
</div>
</div>
</div>
</div>
</div>
<div id="app-album" style="display: none;">
<div class="vocal-body block">
<div class="all-song-list-btn-back" btn-role="back">
<div class="btn-back"></div>
</div>
<div class="all-song-list-btn-back" btn-role="back-home">
<div class="btn-back-home"></div>
</div>
<div>
<div class="vocal-img" style="background: url(./source/img/figure/夏色祭.png)" id="album-img"></div>
<div class="vocal-info">
<div class="vocal-info-text">
<div class="vocal-name" id="album-name">夏色祭</div>
<div class="vocal-name-jp" id="album-name-jp">夏色 まつり</div>
<div class="vocal-btn" id="album-btn-playlist-add-all" onclick="ui.song_list_add_all_songs('#app-album')">全部添加到列表</div>
<div class="vocal-btn" id="album-btn-play-all" onclick="ui.song_list_play_all_songs('#app-album')">播放全部</div>
</div>
<div class="song-list" id="album-song-list">
</div>
</div>
</div>
</div>
</div>
<div id="app-all-songs" style="display: none">
<div class="all-songs-body block">
<div style="padding-bottom: 2rem;">
<div>
<div class="all-song-list-btn-back" btn-role="back">
<div class="btn-back"></div>
</div>
<div class="all-song-list-btn-back" btn-role="back-home">
<div class="btn-back-home"></div>
</div>
<div class="all-song-list-title">所有歌曲</div>
</div>
<div style="margin-top: 1rem;">
<input id="search-input" type="text" class="input" placeholder="搜索 (歌名/歌手)" />
<div class="vocal-btn" id="album-btn-playlist-add-all" onclick="ui.song_list_add_all_songs('#all-songs-music-cards-list')">全部添加到列表</div>
<div class="vocal-btn" id="album-btn-play-all" onclick="ui.song_list_play_all_songs('#all-songs-music-cards-list')">播放全部</div>
</div>
</div>
<div class="song-list" id="all-songs-music-cards-list">
</div>
</div>
</div>
<div id="app-all-figures" style="display: none">
<div class="all-songs-body block">
<div style="margin-bottom: 1rem;">
<div class="all-song-list-btn-back" btn-role="back">
<div class="btn-back"></div>
</div>
<div class="all-song-list-btn-back" btn-role="back-home">
<div class="btn-back-home"></div>
</div>
<div class="all-song-list-title">所有人物</div>
</div>
<div id="all-figures-body">
</div>
</div>
</div>
<footer id="footer" class="footer">
<div>
<div>
</div>
</div>
<div class="footer-block">
<div style="padding-top: 1rem;">Vtb-Music</div>
<div style="font-size: 0.7rem;">目前收录<span id="footer-song-cnt"></span>首歌曲,<span id="footer-figure-cnt"></span>个vtuber</div>
<div style="font-size: 0.7rem; margin-top: 0.3rem; font-weight: bold;">本站所有资源均来自网络,如有侵权请联系我们,我们将及时删除</div>
<hr>
<div class="footer-text-block">
<span>项目部署于<a href="https://gitee.com/santiego/vtb-music" target="_blank">Gitee</a> 欢迎参与开发 </span>
<span style="float: right">
<a href="https://gitee.com/santiego/vtb-music/wikis/%E5%A6%82%E4%BD%95%E4%B8%8A%E4%BC%A0%E6%AD%8C%E6%9B%B2" target="_blank">上传歌曲</a>
<span class="divider"></span>
<a href="https://gitee.com/santiego/vtb-music/tree/master#vtb-music" target="_blank">关于本站</a>
</span>
</div>
</div>
</footer>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script src="data.js?ver=20050401"></script>
<script src="app.js?ver=20050401"></script>
<script src="ui.js?ver=20050401"></script>
<!-- Data -->
<script src="./template.js"></script>
<script src="./source/data/figures.js"></script>
<script src="./source/data/albums.js"></script>
<!-- Plug -->
<script src="./plug/js-cookie.js"></script>
<script src="./plug/clipboard.min.js"></script>
</body>
</html>