|
@@ -62,7 +62,7 @@ function initWaterfall(imgTitle) {
|
|
|
image: {
|
|
image: {
|
|
|
verticalFit: true,
|
|
verticalFit: true,
|
|
|
titleSrc: function (item) {
|
|
titleSrc: function (item) {
|
|
|
- return imgTitle + "" + item.src.substring(item.src.lastIndexOf("/") + 1);
|
|
|
|
|
|
|
+ return item.src.substring(item.src.lastIndexOf("/") + 1);
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
gallery: {
|
|
gallery: {
|
|
@@ -154,12 +154,12 @@ function initDetail() {
|
|
|
if (data.genres == undefined || data.genres === '') {
|
|
if (data.genres == undefined || data.genres === '') {
|
|
|
$("#genres").html('--');
|
|
$("#genres").html('--');
|
|
|
} else {
|
|
} else {
|
|
|
- $("#genres").html(data.genres.replaceAll(",", " | "));
|
|
|
|
|
|
|
+ $("#genres").html(data.genres.replaceAll(",", " "));
|
|
|
}
|
|
}
|
|
|
if (data.cast == undefined || data.cast === '') {
|
|
if (data.cast == undefined || data.cast === '') {
|
|
|
$("#cast").html('--');
|
|
$("#cast").html('--');
|
|
|
} else {
|
|
} else {
|
|
|
- $("#cast").html(data.cast.replaceAll(",", " | "));
|
|
|
|
|
|
|
+ $("#cast").html(data.cast.replaceAll(",", " "));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$("#commentfirstspan").html(data.commentFirst);
|
|
$("#commentfirstspan").html(data.commentFirst);
|
|
@@ -194,6 +194,8 @@ function initDetail() {
|
|
|
initWaterfall(imgTitle);
|
|
initWaterfall(imgTitle);
|
|
|
|
|
|
|
|
console.log(data);
|
|
console.log(data);
|
|
|
|
|
+ $("#cover").css("display", "none");
|
|
|
|
|
+ show();
|
|
|
} else {
|
|
} else {
|
|
|
alert(data.message);
|
|
alert(data.message);
|
|
|
}
|
|
}
|
|
@@ -203,8 +205,8 @@ function initDetail() {
|
|
|
$("#cover").css("display", "block");
|
|
$("#cover").css("display", "block");
|
|
|
},
|
|
},
|
|
|
complete: function () {
|
|
complete: function () {
|
|
|
- $("#cover").css("display", "none");
|
|
|
|
|
- show();
|
|
|
|
|
|
|
+ // $("#cover").css("display", "none");
|
|
|
|
|
+ // show();
|
|
|
},
|
|
},
|
|
|
error: function (data) {
|
|
error: function (data) {
|
|
|
//请求出错处理
|
|
//请求出错处理
|