-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
61 lines (52 loc) · 1.85 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="main.css">
</head>
<body>
<input type="file" id="file" accept="audio/mp3,audio/ogg" multiple>
<article id="music-player">
<audio id="player">
</audio>
<section id="music-content">
<div id="album-picture">
<img src="raw/1.jpg" id="picture">
</div>
<span id="add-music" title="添加音乐"><i class="fa fa-upload" aria-hidden="true"></i></span>
<div>
<h3 id="music-title">Welcome to you!</h3>
<p id="music-singer">Have a good time!</p>
</div>
<div id="music-control">
<button id="music-stop">
<i class="fa fa-play" aria-hidden="true" id="control-icon"></i>
</button>
<button id="music-pre" title="上一首">
<i class="fa fa-fast-backward" aria-hidden="true"></i>
</button>
<button id="music-next" title="下一首">
<i class="fa fa-fast-forward" aria-hidden="true"></i>
</button>
<div id="sound-icon">
<i class="fa fa-volume-up" aria-hidden="true" id="volume"></i>
<i class="fa fa-minus-circle" aria-hidden="true" id="volume-down" title="降低"></i>
<progress value="10" max="10" id="music-sound"></progress>
<i class="fa fa-plus-circle" aria-hidden="true" id="volume-up" title="提高"></i>
</div>
</div>
</section>
<aside>
<div><progress value="0" max="100" id="music-progress"></progress></div>
<span id="current-time">0:00</span><span id="duration">/0:00</span>
<img src="raw/loop.png" id="play-style-loop" title="顺序播放" class="">
<img src="raw/random.png" id="play-style-random" title="随机播放" class="hidden">
</aside>
</article>
<article id="music-list">
<ul id="musics"></ul>
</article>
<script src="app.js"></script>
</body>
</html>