add:新增过滤instrumental音乐
This commit is contained in:
parent
bad29d16f3
commit
8b1a2c86c6
@ -26,10 +26,13 @@
|
||||
<div id="artist">艺术家:</div>
|
||||
<div id="album">专辑:</div>
|
||||
<div id="composer">作曲家</div>
|
||||
<a class="layui-btn layui-btn-normal" id="download">下载</a>
|
||||
<a class="layui-btn layui-btn-normal" id="next">下一首</a>
|
||||
<a class="layui-btn layui-btn-normal" id="play_share">分享</a>
|
||||
<a class="layui-btn layui-btn-normal" id="showLrc">显示歌词</a>
|
||||
<form class="layui-form" lay-filter="calendarForm">
|
||||
<a class="layui-btn layui-btn-normal" id="download">下载</a>
|
||||
<a class="layui-btn layui-btn-normal" id="next">下一首</a>
|
||||
<a class="layui-btn layui-btn-normal" id="play_share">分享</a>
|
||||
<a class="layui-btn layui-btn-normal" id="showLrc">显示歌词</a>
|
||||
<input type="checkbox" name="" title="过滤instrumental" checked id="filter_instrumental">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="audioWrap"></div>
|
||||
@ -131,7 +134,8 @@
|
||||
}
|
||||
listTable.reload({
|
||||
where: {
|
||||
path: path
|
||||
path: path,
|
||||
filter:$('#filter_instrumental')[0].checked
|
||||
}
|
||||
, page: {
|
||||
curr: 1
|
||||
@ -161,7 +165,7 @@
|
||||
type: "POST",
|
||||
url: localhost + "/nas/music/list.do",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify({type: true, path: data.file}),
|
||||
data: JSON.stringify({type: true, path: data.file,filter:$('#filter_instrumental')[0].checked}),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user