Skip to content

Commit

Permalink
add pages
Browse files Browse the repository at this point in the history
  • Loading branch information
suxun1202 committed Aug 22, 2017
0 parents commit 7fe3b0d
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
!/node_modules/dist/jquery.min.js
Empty file added index.html
Empty file.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "netease-music-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"jquery": "^3.2.1"
}
}
Empty file added playlist.html
Empty file.
37 changes: 37 additions & 0 deletions song.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::after,*::before{
box-sizing: border-box;
}
.page{
display: flex;
flex-direction: column;
height: 100vh;
background: transparent url(http://p3.music.126.net/f46xGM5jH_O1q1XXYn_W5Q==/18362943696258937.jpg) no-repeat center;
background-size: cover;
}
.disc-container{
position: relative;
}
.disc-container .pointer{
width: 24vw;
position: absolute;
left: 50%;
}

.disc-container .ring{
width: 72vw;
}
.disc-container .light{
width: 72vw;
}
.song-description{

}

.page > .links{

}
43 changes: 43 additions & 0 deletions song.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!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">
<title>PLAY</title>
<link rel="stylesheet" type="" href="./song.css">
</head>

<body>
<div class="page">
<div class="disc-container">
<img class="pointer" src="http://s3.music.126.net/m/s/img/needle-ip6.png?be4ebbeb6befadfcae75ce174e7db862" alt="">
<div class="disc">
<img src="http://s3.music.126.net/m/s/img/disc-ip6.png?69796123ad7cfe95781ea38aac8f2d48" alt="" class="ring">
<img src="http://s3.music.126.net/m/s/img/disc_light-ip6.png?996fc8a2bc62e1ab3f51f135fc459577" alt="" class="light">
<img src="http://p1.music.126.net/QbHndX394pqFX0eopuQ5gA==/18505880209094414.jpg?imageView&thumbnail=360y360&quality=75&tostatic=0"
alt="">
</div>
</div>
<div class="song-description">
<h1>标题</h1>
<p>歌词1</p>
<p>歌词2</p>
<p>歌词3</p>
<p>歌词4</p>
<p>歌词5</p>
<p>歌词6</p>
<p>歌词7</p>
<p>歌词8</p>
<p>歌词9</p>
<p>歌词10</p>
</div>
<div class="links">
<a href="#">打开</a>
<a href="#">下载</a>
</div>
</div>
</body>

</html>

0 comments on commit 7fe3b0d

Please sign in to comment.