|
|
@@ -38,7 +38,7 @@ function initOther() {
|
|
|
|
|
|
if ($(this).text() == '足舐') {
|
|
|
$(".lovefoot").attr("style", "display: block;");
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$(".lovefoot").attr("style", "display: none;");
|
|
|
}
|
|
|
|
|
|
@@ -84,7 +84,12 @@ function search(pageNo, startFlag, searchSelectFlag) {
|
|
|
if (searchSelectFlag) {
|
|
|
genres = "";
|
|
|
cast = "";
|
|
|
- orderField = "vi.issue_date";
|
|
|
+ if (bigType == '足舐') {
|
|
|
+ orderField = "vi.update_date";
|
|
|
+ } else {
|
|
|
+ orderField = "vi.issue_date";
|
|
|
+ }
|
|
|
+
|
|
|
order = "desc";
|
|
|
}
|
|
|
|
|
|
@@ -125,17 +130,25 @@ function search(pageNo, startFlag, searchSelectFlag) {
|
|
|
}
|
|
|
|
|
|
var scoreStr = '';
|
|
|
+ var orginUrl= '';
|
|
|
if (bigType == '骑兵') {
|
|
|
scoreStr += videoInfo.resolutionRatio + '|';
|
|
|
scoreStr += (videoInfo.original === null ? '?' : (videoInfo.original == 1 ? '原档' : '非原档')) + '|';
|
|
|
scoreStr += (videoInfo.subtitle === null ? '?' : (videoInfo.subtitle == 1 ? '字幕' : '无字幕')) + '|';
|
|
|
scoreStr += (videoInfo.recoding === null ? '?' : (videoInfo.recoding == 1 ? '压缩' : '未压缩')) + '|';
|
|
|
scoreStr += videoInfo.score;
|
|
|
+ } else if (bigType == '码池') {
|
|
|
+ scoreStr += (videoInfo.videoInfoFlag === 'false' ? '' : '骑兵|');
|
|
|
+ scoreStr += (videoInfo.videoLoveFootFlag === 'false' ? '' : '足舐|');
|
|
|
+ scoreStr += (videoInfo.type === 1 ? '待审查' : (videoInfo.type === 2 ? '审查中' : (videoInfo.type === 3 ? '审查已通过' : '审查未通过'))) + '|';
|
|
|
+ scoreStr += videoInfo.score;
|
|
|
} else if (bigType == '足舐') {
|
|
|
scoreStr += (videoInfo.videoInfoFlag === 'false' ? '' : '骑兵|');
|
|
|
scoreStr += (videoInfo.videoInfoPoolFlag === 'false' ? '' : '码池|');
|
|
|
scoreStr += (videoInfo.type === 1 ? '爬取失败' : (videoInfo.type === 2 ? '待审查' : (videoInfo.type === 3 ? '审查已通过' : '审查未通过'))) + '|';
|
|
|
scoreStr += videoInfo.score;
|
|
|
+
|
|
|
+ orginUrl = videoInfo.orginUrl;
|
|
|
} else {
|
|
|
scoreStr = videoInfo.score;
|
|
|
}
|
|
|
@@ -145,8 +158,8 @@ function search(pageNo, startFlag, searchSelectFlag) {
|
|
|
" <a class=\"myui-vodlist__thumb lazyload\" title=\"\" style=\"background-image: url("apics/" + videoInfo.imgUrl + "");\">" +
|
|
|
" <span class=\"bigpreview playvideo play hidden-xs\" imgUrl='" + videoInfo.imgUrl + "'></span>" +
|
|
|
" <span class=\"pic-tag pic-tag-top\">" +
|
|
|
- " <span class=\"tag identificationCode\" style=\"background-color: #FB7299;\">" + videoInfo.identificationCode + "</span>" +
|
|
|
- " <span class=\"tag\" style=\"background-color: #00C0FF;\">" + date + "</span>" +
|
|
|
+ " <span class=\"tag identificationCode\" title=\"https://www.javbus.com/" + videoInfo.identificationCode + "\" style=\"background-color: #FB7299;\">" + videoInfo.identificationCode + "</span>" +
|
|
|
+ " <span class=\"tag identificationDate\" title=\"" + orginUrl + "\" style=\"background-color: #00C0FF;\">" + date + "</span>" +
|
|
|
" </span>" +
|
|
|
" <span class=\"pic-text text-right\" title='" + (videoInfo.comment === '' ? '暂无评论' : videoInfo.comment) + "'>" + scoreStr + "</span>" +
|
|
|
" </a>" +
|
|
|
@@ -230,7 +243,12 @@ function getQueryHeaderInfo(bigType, startFlag, searchSelectFlag) {
|
|
|
$("ul.leixingul").find("a:eq(1)").addClass("btn-warm");
|
|
|
$("ul.yanyuanul").find("a:eq(1)").addClass("btn-warm");
|
|
|
$("ul.paixuul").find("a.btn-warm").removeClass("btn-warm");
|
|
|
- $("ul.paixuul").find("a:eq(1)").addClass("btn-warm");
|
|
|
+
|
|
|
+ if (bigType == '足舐') {
|
|
|
+ $("ul.paixuul").find("a:eq(3)").addClass("btn-warm");
|
|
|
+ } else {
|
|
|
+ $("ul.paixuul").find("a:eq(1)").addClass("btn-warm");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//请求成功时处理
|
|
|
@@ -339,7 +357,8 @@ function initContentEvent() {
|
|
|
var bigTypeText = $("#bigType").text();
|
|
|
if (bigTypeText == '足舐') {
|
|
|
var orginUrl = $(this).attr("orginUrl");
|
|
|
- window.open(orginUrl);
|
|
|
+ let orginUrlArr = orginUrl.split(",");
|
|
|
+ window.open(orginUrlArr[0]);
|
|
|
} else {
|
|
|
var type = $("#bigType").attr("prepath");
|
|
|
var code = $(this).attr("identificationCode");
|
|
|
@@ -359,4 +378,11 @@ function initContentEvent() {
|
|
|
$(".identificationCode").dblclick(function () {
|
|
|
window.open("https://www.javbus.com/" + $(this).text(), "_blank");
|
|
|
});
|
|
|
+ $(".identificationDate").dblclick(function () {
|
|
|
+ let title = $(this).attr("title");
|
|
|
+ let orginUrlArr = title.split(",");
|
|
|
+ if (orginUrlArr.length > 1) {
|
|
|
+ window.open(orginUrlArr[1]);
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|