diff --git a/js/notice.js b/js/notice.js
index 8a33aaa..8cf56eb 100644
--- a/js/notice.js
+++ b/js/notice.js
@@ -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]
- let mar_ry=0
+ 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
for (var i in marry) {
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;
}
@@ -209,16 +209,16 @@ function notice_con() {
} else {
var dis_line = 'Research areas: ' + arg.main[i].research_areas
}
- if(arg.main[i].website != ''){
- str += '
' +
- '' + arg.main[i].realname + ', Ph.D. '
- + arg.main[i].technical + '
' + arg.main[i].email + '
'
- + arg.main[i].company + '
' + dis_line + icon_img + '
'
- }else{
+ if (arg.main[i].website != '') {
str += '' +
- arg.main[i].realname + ', Ph.D. '
- + arg.main[i].technical + '
' + arg.main[i].email + '
'
- + arg.main[i].company + '
' + dis_line + icon_img + '
'
+ '' + arg.main[i].realname + ', Ph.D. '
+ + arg.main[i].technical + '
' + arg.main[i].email + '
'
+ + arg.main[i].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ arg.main[i].realname + ', Ph.D. '
+ + arg.main[i].technical + '
' + arg.main[i].email + '
'
+ + arg.main[i].company + '
' + dis_line + icon_img + '
'
}
}
}
@@ -237,16 +237,16 @@ function notice_con() {
} else {
var dis_line = 'Research areas: ' + arg.remain[i].research_areas
}
- if(arg.remain[i].website != ''){
- str += '' +
- '' + arg.remain[i].realname + ', Ph.D. '
- + arg.remain[i].technical + '
' + arg.remain[i].email + '
'
- + arg.remain[i].company + '
' + dis_line + icon_img + '
'
- }else{
+ if (arg.remain[i].website != '') {
str += '' +
- arg.remain[i].realname + ', Ph.D. '
- + arg.remain[i].technical + '
' + arg.remain[i].email + '
'
- + arg.remain[i].company + '
' + dis_line + icon_img + '
'
+ '' + arg.remain[i].realname + ', Ph.D. '
+ + arg.remain[i].technical + '
' + arg.remain[i].email + '
'
+ + arg.remain[i].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ arg.remain[i].realname + ', Ph.D. '
+ + arg.remain[i].technical + '
' + arg.remain[i].email + '
'
+ + arg.remain[i].company + '
' + dis_line + icon_img + '
'
}
}
str += '
'
@@ -258,7 +258,7 @@ function notice_con() {
// 未分组
$.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) {
- if(key == 'nogroup'){
+ if (key == 'nogroup') {
for (var j = 0; j < arg.member[key].length; j++) {
if (arg.member[key][j].icon == '') {
var icon_img = '
'
@@ -271,83 +271,84 @@ function notice_con() {
var dis_line = 'Research areas: ' + 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 += '' +
- '' + arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
- }else{
+ if (arg.member[key][j].website != '') {
str += '' +
- arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
}
} else {
- if(arg.member[key][j].website != ''){
- str += '' +
- '' + arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
- }else{
+ if (arg.member[key][j].website != '') {
str += '' +
- arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
}
}
}
}
}
})
- // 有分组
- $.each(arg.member, function (key, value) { //遍历键值对
+ // 有分组
+ $.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) {
- if(key != 'nogroup'){
- str += '' + key + '
'
- for (var j = 0; j < arg.member[key].length; j++) {
- if (arg.member[key][j].icon == '') {
- var icon_img = '
'
- } else {
- var icon_img = '
'
- }
- if (arg.member[key][j].research_areas == '') {
- var dis_line = ''
- } else {
- var dis_line = 'Research areas: ' + 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 += '' +
- '' + arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
- }else{
- str += '' +
- arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ if (key != 'nogroup') {
+ str += '' + key + '
'
+ for (var j = 0; j < arg.member[key].length; j++) {
+ if (arg.member[key][j].icon == '') {
+ var icon_img = '
'
+ } else {
+ var icon_img = '
'
}
- } else {
- if(arg.member[key][j].website != ''){
- str += '' +
- '' + arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
- }else{
- str += '' +
- arg.member[key][j].realname + ', Ph.D. '
- + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ if (arg.member[key][j].research_areas == '') {
+ var dis_line = ''
+ } else {
+ var dis_line = 'Research areas: ' + 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 += '' +
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }
+ } else {
+ if (arg.member[key][j].website != '') {
+ str += '' +
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }
}
}
- }}
+ }
}
})
str += '
'
}
// 期刊委员会
- if(committees && committees.length > 0){
+ if (committees && committees.length > 0) {
str += 'Academic Integrity Committee
'
for (var i = 0; i < committees.length; i++) {
if (committees[i].icon == '') {
@@ -360,46 +361,46 @@ function notice_con() {
} else {
var dis_line = 'Research areas: ' + committees[i].research_areas
}
- if(committees[i].website != ''){
- str += '' +
- '' + committees[i].realname + ', Ph.D. '
- + committees[i].technical + '
' + committees[i].email + '
'
- + committees[i].company + '
' + dis_line + icon_img + '
'
- }else{
+ if (committees[i].website != '') {
str += '' +
- committees[i].realname + ', Ph.D. '
- + committees[i].technical + '
' + committees[i].email + '
'
- + committees[i].company + '
' + dis_line + icon_img + '
'
- }
+ '' + committees[i].realname + ', Ph.D. '
+ + committees[i].technical + '
' + committees[i].email + '
'
+ + committees[i].company + '
' + dis_line + icon_img + '
'
+ } else {
+ str += '' +
+ committees[i].realname + ', Ph.D. '
+ + committees[i].technical + '
' + committees[i].email + '
'
+ + committees[i].company + '
' + dis_line + icon_img + '
'
+ }
}
- }else{
+ } else {
str += '';
}
// 期刊编辑
- if(editors && editors.length > 0){
+ if (editors && editors.length > 0) {
str += 'Editors & Staff
'
for (var i = 0; i < editors.length; i++) {
if (editors[i].icon == '') {
var icon_img = '
'
} else {
var icon_img = '
'
- }
- if(editors[i].website != ''){
- str += '' +
- '' + editors[i].realname + ','
- + editors[i].editor_title + '
' + editors[i].email + '
'
- + icon_img + ''
- }else{
- str += '' +
- editors[i].realname + ', '
- + editors[i].editor_title + '
' + editors[i].email + '
'
- + icon_img + ''
- }
+ }
+ if (editors[i].website != '') {
+ str += '' +
+ '' + editors[i].realname + ','
+ + editors[i].editor_title + '
' + editors[i].email + '
'
+ + icon_img + ''
+ } else {
+ str += '' +
+ editors[i].realname + ', '
+ + editors[i].editor_title + '
' + editors[i].email + '
'
+ + icon_img + ''
+ }
}
str += '';
-
- }else{
+
+ } else {
str += ''
}
@@ -746,7 +747,7 @@ function guest_con() {
if (Jour_num == '22') {
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 = ''
} else {
var mark_k = '(已关闭)'
@@ -759,7 +760,7 @@ function guest_con() {
}
} else {
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 = ''
} else {
var mark_k = '(Closed)'
@@ -952,7 +953,7 @@ function guest_title() {
$.ajax({
type: 'post', url: apiUrl + 'subscribe/Special/getSpecialDetail',
- data: {'journal_special_id': Gu_Num},
+ data: { 'journal_special_id': Gu_Num },
success: function (result) {
if (result.code == 0) {
@@ -1201,7 +1202,7 @@ function guest_title() {
if (arr[i].tradition_tag == '' || arr[i].tradition_tag == null) {
var maxwidth = 500;//显示多少字符
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.split(" ").pop().length)
var trad_tion = '' + abstNew + '...
'
@@ -1224,7 +1225,7 @@ function guest_title() {
+ localStorage.getItem("Journals_title") + '.' + act_year + npp_ +
'' + doi_ + '' +
'' + link_ + '

'
- + trad_tion +'
'
+ + trad_tion + '
'
}
$('.wenz_list>ul').html(str);
@@ -1237,7 +1238,7 @@ function guest_title() {
var num = $(this).next().html();
$.ajax({
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) {
if (result.code == 0) {
num = num * 1 + 1 * 1
@@ -1246,7 +1247,7 @@ function guest_title() {
})
$.ajax({
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
- data: {'type': Jour_num, 'is_detail': '1'},
+ data: { 'type': Jour_num, 'is_detail': '1' },
success: function (result) {
}
});
@@ -1257,7 +1258,7 @@ function guest_title() {
var num = $(this).next().html();
$.ajax({
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) {
if (result.code == 0) {
num = num * 1 + 1 * 1
@@ -1266,7 +1267,7 @@ function guest_title() {
})
$.ajax({
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
- data: {'type': Jour_num, 'is_detail': '1'},
+ data: { 'type': Jour_num, 'is_detail': '1' },
success: function (result) {
}
});
@@ -1276,7 +1277,7 @@ function guest_title() {
var num = $(this).next().html();
$.ajax({
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) {
if (result.code == 0) {
num = num * 1 + 1 * 1
@@ -1285,7 +1286,7 @@ function guest_title() {
})
$.ajax({
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
- data: {'type': Jour_num, 'is_detail': '1'},
+ data: { 'type': Jour_num, 'is_detail': '1' },
success: function (result) {
}
});
@@ -1319,7 +1320,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticleenw', async: false,
- data: {"article_id": ecx_id},
+ data: { "article_id": ecx_id },
success: function (result) {
var a = document.createElement('a');
a.href = result.data.url;
@@ -1332,7 +1333,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticleRis', async: false,
- data: {"article_id": ecx_id},
+ data: { "article_id": ecx_id },
success: function (result) {
var a = document.createElement('a');
a.href = result.data.url;
@@ -1345,7 +1346,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticlebib', async: false,
- data: {"article_id": ecx_id},
+ data: { "article_id": ecx_id },
success: function (result) {
var a = document.createElement('a');
a.href = result.data.url;
@@ -1358,7 +1359,7 @@ function guest_title() {
var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id')
$.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticletext', async: false,
- data: {"article_id": ecx_id},
+ data: { "article_id": ecx_id },
success: function (result) {
var a = document.createElement('a');
a.href = result.data.url;
@@ -1399,7 +1400,7 @@ function guest_title_gea() {
$("#mask").hide();
$(".tishi").fadeOut();
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
});