调整播放控件逻辑

This commit is contained in:
底层用户 2022-07-09 10:13:12 +08:00
parent 7803016119
commit 0af8f0ec2e

View File

@ -99,11 +99,13 @@ $.ajax({
$('#last').on('click', function () { $('#last').on('click', function () {
ap.skipBack(); ap.skipBack();
ap.play();
$("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text());
}); });
$('#next').on('click', function () { $('#next').on('click', function () {
ap.skipForward(); ap.skipForward();
ap.play();
$("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text()); $("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text());
}); });