commit
b6d4a0613f
|
@ -661,15 +661,15 @@ body {
|
||||||
height: 25px;
|
height: 25px;
|
||||||
/* margin-top: -10px; */
|
/* margin-top: -10px; */
|
||||||
}
|
}
|
||||||
.btn-order-1{
|
.btn-order-single {
|
||||||
background-position: 0 -231px;
|
background-position: 0 -231px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
}
|
}
|
||||||
.btn-order-2{
|
.btn-order-list {
|
||||||
background-position: 0 -204px;
|
background-position: 0 -204px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
}
|
}
|
||||||
.btn-order-3{
|
.btn-order-random {
|
||||||
background-position: 0 -73px;
|
background-position: 0 -73px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
14
js/player.js
14
js/player.js
|
@ -71,7 +71,19 @@ function orderChange() {
|
||||||
}
|
}
|
||||||
var orderDiv = $(".btn-order")
|
var orderDiv = $(".btn-order")
|
||||||
orderDiv.removeClass()
|
orderDiv.removeClass()
|
||||||
orderDiv.addClass("player-btn btn-order btn-order-" + rem.order)
|
|
||||||
|
if ( 1 === rem.order ) {
|
||||||
|
orderDiv.addClass("player-btn btn-order btn-order-single")
|
||||||
|
orderDiv.attr("title","单曲循环")
|
||||||
|
}
|
||||||
|
else if ( 2 === rem.order ) {
|
||||||
|
orderDiv.addClass("player-btn btn-order btn-order-list")
|
||||||
|
orderDiv.attr("title","列表循环")
|
||||||
|
}
|
||||||
|
else if ( 3 === rem.order ) {
|
||||||
|
orderDiv.addClass("player-btn btn-order btn-order-random")
|
||||||
|
orderDiv.attr("title","随机播放")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 播放
|
// 播放
|
||||||
function audioPlay() {
|
function audioPlay() {
|
||||||
|
|
Loading…
Reference in New Issue