|
@@ -36,6 +36,12 @@ function initOther() {
|
|
|
$("#bigType").attr("prepath", $(this).attr("prepath"));
|
|
$("#bigType").attr("prepath", $(this).attr("prepath"));
|
|
|
$(".dropdown-box").attr("style", "display: none;");
|
|
$(".dropdown-box").attr("style", "display: none;");
|
|
|
|
|
|
|
|
|
|
+ if ($(this).text() == '足舐') {
|
|
|
|
|
+ $(".lovefoot").attr("style", "display: block;");
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $(".lovefoot").attr("style", "display: none;");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
getQueryHeaderInfo($("#bigType").text(), false, true);
|
|
getQueryHeaderInfo($("#bigType").text(), false, true);
|
|
|
search(1, false, true);
|
|
search(1, false, true);
|
|
|
});
|
|
});
|
|
@@ -114,6 +120,8 @@ function search(pageNo, startFlag, searchSelectFlag) {
|
|
|
var date = videoInfo.issueDate;
|
|
var date = videoInfo.issueDate;
|
|
|
if (orderField == 'vi.modify_time') {
|
|
if (orderField == 'vi.modify_time') {
|
|
|
date = videoInfo.modifyTime;
|
|
date = videoInfo.modifyTime;
|
|
|
|
|
+ } else if (orderField == 'vi.update_date') {
|
|
|
|
|
+ date = videoInfo.updateDate;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var scoreStr = '';
|
|
var scoreStr = '';
|
|
@@ -138,7 +146,7 @@ function search(pageNo, startFlag, searchSelectFlag) {
|
|
|
" <span class=\"pic-text text-right\" title='" + (videoInfo.comment === '' ? '暂无评论' : videoInfo.comment) + "'>" + scoreStr + "</span>" +
|
|
" <span class=\"pic-text text-right\" title='" + (videoInfo.comment === '' ? '暂无评论' : videoInfo.comment) + "'>" + scoreStr + "</span>" +
|
|
|
" </a>" +
|
|
" </a>" +
|
|
|
" <div class=\"myui-vodlist__detail\">" +
|
|
" <div class=\"myui-vodlist__detail\">" +
|
|
|
- " <h4 class=\"videodetail title text-overflow\" identificationCode='" + videoInfo.identificationCode + "' ><a title=\" " + videoInfo.name + " \">" + videoInfo.name + "</a></h4>" +
|
|
|
|
|
|
|
+ " <h4 class=\"videodetail title text-overflow\" identificationCode='" + videoInfo.identificationCode + "' orginUrl='" + videoInfo.orginUrl + "'><a title=\" " + videoInfo.name + " \">" + videoInfo.name + "</a></h4>" +
|
|
|
" <p class=\"text text-overflow text-muted hidden-xs\" title='" + videoInfo.mainWho + "'>直属:" + videoInfo.mainWho + "</p>" +
|
|
" <p class=\"text text-overflow text-muted hidden-xs\" title='" + videoInfo.mainWho + "'>直属:" + videoInfo.mainWho + "</p>" +
|
|
|
" </div>" +
|
|
" </div>" +
|
|
|
" </div>" +
|
|
" </div>" +
|
|
@@ -323,9 +331,15 @@ function initContentEvent() {
|
|
|
// });
|
|
// });
|
|
|
|
|
|
|
|
$(".videodetail").click(function () {
|
|
$(".videodetail").click(function () {
|
|
|
- var type = $("#bigType").attr("prepath");
|
|
|
|
|
- var code = $(this).attr("identificationCode");
|
|
|
|
|
- window.open("voddetail.html?type=" + type + "&code=" + code, "_blank");
|
|
|
|
|
|
|
+ var bigTypeText = $("#bigType").text();
|
|
|
|
|
+ if (bigTypeText == '足舐') {
|
|
|
|
|
+ var orginUrl = $(this).attr("orginUrl");
|
|
|
|
|
+ window.open(orginUrl);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ var type = $("#bigType").attr("prepath");
|
|
|
|
|
+ var code = $(this).attr("identificationCode");
|
|
|
|
|
+ window.open("voddetail.html?type=" + type + "&code=" + code, "_blank");
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
$(".bigpreview").dblclick(function () {
|
|
$(".bigpreview").dblclick(function () {
|