|
|
|
@ -218,13 +218,20 @@ function aliShare(share_id, folder_id, share_pwd) { |
|
|
|
|
return "download://" + file_url + ";{Referer@https://www.aliyundrive.com/}"; |
|
|
|
|
} |
|
|
|
|
}, item.category, item.file_id, {sharetoken:sharetoken,share_id:item.share_id}); |
|
|
|
|
d.push(it);//filterFiles
|
|
|
|
|
filterFiles.push(it); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
d.push({ |
|
|
|
|
title: "““””<small><font color=#f20c00>已开启文件过滤,仅显示视频文件</font></small>", |
|
|
|
|
url: "hiker://empty", |
|
|
|
|
col_type: "text_center_1" |
|
|
|
|
url: filterFiles.length==0?"hiker://empty":$("").lazyRule((filterFiles,folder_id) => { |
|
|
|
|
addItemAfter("sharelist_"+folder_id, filterFiles); |
|
|
|
|
updateItem("sharelist_"+folder_id,{title:"““””<small><font color=#f20c00>已显示全部文件</font></small>"}); |
|
|
|
|
return "toast://已加载全部文件"; |
|
|
|
|
}, filterFiles,folder_id), |
|
|
|
|
col_type: "text_center_1", |
|
|
|
|
extra: { |
|
|
|
|
id: "sharelist_"+folder_id |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
toast('列表为空'); |
|
|
|
|