-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·196 lines (179 loc) · 10.6 KB
/
index.html
File metadata and controls
executable file
·196 lines (179 loc) · 10.6 KB
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
<!DOCTYPE HTML>
<html>
<!--侵權聯繫:mini87479@gmail.com-->
<head>
<title>網易雲音樂-WebPlayer</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aplayer/1.10.1/APlayer.min.css" integrity="sha512-CIYsJUa3pr1eoXlZFroEI0mq0UIMUqNouNinjpCkSWo3Bx5NRlQ0OuC6DtEB/bDqUWnzXc1gs2X/g52l36N5iw==" crossorigin="anonymous" />
<!--<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://www.cssscript.com/demo/dark-mode-switcher-bootstrap/darktheme.css">
<link rel="icon" type="image/png" href="/favicon.png" />
<style>
.toPlay:hover {
cursor: pointer;
}
.artist {
font-size: small;
color: rgb(162, 162, 162);
}
.loading {
position: absolute;
width: 100%;
height: 100%;
z-index: 10;
background-color: rgba(255,255,255,0.95);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0;
z-index: -1;
}
.loading .spinner-grow{
width: 3vw;
height: 3vw;
}
.loading span{
font-size: 3vw;
color: #000;
}
</style>
</head>
<body data-theme="dark">
<nav class="navbar navbar-expand-lg navbar-light bg-secondary text-light">
<a class="navbar-brand text-warning" href="#">網易雲音樂-WebPlayer</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#" id="getAllList" style="color: #FFF;">取得所有播放清單 <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link text-light" href="#" id="toLogin">登入網易雲音樂帳號</a>
</li>
<!-- <li class="nav-item dropdown">-->
<!-- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">-->
<!-- Dropdown-->
<!--</a>-->
<!-- <div class="dropdown-menu" aria-labelledby="navbarDropdown">-->
<!-- <a class="dropdown-item" href="#">Action</a>-->
<!-- <a class="dropdown-item" href="#">Another action</a>-->
<!-- <div class="dropdown-divider"></div>-->
<!-- <a class="dropdown-item" href="#">Something else here</a>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li class="nav-item">-->
<!-- <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>-->
<!-- </li>-->
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="搜索歌曲、藝人名稱" aria-label="Search" id="what">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit" id="send">搜尋</button>
</form>
</div>
</nav>
<div class="loading">
<div class="spinner-grow text-primary" role="status">
<span class="sr-only">Loading...</span>
</div>
<span >載入中......</span>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-12 col-md-8">
<span style="font-size: 3rem;">網易雲音樂-WebPlayer</span>
<span style="font-size: 1rem;">PowerBy<a href="mailto:mini87479@gmail.com">TreexHD</a></span>
<div class="form-group">
<!-- <label for="what" style="color: #FFF; font-weight: bolder; font-size: 1.5rem;">輸入關鍵詞</label>
<input type="text" class="form-control" id="what" aria-describedby="emailHelp" placeholder="輸入關鍵詞" onkeypress="return runScript(event)" style="color: #FFF;">
<small id="emailHelp" class="form-text text-muted" style="color: #FFF !important; font-weight: bolder; font-size: 1rem;">輸入歌手或歌名</small> -->
<div class="d-flex justify-content-between">
<!-- <button type="submit" class="btn btn-primary" id="send">提交</button> -->
<!-- <button type="button" class="btn btn-warning" id="getAllList">取得全部播放清單</button> -->
<!-- <button type="button" class="btn btn-success" id="toLogin">登入網易音樂</button> -->
</div>
<div class="d-flex justify-content-between">
<button type="button" class="btn btn-info" id="reGen">重新載入音樂</button>
<button type="button" class="btn btn-secondary" id="clearPlay">重置播放清單</button>
<button type="button" class="btn btn-danger" id="resetAll">重置全部</button>
</div>
</div>
<ul class="list-group" id="list">
</ul>
<div class="row" id="allalbum">
<!-- <div class="col-6 col-md-3">
<div class="card" style="border:none;">
<img src="..." class="card-img-top">
<div class="card-body d-flex flex-column justify-content-center">
<h5 class="card-title">奥華子 热门50单曲</h5>
<p class="card-text">喜欢歌单的可以点个关注哟</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div> -->
</div>
</div>
<div class="col-12 col-md-4">
<div class="player" id="player"></div>
<div class="player" id="app"></div>
</div>
</div>
</div>
<div class="player" id="player"></div>
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">登入網易雲音樂</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<!-- <div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div> -->
<button type="button" class="btn btn-primary login">Submit</button>
</form>
<hr>
<div class="form-group">
<label for="uid_url">輸入用戶分享鍊結</label>
<input type="text" class="form-control" id="uid_url" placeholder="text">
</div>
<button class="btn btn-success" onclick="getUserID2()">提交</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<!-- <button type="button" class="btn btn-primary">Save changes</button> -->
</div>
</div>
</div>
</div>
<div class="playlist">
<div class="container-fluid">
<div class="row" id="allalbum">
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/cplayer/3.2.1/cplayer.js" integrity="sha512-Kg7ETiX92b28TKiAMAP05CVUAokmc5LmTcQ+m6c/ZK6NiYixnc4eH25JcDJv9i7i4kbHpMz5zZiSQ5fyOqog4Q==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/aplayer/1.10.1/APlayer.min.js" integrity="sha512-RWosNnDNw8FxHibJqdFRySIswOUgYhFxnmYO3fp+BgCU7gfo4z0oS7mYFBvaa8qu+axY39BmQOrhW3Tp70XbaQ==" crossorigin="anonymous"></script>
<script src="js.js"></script>
</body>
</html>