|
@@ -698,7 +698,7 @@ function mainSearch(url, nameEn, slideDiv, typetype, needCustomFlag) {
|
|
|
str += '</td>';
|
|
str += '</td>';
|
|
|
} else if (nameEn === 'music') {
|
|
} else if (nameEn === 'music') {
|
|
|
str += '<td style="padding: 0px 10px 0px 10px;">';
|
|
str += '<td style="padding: 0px 10px 0px 10px;">';
|
|
|
- str += '<button class="apis-quiet-div-music-play" operationType="play" symbolName="' + dataDetail.lowQualityUrl + '" symbolName2="' + dataDetail.highQualityUrl + '">播放</button>';
|
|
|
|
|
|
|
+ str += '<button class="apis-quiet-div-music-play" operationType="play" songSinger="' + dataDetail.singer + '" songTitle="' + dataDetail.title + '" symbolName="' + dataDetail.lowQualityUrl + '" symbolName2="' + dataDetail.highQualityUrl + '">播放</button>';
|
|
|
// str += '<button class="apis-quiet-div-music-pause" operationType="pause" symbolName="' + dataDetail.lowQualityUrl + '">暂停</button>';
|
|
// str += '<button class="apis-quiet-div-music-pause" operationType="pause" symbolName="' + dataDetail.lowQualityUrl + '">暂停</button>';
|
|
|
str += '<button class="apis-quiet-div-music-detail" operationType="detail" symbolName="' + dataDetail.id + '">详情</button>';
|
|
str += '<button class="apis-quiet-div-music-detail" operationType="detail" symbolName="' + dataDetail.id + '">详情</button>';
|
|
|
str += '<button class="apis-quiet-div-music-update" operationType="update" symbolName="' + dataDetail.id + '">编辑</button>';
|
|
str += '<button class="apis-quiet-div-music-update" operationType="update" symbolName="' + dataDetail.id + '">编辑</button>';
|
|
@@ -1160,6 +1160,12 @@ function initContentEvent(nameEn) {
|
|
|
symbol = symbol2;
|
|
symbol = symbol2;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //主页title展示歌名
|
|
|
|
|
+ var songTitle = $(this).attr("songTitle");
|
|
|
|
|
+ var songSinger = $(this).attr("songSinger");
|
|
|
|
|
+ var title = 'Coin主页|' + songTitle + '|' + songSinger;
|
|
|
|
|
+ $("title").html(title);
|
|
|
|
|
+
|
|
|
var currentSrc = $("#audio > source").attr("src");
|
|
var currentSrc = $("#audio > source").attr("src");
|
|
|
|
|
|
|
|
// 歌词展示
|
|
// 歌词展示
|