-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
65 lines (58 loc) · 1.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
<link rel="icon" href="data:image/ico;base64,aWNv">
<title>土味播放器</title>
<style>
.pointer {
cursor: pointer;
}
#song-list {
margin-bottom: 125px;
}
.short-input {
width: 40px;
text-align: center;
}
</style>
</head>
<body>
<a href="https://github.com/CHU295/chu_music" style="display:block;color: transparent;text-align: center;background: red; -webkit-background-clip: text;">项目地址:https://github.com/CHU295/chu_music</a>
<div>
<div style="text-align: center;">
<input id="searchValue" value="周杰伦" type="text" oninput="change(this,'searchValue')"
onkeydown="keyDown(event,this)">
<input id="currentPage" class="short-input" value="1" type="text" oninput="change(this,'currentPage')"
onkeydown="keyDown(event,this)">
<input id="pageSize" class="short-input" value="10" type="text" oninput="change(this,'pageSize')"
onkeydown="keyDown(event,this)">
<span class="pointer" onclick="search_btn()">搜索</span>
</div>
<div id="operation" style="visibility: hidden;">
<span class="pointer" onclick="changePage('reduce')">上一页</span>
<span id="search_type"></span>
<span class="pointer" onclick="changePage('add')">下一页</span>
</div>
<div>
<div id="song-list">
</div>
</div>
<audio-player>
<span id="songName" slot="song-name">未使用</span>
</audio-player>
<div>
<audio autoplay src="" id="audio">
您的浏览器不支持 audio 标签。
</audio>
</div>
</div>
<script src="./index.js"></script>
<script type="module">
import './audioPlayer/index.js'
</script>
</body>
</html>