|
|
@@ -141,11 +141,11 @@ function xq() {
|
|
141
|
141
|
$(Files).each(function(i, n) {
|
|
142
|
142
|
if(n.F_FileType.split("\/")[0] === 'image') {
|
|
143
|
143
|
$('<div class="img-box">' +
|
|
144
|
|
- '<span class="img_mask"><a href="' + n.F_FileUrl + '" download="filename" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
|
|
|
144
|
+ '<span class="img_mask"><a href="' + n.F_FileUrl + '" download="' + n.F_FileName + '" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
|
|
145
|
145
|
'<img layer-src="' + n.F_FileUrl + '" src="' + n.F_FileUrl + '" alt="' + n.F_FileName + '" class="image-item" /><div>').appendTo("#IMG_box");
|
|
146
|
146
|
} else {
|
|
147
|
147
|
$('<div class="img-box">' +
|
|
148
|
|
- '<span class="img_mask"><a href="' + n.F_FileUrl + '" download="filename" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
|
|
|
148
|
+ '<span class="img_mask"><a href="' + n.F_FileUrl + '" download="' + n.F_FileName + '" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
|
|
149
|
149
|
'<span class="">' + n.F_FileName.split(".")[1] + '</span><div>').appendTo("#IMG_box");
|
|
150
|
150
|
}
|
|
151
|
151
|
});
|