-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
224 lines (207 loc) · 7.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
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head>
<link rel="stylesheet" href="./bootstrap-3.3.5-dist/css/bootstrap.min.css">
<script src="./jquery.min.js"></script>
<script src="./bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
<script src="jplayer/jquery.jplayer.min.js"></script>
<link rel="stylesheet" href="./fm.css">
<style type="text/css">
#list-container .row{
margin:0px 0px;
padding: 20px 0px;
border-width:0px 0px 1px 0px;
border-color: rgba(198,198,198,0.4);
border-style: solid;
}
#list-container .list-group-item{
background-color: inherit;
padding: 0px 0px;
margin: 0px 20px;
border-width: 0px;
}
#list-container .playlist-item:hover{
background-color: rgb(233, 230, 220);
cursor: pointer;
}
#list-container .list-group{
margin: 10px 10px;
}
.playlist-published,.playlist-duration{
font-size:12px;
margin: 0px;
text-align:right;
}
.playlist-label-published,.playlist-label-duration{
font-size:6px;
margin: 0px;
text-align:right;
}
#list-container .playlist-button,.playlist-title{
margin:5px 0px 0px 0px;
}
#list-container .playcard .row{
padding:0px;
}
.playcard-right{
padding:0px 30px;
margin:30px 0px;
border-width:0px 0px 0px 1px;
border-style:solid;
border-color:inherit;
}
.magnetic:hover {
transition: all 0.7s;
-webkit-transform: rotate(-0.4rad);
-ms-transform: rotate(-0.4rad);
transform: rotate(-0.4rad);
}
</style>
</head>
<body >
<div id='main-container' style="">
<div id="list-container">
<div class="list-group">
<li class="list-group-item playlist-item"><div class="row">
<div class="col-xs-1"><p class="playlist-button">play</p> </div>
<div class="col-xs-7"><p class="playlist-title">【音乐专题】听民谣是一种心情</p></div>
<div class="col-xs-2"><p class="playlist-published">2015/11/19</p><p class="playlist-label-published">published</p></div>
<div class="col-xs-2"><p class="playlist-duration">35'29"</p><p class="playlist-label-duration">duration</p></div>
</div></li>
<li class="list-group-item playlist-item" id="item-1"><div class="row">
<div class="col-xs-1"><p class="playlist-button">play</p> </div>
<div class="col-xs-7"><p class="playlist-title">【故事专题】女生容易被什么感动</p></div>
<div class="col-xs-2"><p class="playlist-published">2015/11/19</p><p class="playlist-label-published">published</p></div>
<div class="col-xs-2"><p class="playlist-duration">35'29"</p><p class="playlist-label-duration">duration</p></div>
</div></li>
<li class="list-group-item playcard" ><div class="row">
<div class="col-xs-4 " >
<img src="disc.png" style="width:200px; margin-left:25px;margin-top:49px"></img>
<img src="magnetic.png" class="magnetic"style="width:266px;margin-left:101px;margin-top:-88px"></img>
</div>
<div class="col-xs-8 playcard-right" style="">
<div style="margin-left:20px;margin-top:40px"><p>【故事专题】我想陪着你,不管从前还是以后</p></div>
<div style="position:relative;padding:40px 0px 0px 20px">
<div class="progress" style="height:2px;margin:0px ">
<div class="progress-bar progress-bar-success progress-bar-striped " role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%;margin:0px;padding:0px">
<span class="sr-only">40% Complete (success)</span>
</div>
</div>
</div>
<div class="time-remain" style="text-align:right;font-size:8px">-12'34"</div>
<div style="text-align:right;margin-top:60px;font-size:30px">
<p>
<span class="glyphicon glyphicon-fast-backward" aria-hidden="true"></span>
<span style="padding:0px 20px;"></span>
<span class="glyphicon glyphicon-pause" aria-hidden="true"></span>
<span style="padding:0px 20px;"></span>
<span class="glyphicon glyphicon-fast-forward" aria-hidden="true"></span>
</p>
</div>
</div>
</div>
</li>
</div>
</div>
<div class="frontpage-container profile-container">
<div class="frontpage profile">
<div id="frontpage-label-container">
<h1 >FM915987 在爱的路上千万里</h1>
<h4>愿我的音乐和故事可以为你的寂静夜晚带来一点温暖。</h4>
<p>新浪微博:喜欢狐狸的松鼠</p>
<p>微信:1823708607</p>
<button type="button" class="btn btn-primary btn-lg" aria-label="Left Align" id="spread">立即收听</button>
</div>
</div>
<div class="profile-detail" style="display:none;margin:0px 20px">
<p>FM915987 在爱的路上千万里</p>
<p style="font-size:14px">愿我的音乐和故事可以为你的寂静夜晚带来一点温暖。</p>
<p style="font-size:10px"> 新浪微博:喜欢狐狸的松鼠</p>
<p style="font-size:10px"> 微信:1823708607</p>
</div>
</div>
</div>
<div id="jPlayer"></div>
<script src='./fm.js'></script>
<script>
function addItemToCard(){
$('#front-page-container').append(
'<p style="margin:0px"><img style="margin-top:0px;width:'+$('#ront-page-container').css('background-width')+'px" src="K45A69Y0D0YA.png"></img></p>').append(
'<div style="margin-top:45px;text-align:left;display:none" id="visiting-card"></div>');
$('#visiting-card').append('.');
}
$(document).ready(function(){
$('#spread').on('click',function(){
$(window).off('resize');
var w=$(window).width();
w=Math.max(w,1320);
w=w-1280;
$('#main-container').css('min-width','1320px');
$('.frontpage-container').animate({'width':'320px','height':'600px','margin-top':'18px','margin-left':w*0.56+960+'px','border-radius':'8px'},'slow','swing',function(){
$('#front-page-container').animate({'background-size':'240px 240px','background-position':'30px 45px'},'slow');
$('.frontpage').css({'padding':'0px','width':'100%','height':'100%'}).animate(
{'width':'240px','height':'240px','margin':'40px'},'slows','swing',function(){
$('.frontpage').css({'background-size':'240px 240px','background-position':'0px 0px','background-image':'url(17105288983053444_320x320.png)'});
$('.profile-detail').fadeIn('slow',function(){
$('.frontpage-container').css('margin-left',w*0.12+'px');
$('#list-container').fadeIn('slow');
$(window).on('resize',function(){
var w=$(window).width();
w=Math.max(w,1320);
w=w-1280;
$('#list-container').css('margin-left',w*0.44+'px');
$('.frontpage-container').css('margin-left',w*0.12+'px');
console.log(w);
}).resize();
});
});
//$('#main-bar').css({'background-image':'none','background-color':'rgb(249, 248, 242)','box-shadow': 'rgba(198, 198, 198, 0.4) 2px 2px 2px 2px','padding':'35px 20px'});
//'background-image':'url(17105288983053444_320x320.png)','background-size':'auto','background-repeat':'no-repeat','background-position':'0px 0px',
});
$('#frontpage-label-container').remove();
//$('.frontpage').removeAttr("style").removeClass("");
console.log('finish');
});
}).ready(function(){
$('ul').on('click',function(event){
if($(event.target).is('.play-button')){
console.log('play');
}
});
}).ready(function(){
$(window).on('resize',reszBkg);
}).ready(reszBkg).ready(function(){
//$('#spread').click();
});
</script>
<script>
function insertList(obj){
var l=$('.table');
for(var x in obj.list){
l.append('<tr> <td>play-button</td> <td>'+obj.list[x]+'</td><td>2015/11/18</td></tr>');
}
}
</script>
<script>
//insertList({'list':['aaxxxxbknihbiuhkuhiuhbkjbkuhbkugkxxxxxa','bbb']});
</script>
<script>
$(document).ready(function(){
console.log(123);
$('#jPlayer').jPlayer({ready:function(){
console.log(123);
$(this).jPlayer("setMedia",{
mp3: "audio/151129.mp3"
});
//$(this).jPlayer("play",0);
}
});
});
</script>
<script>
$(document).ready(function(){
});
</script>
</body>
</html>