-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
207 lines (176 loc) · 7.36 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>NeuMusic</title>
<link rel="icon" href="icon.ico" type="image/x-icon" />
<!-- Style Sheets -->
<link rel="stylesheet" type="text/css" href="source/css/main.css">
<link rel="stylesheet" type="text/css" href="source/css/login.css">
<link rel="stylesheet" type="text/css" href="source/css/nav.css">
<link rel="stylesheet" type="text/css" href="source/css/list.css">
<link rel="stylesheet" type="text/css" href="source/css/me.css">
<link rel="stylesheet" type="text/css" href="source/css/bar.css">
<link rel="stylesheet" type="text/css" href="source/css/search.css">
<link rel="stylesheet" type="text/css" href="source/css/playing.css">
<!-- Fonts -->
<link href='https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.1/css/all.css' rel='stylesheet' type='text/css'>
<!-- Md5 -->
<script src="https://cdn.bootcdn.net/ajax/libs/blueimp-md5/2.18.0/js/md5.js"></script>
<!-- JQuery -->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
</head>
<body>
<!-- 播放歌曲 -->
<audio class="playing" id="audio"></audio>
<!-- 顶部导航栏 -->
<nav class='nav'>
<div class='nav_btns'>
<div class='btn_arrow'><i class='fas fa-arrow-left' onclick="javascript:window.history.back()"></i></div>
<div class='btn_arrow'><i class='fas fa-arrow-right' onclick="javascript:window.history.back()"></i></div>
</div>
<div class='nav_links'>
<a>首页</a> <a>发现</a> <a onclick="showPlaying()">正在播放</a>
</div>
<div class="nav_box">
<div class="search_box">
<a class="search_btn"><i class="fas fa-search"></i></a>
<input class="search_input" placeholder="搜索">
</div>
<div class="nav_avatar" id="avatar">
<i class="fas fa-user-alt" id="avatar_i"></i>
</div>
<i class="fas fa-sign-out-alt" id="sign_out" onclick="logout()"></i>
</div>
</nav>
<!-- 主体 -->
<div class="contianer">
<!-- 登录box -->
<div class="login">
<div class="login_box">
<i class="fas fa-envelope"></i>
<i class="fas fa-mobile-alt"></i>
<input id="account_input" placeholder="请输入网易云音乐账号">
</div>
<div class="login_box">
<i class="fas fa-lock"></i>
<input id="pwd_input" type="password" placeholder="请输入网易云音乐密码">
</div>
<div class="login_qrcode_box">
<img id="pic" class="login_qrcode"></img>
</div>
<div class="login_btn_box">
<div class="login_btn" id="login"><i class="fas fa-check"></i></div>
<div class="login_btn" id="login_with_qrcode"><i class="fas fa-qrcode" id="login_btn_icon"></i></i></div>
</div>
<div class="change_login"><a id="loginMethodChanger">使用手机号登录</a></div>
</div>
<!-- 主页 -->
<div class="me">
<div class="me_info">
<div class="me_avatar" id="avatar"></div>
<div class="me_greeting">
<span class="good">Good Morning</span></br>
<div class="user_id_div">
<span class="user_id">USERNAME</span></br></br>
</div>
<span class="hitokoto"></span>
</div>
</div>
<div class="my_play_lists">
<div class="creat_lists">
<div class="list_cover" id="creat_list_cover"></div>
<span class="list_name">我创建的歌单</span>
</div>
<div class="fav_lists">
<div class="list_cover" id="fav_list_cover"></div>
<span class="list_name">我收藏的歌单</span>
</div>
</div>
</div>
<div class="playing_div">
<div class="playing_info_div">
<div class="playing_cover" id="pic"></div>
<div class="playing_info">
<div class="playing_SA">
<span class="playing_singer"></span>-<span class="playing_album"></span></br>
</div>
<span class="playing_name"></span>
<div class="playing_album_div">
<div class="playing_album_cover" href="album"></div>
<span class="playing_album" id="under_cover"></span>
</div>
</div>
</div>
<div class="playing_bar">
<div class="playing_progress">
<div class="playing_totalProgress">
<div class="playing_currentProgress"></div>
</div>
</div>
<div class="bar_process" id="playing_bar_process">
<div class="bar_loop_svg" onclick="changeLoopMethod()">
<embed src="source/img/loop.svg" type="image/svg+xml"
pluginspage="http://www.adobe.com/svg/viewer/install/" />
</div>
<i class="fas fa-backward" id="playing_bar_backward" onclick="changeSong(0)"></i>
<i class="fas fa-play" id="playing_bar_play" onclick="startToPlay()"></i>
<i class="fas fa-pause" id="playing_bar_pause" style="display:none" onclick="pausePlaying()"></i>
<i class="fas fa-forward" id="playing_bar_forward" onclick="changeSong(1)"></i>
<i class="fas fa-heart" id="playing_bar_heart"></i>
</div>
</div>
</div>
<!-- 搜索结果列表 -->
<div class="list" id="search_list">
<div class="ser_pro_bar">
<span class="fas fa-arrow-left" id="arrow" href="backward"></span>
<span class="change_search_method" id="csm1" href="1"
style="box-shadow: inset 0.2vh 0.2vh 1vh #cdcdcd, inset -0.3vh -0.3vh 0.6vh #ffffff"
onclick="changeSearchMethod(1)">单曲</span>
<span class="change_search_method" id="csm1000" href="1000" onclick="changeSearchMethod(1000)">歌单</span>
<span class="change_search_method" id="csm10" href="10" onclick="changeSearchMethod(10)">专辑</span>
<span class="fas fa-arrow-right" id="arrow" href="forward"></span>
</div>
</div>
<!-- 列表 -->
<div class="list" id="item_list">
<div class="list_info">播放列表</div>
</div>
</div>
<!-- 底部栏 -->
<div class="bar">
<div class="totalProgress">
<div class="currentProgress"></div>
</div>
<div class="bar_cover_img"></div>
<div class="bar_song_info" onclick="showPlaying()">
<span class="item_name" id="bar_song_name" onclick="showPlaying()"></span>
<br>
<div class="song_SA">
<a class="singer" id="bar_singer"></a> - <a class="album" id="bar_album"></a>
</div>
</div>
<div class="bar_process">
<div class="bar_loop_svg" onclick="changeLoopMethod()">
<embed src="source/img/loop.svg" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" />
</div>
<i class="fas fa-backward" id="bar_backward" onclick="changeSong(0)"></i>
<i class="fas fa-play" id="bar_play" onclick="startToPlay()"></i>
<i class="fas fa-pause" id="bar_pause" style="display:none" onclick="pausePlaying()"></i>
<i class="fas fa-forward" id="bar_forward" onclick="changeSong(1)"></i>
<i class="fas fa-heart" id="bar_heart"></i>
</div>
</div>
</body>
<!-- Scripts -->
<script src="source/js/tooles.js"></script>
<script src="source/js/play.js"></script>
<script src="source/js/login.js"></script>
<script src="source/js/bar.js"></script>
<script src="source/js/me.js"></script>
<script src="source/js/list.js"></script>
<script src="source/js/main.js"></script>
<script src="source/js/search.js"></script>
<script src="source/js/playing.js"></script>
</html>