diff --git a/js/sakura-app.js b/js/sakura-app.js index 746c5cd..cad784b 100644 --- a/js/sakura-app.js +++ b/js/sakura-app.js @@ -782,16 +782,25 @@ if(mashiro_option.float_player_on) { lrcTag = 2; }); var apSwitchTag = 0; + var aplayerlist=$(".aplayer-list"); + aplayerlist.removeClass( "aplayer-list-hide" ); + aplayerlist.css({maxHeight:'0px'}); $(".aplayer.aplayer-fixed .aplayer-body").addClass("ap-hover"); $(".aplayer-miniswitcher").click(function(){ if (apSwitchTag == 0) { + aplayerlist.removeClass( "aplayer-list-hide" ); + aplayerlist.animate({maxHeight:'250px'}); $(".aplayer.aplayer-fixed .aplayer-body").removeClass( "ap-hover" ); apSwitchTag = 1; } else { + aplayerlist.css({maxHeight:'0px'}); $(".aplayer.aplayer-fixed .aplayer-body").addClass( "ap-hover" ); apSwitchTag =0; } }); + $(".aplayer-icon-loop").click(function(){ + + }); } var b = 'https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r'; 'undefined' != typeof meting_api && (b = meting_api);