|
|
@@ -47,7 +47,7 @@ $(function () {
|
|
|
" <a class=\"myui-vodlist__thumb lazyload\" title=\"\" style=\"background-image: url("qibing/" + videoInfo.imgUrl + "");\">" +
|
|
|
" <span class=\"playvideo play hidden-xs\" videoUrl='" + videoInfo.videoUrl + "'></span>" +
|
|
|
" <span class=\"pic-tag pic-tag-top\">" +
|
|
|
- " <span class=\"tag\" style=\"background-color: #FB7299;\">" + videoInfo.identificationCode + "</span>" +
|
|
|
+ " <span class=\"tag identificationCode\" style=\"background-color: #FB7299;\">" + videoInfo.identificationCode + "</span>" +
|
|
|
" <span class=\"tag\" style=\"background-color: #00C0FF;\">" + videoInfo.issueDate + "</span>" +
|
|
|
" </span>" +
|
|
|
" <span class=\"pic-text text-right\">" + videoInfo.score + "</span>" +
|
|
|
@@ -90,7 +90,7 @@ $(function () {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- $(".playvideo").click(function () {
|
|
|
+ $(".playvideo").dblclick(function () {
|
|
|
if ($("#playvideo").css("display") === 'none') {
|
|
|
$("#playvideo").css("display", "block");
|
|
|
$("#playvideo").find("video").attr("src", "qibing/" + $(this).attr("videoUrl"));
|
|
|
@@ -100,7 +100,7 @@ $(function () {
|
|
|
$("#playvideo").find("video").attr("src", "");
|
|
|
}
|
|
|
});
|
|
|
- $(".bigpreview").click(function () {
|
|
|
+ $(".bigpreview").dblclick(function () {
|
|
|
if ($("#bigpreview").css("display") === 'none') {
|
|
|
$("#bigpreview").css("display", "block");
|
|
|
$("#bigpreview").find("img").attr("src", "qibing/" + $(this).attr("imgUrl"));
|
|
|
@@ -109,6 +109,9 @@ $(function () {
|
|
|
$("#bigpreview").find("img").attr("src", "");
|
|
|
}
|
|
|
});
|
|
|
+ $(".identificationCode").dblclick(function () {
|
|
|
+ window.open("https://www.javbus.com/" + $(this).text(), "_blank");
|
|
|
+ });
|
|
|
}
|
|
|
} else {
|
|
|
alert(data.message);
|
|
|
@@ -151,7 +154,7 @@ $(function () {
|
|
|
$(".dropdown-hover").mouseout(function () {
|
|
|
$(".dropdown-box").attr("style", "display: none;");
|
|
|
});
|
|
|
- $(".clearAll").click(function (){
|
|
|
+ $(".clearAll").click(function () {
|
|
|
$("#playvideo").find("video").attr("src", "");
|
|
|
$("#bigpreview").find("img").attr("src", "");
|
|
|
$("#playvideo").css("display", "none");
|
|
|
@@ -199,7 +202,7 @@ function search(pageNo) {
|
|
|
" <a class=\"myui-vodlist__thumb lazyload\" title=\"\" style=\"background-image: url("qibing/" + videoInfo.imgUrl + "");\">" +
|
|
|
" <span class=\"playvideo play hidden-xs\" videoUrl='" + videoInfo.videoUrl + "'></span>" +
|
|
|
" <span class=\"pic-tag pic-tag-top\">" +
|
|
|
- " <span class=\"tag\" style=\"background-color: #FB7299;\">" + videoInfo.identificationCode + "</span>" +
|
|
|
+ " <span class=\"tag identificationCode\" style=\"background-color: #FB7299;\">" + videoInfo.identificationCode + "</span>" +
|
|
|
" <span class=\"tag\" style=\"background-color: #00C0FF;\">" + date + "</span>" +
|
|
|
" </span>" +
|
|
|
" <span class=\"pic-text text-right\">" + videoInfo.score + "</span>" +
|
|
|
@@ -230,16 +233,17 @@ function search(pageNo) {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- $(".playvideo").click(function () {
|
|
|
+ $(".playvideo").dblclick(function () {
|
|
|
if ($("#playvideo").css("display") === 'none') {
|
|
|
$("#playvideo").css("display", "block");
|
|
|
$("#playvideo").find("video").attr("src", "qibing/" + $(this).attr("videoUrl"));
|
|
|
+ $("#playvideo").find("video").prop('muted', true);
|
|
|
} else if ($("#playvideo").css("display") === 'block') {
|
|
|
$("#playvideo").css("display", "none");
|
|
|
$("#playvideo").find("video").attr("src", "");
|
|
|
}
|
|
|
});
|
|
|
- $(".bigpreview").click(function () {
|
|
|
+ $(".bigpreview").dblclick(function () {
|
|
|
if ($("#bigpreview").css("display") === 'none') {
|
|
|
$("#bigpreview").css("display", "block");
|
|
|
$("#bigpreview").find("img").attr("src", "qibing/" + $(this).attr("imgUrl"));
|
|
|
@@ -248,6 +252,9 @@ function search(pageNo) {
|
|
|
$("#bigpreview").find("img").attr("src", "");
|
|
|
}
|
|
|
});
|
|
|
+ $(".identificationCode").dblclick(function () {
|
|
|
+ window.open("https://www.javbus.com/" + $(this).text(), "_blank");
|
|
|
+ });
|
|
|
} else {
|
|
|
alert(data.message);
|
|
|
}
|