修改Editors & Staff 底部被遮挡问题

This commit is contained in:
2024-06-19 14:56:55 +08:00
parent cbb1062233
commit 91ee770afe

View File

@@ -153,14 +153,14 @@ function notice_con() {
} }
} }
var marry = [466,194,45,44,100,108,147,146,46,50,255,186,298,351,21,154,233,234,339,391,325,409,81,88,268,270,132,137,62,64,178,177,128,125,219,392,1,2,236,242,25,24,151,152,485,486] var marry = [466, 194, 45, 44, 100, 108, 147, 146, 46, 50, 255, 186, 298, 351, 21, 154, 233, 234, 339, 391, 325, 409, 81, 88, 268, 270, 132, 137, 62, 64, 178, 177, 128, 125, 219, 392, 1, 2, 236, 242, 25, 24, 151, 152, 485, 486]
let mar_ry=0 let mar_ry = 0
for (var i in marry) { for (var i in marry) {
if (footer_ID == marry[i]) { if (footer_ID == marry[i]) {
mar_ry=1 mar_ry = 1
} }
} }
if(mar_ry==0){ if (mar_ry == 0) {
window.location.href = 'for_author.html?J_num=' + Jour_num; window.location.href = 'for_author.html?J_num=' + Jour_num;
} }
@@ -209,16 +209,16 @@ function notice_con() {
} else { } else {
var dis_line = '<b>Research areas: </b>' + arg.main[i].research_areas var dis_line = '<b>Research areas: </b>' + arg.main[i].research_areas
} }
if(arg.main[i].website != ''){ if (arg.main[i].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.main[i].website + '" target="_blank" style="color: #006699">' + arg.main[i].realname + '</a>, Ph.D. '
+ arg.main[i].technical + '<br/>' + arg.main[i].email + '<br/>'
+ arg.main[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.main[i].realname + ', Ph.D. ' '<a href="' + arg.main[i].website + '" target="_blank" style="color: #006699">' + arg.main[i].realname + '</a>, Ph.D. '
+ arg.main[i].technical + '<br/>' + arg.main[i].email + '<br/>' + arg.main[i].technical + '<br/>' + arg.main[i].email + '<br/>'
+ arg.main[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>' + arg.main[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.main[i].realname + ', Ph.D. '
+ arg.main[i].technical + '<br/>' + arg.main[i].email + '<br/>'
+ arg.main[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} }
} }
} }
@@ -237,16 +237,16 @@ function notice_con() {
} else { } else {
var dis_line = '<b>Research areas: </b>' + arg.remain[i].research_areas var dis_line = '<b>Research areas: </b>' + arg.remain[i].research_areas
} }
if(arg.remain[i].website != ''){ if (arg.remain[i].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.remain[i].website + '" target="_blank" style="color: #006699">' + arg.remain[i].realname + '</a>, Ph.D. '
+ arg.remain[i].technical + '<br/>' + arg.remain[i].email + '<br/>'
+ arg.remain[i].company + ' <br/>' + dis_line + icon_img + '</li><br><br>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.remain[i].realname + ', Ph.D. ' '<a href="' + arg.remain[i].website + '" target="_blank" style="color: #006699">' + arg.remain[i].realname + '</a>, Ph.D. '
+ arg.remain[i].technical + '<br/>' + arg.remain[i].email + '<br/>' + arg.remain[i].technical + '<br/>' + arg.remain[i].email + '<br/>'
+ arg.remain[i].company + ' <br/>' + dis_line + icon_img + '</li><br><br>' + arg.remain[i].company + ' <br/>' + dis_line + icon_img + '</li><br><br>'
} else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.remain[i].realname + ', Ph.D. '
+ arg.remain[i].technical + '<br/>' + arg.remain[i].email + '<br/>'
+ arg.remain[i].company + ' <br/>' + dis_line + icon_img + '</li><br><br>'
} }
} }
str += '<br>' str += '<br>'
@@ -258,7 +258,7 @@ function notice_con() {
// 未分组 // 未分组
$.each(arg.member, function (key, value) { //遍历键值对 $.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) { if ($.isArray(arg.member[key]) == true) {
if(key == 'nogroup'){ if (key == 'nogroup') {
for (var j = 0; j < arg.member[key].length; j++) { for (var j = 0; j < arg.member[key].length; j++) {
if (arg.member[key][j].icon == '') { if (arg.member[key][j].icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">' var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
@@ -271,83 +271,84 @@ function notice_con() {
var dis_line = '<b>Research areas: </b>' + arg.member[key][j].research_areas var dis_line = '<b>Research areas: </b>' + arg.member[key][j].research_areas
} }
if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') { if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') {
if(arg.member[key][j].website != ''){ if (arg.member[key][j].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. ' '<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>' + arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>' + arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} }
} else { } else {
if(arg.member[key][j].website != ''){ if (arg.member[key][j].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. ' '<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>' + arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>' + arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} }
} }
} }
} }
} }
}) })
// 有分组 // 有分组
$.each(arg.member, function (key, value) { //遍历键值对 $.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) { if ($.isArray(arg.member[key]) == true) {
if(key != 'nogroup'){ if (key != 'nogroup') {
str += '<b>' + key + '</b><br><br>' str += '<b>' + key + '</b><br><br>'
for (var j = 0; j < arg.member[key].length; j++) { for (var j = 0; j < arg.member[key].length; j++) {
if (arg.member[key][j].icon == '') { if (arg.member[key][j].icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">' var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
} else { } else {
var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + arg.member[key][j].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">' var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + arg.member[key][j].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
}
if (arg.member[key][j].research_areas == '') {
var dis_line = ''
} else {
var dis_line = '<b>Research areas: </b>' + arg.member[key][j].research_areas
}
if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') {
if(arg.member[key][j].website != ''){
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} }
} else { if (arg.member[key][j].research_areas == '') {
if(arg.member[key][j].website != ''){ var dis_line = ''
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + } else {
'<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. ' var dis_line = '<b>Research areas: </b>' + arg.member[key][j].research_areas
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>' }
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>' if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') {
}else{ if (arg.member[key][j].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. ' '<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>' + arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>' + arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}
} else {
if (arg.member[key][j].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.member[key][j].website + '" target="_blank" style="color: #006699">' + arg.member[key][j].realname + '</a>, Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
arg.member[key][j].realname + ', Ph.D. '
+ arg.member[key][j].technical + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}
} }
} }
}} }
} }
}) })
str += '<br>' str += '<br>'
} }
// 期刊委员会 // 期刊委员会
if(committees && committees.length > 0){ if (committees && committees.length > 0) {
str += '<b>Academic Integrity Committee</b><br><br>' str += '<b>Academic Integrity Committee</b><br><br>'
for (var i = 0; i < committees.length; i++) { for (var i = 0; i < committees.length; i++) {
if (committees[i].icon == '') { if (committees[i].icon == '') {
@@ -360,46 +361,46 @@ function notice_con() {
} else { } else {
var dis_line = '<b>Research areas: </b>' + committees[i].research_areas var dis_line = '<b>Research areas: </b>' + committees[i].research_areas
} }
if(committees[i].website != ''){ if (committees[i].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + committees[i].website + '" target="_blank" style="color: #006699">' + committees[i].realname + '</a>, Ph.D. '
+ committees[i].technical + '<br/>' + committees[i].email + '<br/>'
+ committees[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' + str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
committees[i].realname + ', Ph.D. ' '<a href="' + committees[i].website + '" target="_blank" style="color: #006699">' + committees[i].realname + '</a>, Ph.D. '
+ committees[i].technical + '<br/>' + committees[i].email + '<br/>' + committees[i].technical + '<br/>' + committees[i].email + '<br/>'
+ committees[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>' + committees[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
} } else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
committees[i].realname + ', Ph.D. '
+ committees[i].technical + '<br/>' + committees[i].email + '<br/>'
+ committees[i].company + '<br/>' + dis_line + icon_img + '</li><br><br>'
}
} }
}else{ } else {
str += ''; str += '';
} }
// 期刊编辑 // 期刊编辑
if(editors && editors.length > 0){ if (editors && editors.length > 0) {
str += '<b>Editors & Staff</b><br><br>' str += '<b>Editors & Staff</b><br><br>'
for (var i = 0; i < editors.length; i++) { for (var i = 0; i < editors.length; i++) {
if (editors[i].icon == '') { if (editors[i].icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">' var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
} else { } else {
var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + editors[i].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">' var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + editors[i].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
} }
if(editors[i].website != ''){ if (editors[i].website != '') {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px; width: 200px; float:left; margin-right:10px;">' + str += '<li style="min-height:120px;position: relative;padding-left: 100px;margin-bottom: 30px; width: 200px; float:left; margin-right:10px;">' +
'<a href="' + editors[i].website + '" target="_blank" style="color: #006699">' + editors[i].realname + '</a>,' '<a href="' + editors[i].website + '" target="_blank" style="color: #006699">' + editors[i].realname + '</a>,'
+ editors[i].editor_title + '<br/>' + editors[i].email + '<br/>' + editors[i].editor_title + '<br/>' + editors[i].email + '<br/>'
+ icon_img + '</li>' + icon_img + '</li>'
}else{ } else {
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px; width: 200px; float:left; margin-right:10px;">' + str += '<li style="min-height:120px;position: relative;padding-left: 100px;margin-bottom: 30px; width: 200px; float:left; margin-right:10px;">' +
editors[i].realname + ', ' editors[i].realname + ', '
+ editors[i].editor_title + '<br/>' + editors[i].email + '<br/>' + editors[i].editor_title + '<br/>' + editors[i].email + '<br/>'
+ icon_img + '</li>' + icon_img + '</li>'
} }
} }
str += '<li style="clear:both">'; str += '<li style="clear:both">';
}else{ } else {
str += '' str += ''
} }
@@ -746,7 +747,7 @@ function guest_con() {
if (Jour_num == '22') { if (Jour_num == '22') {
for (var i = 0; i < arr.length; i++) { for (var i = 0; i < arr.length; i++) {
if (new Date(arr[i].deadline).getTime()>new Date().getTime()) { if (new Date(arr[i].deadline).getTime() > new Date().getTime()) {
var mark_k = '' var mark_k = ''
} else { } else {
var mark_k = '<b style="color: #eb3131;margin-left: 10px">(已关闭)</b>' var mark_k = '<b style="color: #eb3131;margin-left: 10px">(已关闭)</b>'
@@ -759,7 +760,7 @@ function guest_con() {
} }
} else { } else {
for (var i = 0; i < arr.length; i++) { for (var i = 0; i < arr.length; i++) {
if (new Date(arr[i].deadline).getTime()>new Date().getTime()) { if (new Date(arr[i].deadline).getTime() > new Date().getTime()) {
var mark_k = '' var mark_k = ''
} else { } else {
var mark_k = '<b style="color: #eb3131;margin-left: 10px">(Closed)</b>' var mark_k = '<b style="color: #eb3131;margin-left: 10px">(Closed)</b>'
@@ -952,7 +953,7 @@ function guest_title() {
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'subscribe/Special/getSpecialDetail', type: 'post', url: apiUrl + 'subscribe/Special/getSpecialDetail',
data: {'journal_special_id': Gu_Num}, data: { 'journal_special_id': Gu_Num },
success: function (result) { success: function (result) {
if (result.code == 0) { if (result.code == 0) {
@@ -1201,7 +1202,7 @@ function guest_title() {
if (arr[i].tradition_tag == '' || arr[i].tradition_tag == null) { if (arr[i].tradition_tag == '' || arr[i].tradition_tag == null) {
var maxwidth = 500;//显示多少字符 var maxwidth = 500;//显示多少字符
if (arr[i].abstract.length > maxwidth) { if (arr[i].abstract.length > maxwidth) {
var abstNew= arr[i].abstract.replace(/<.*?>/ig,"") var abstNew = arr[i].abstract.replace(/<.*?>/ig, "")
abstNew = abstNew.substring(0, maxwidth) abstNew = abstNew.substring(0, maxwidth)
abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length)
var trad_tion = '<div>' + abstNew + '...</div>' var trad_tion = '<div>' + abstNew + '...</div>'
@@ -1224,7 +1225,7 @@ function guest_title() {
+ localStorage.getItem("Journals_title") + '.' + act_year + npp_ + + localStorage.getItem("Journals_title") + '.' + act_year + npp_ +
'<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' + '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
'</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv"><img src="' + img_i + '" alt=""></a>' '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv"><img src="' + img_i + '" alt=""></a>'
+ trad_tion +'<br clear="both"></div></li>' + trad_tion + '<br clear="both"></div></li>'
} }
$('.wenz_list>ul').html(str); $('.wenz_list>ul').html(str);
@@ -1237,7 +1238,7 @@ function guest_title() {
var num = $(this).next().html(); var num = $(this).next().html();
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false,
data: {"article_id": $(this).attr('alt'), "type": 'abs'}, data: { "article_id": $(this).attr('alt'), "type": 'abs' },
success: function (result) { success: function (result) {
if (result.code == 0) { if (result.code == 0) {
num = num * 1 + 1 * 1 num = num * 1 + 1 * 1
@@ -1246,7 +1247,7 @@ function guest_title() {
}) })
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'super/Publish/addVisitNum', type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
data: {'type': Jour_num, 'is_detail': '1'}, data: { 'type': Jour_num, 'is_detail': '1' },
success: function (result) { success: function (result) {
} }
}); });
@@ -1257,7 +1258,7 @@ function guest_title() {
var num = $(this).next().html(); var num = $(this).next().html();
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false,
data: {"article_id": $(this).attr('alt'), "type": 'html'}, data: { "article_id": $(this).attr('alt'), "type": 'html' },
success: function (result) { success: function (result) {
if (result.code == 0) { if (result.code == 0) {
num = num * 1 + 1 * 1 num = num * 1 + 1 * 1
@@ -1266,7 +1267,7 @@ function guest_title() {
}) })
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'super/Publish/addVisitNum', type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
data: {'type': Jour_num, 'is_detail': '1'}, data: { 'type': Jour_num, 'is_detail': '1' },
success: function (result) { success: function (result) {
} }
}); });
@@ -1276,7 +1277,7 @@ function guest_title() {
var num = $(this).next().html(); var num = $(this).next().html();
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false,
data: {"article_id": $(this).attr('alt'), "type": 'pdf'}, data: { "article_id": $(this).attr('alt'), "type": 'pdf' },
success: function (result) { success: function (result) {
if (result.code == 0) { if (result.code == 0) {
num = num * 1 + 1 * 1 num = num * 1 + 1 * 1
@@ -1285,7 +1286,7 @@ function guest_title() {
}) })
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'super/Publish/addVisitNum', type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
data: {'type': Jour_num, 'is_detail': '1'}, data: { 'type': Jour_num, 'is_detail': '1' },
success: function (result) { success: function (result) {
} }
}); });
@@ -1319,7 +1320,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticleenw', async: false, type: 'post', url: apiUrl + 'api/Article/getArticleenw', async: false,
data: {"article_id": ecx_id}, data: { "article_id": ecx_id },
success: function (result) { success: function (result) {
var a = document.createElement('a'); var a = document.createElement('a');
a.href = result.data.url; a.href = result.data.url;
@@ -1332,7 +1333,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticleRis', async: false, type: 'post', url: apiUrl + 'api/Article/getArticleRis', async: false,
data: {"article_id": ecx_id}, data: { "article_id": ecx_id },
success: function (result) { success: function (result) {
var a = document.createElement('a'); var a = document.createElement('a');
a.href = result.data.url; a.href = result.data.url;
@@ -1345,7 +1346,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticlebib', async: false, type: 'post', url: apiUrl + 'api/Article/getArticlebib', async: false,
data: {"article_id": ecx_id}, data: { "article_id": ecx_id },
success: function (result) { success: function (result) {
var a = document.createElement('a'); var a = document.createElement('a');
a.href = result.data.url; a.href = result.data.url;
@@ -1358,7 +1359,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticletext', async: false, type: 'post', url: apiUrl + 'api/Article/getArticletext', async: false,
data: {"article_id": ecx_id}, data: { "article_id": ecx_id },
success: function (result) { success: function (result) {
var a = document.createElement('a'); var a = document.createElement('a');
a.href = result.data.url; a.href = result.data.url;
@@ -1399,7 +1400,7 @@ function guest_title_gea() {
$("#mask").hide(); $("#mask").hide();
$(".tishi").fadeOut(); $(".tishi").fadeOut();
document.body.removeEventListener('touchmove', bodyScroll, false); document.body.removeEventListener('touchmove', bodyScroll, false);
$("body").css({"position": "initial", "height": "auto"}); $("body").css({ "position": "initial", "height": "auto" });
window.location.href = 'gue_cont.html?J_num=' + Jour_num + '&&Gu_num=' + Gu_Num window.location.href = 'gue_cont.html?J_num=' + Jour_num + '&&Gu_num=' + Gu_Num
}); });