This commit is contained in:
徐哼唧L
2024-01-17 09:25:36 +08:00
33 changed files with 1156 additions and 91 deletions

View File

@@ -23,6 +23,7 @@ function at_list() {
var top_ID = getQueryString('top_id'); //Top cited / Top read / Top download
var time_ID = getQueryString('time_id'); //时间轴
var shenCode = [] // 审稿意见(复审和初审)
// 话题点进去的文章列表
if (t_ID != null) {
// 增加访问次数
@@ -5645,7 +5646,7 @@ function at_list() {
$('.wenz_list>h4').html('Highlights');
}
totalPage = result.data.count % top_top.pageSize;
totalPage = result.data.count % top_top.pageSize == 0 ? (result.data.count / top_top.pageSize) : (Math.ceil(result.data.count / top_top.pageSize));
totalRecords = result.data.count;
$('.wenz_list .tioashu').html(result.data.count);
@@ -6501,6 +6502,29 @@ function at_list() {
}
// 时间戳格式化
function timestampToTime(str) {
//str = str * 1000
var oDate = new Date(str*1000),
oYear = oDate.getFullYear(),
oMonth = oDate.getMonth()+1,
oDay = oDate.getDate(),
oHour = oDate.getHours(),
oMin = oDate.getMinutes(),
oSen = oDate.getSeconds(),
oTime = oYear +'-'+ getzf(oMonth) +'-'+ getzf(oDay) +' '+ getzf(oHour) +':'+
getzf(oMin) +':'+getzf(oSen);//最后拼接时间
return oTime;
};
//补0操作
function getzf(num){
if(parseInt(num) < 10){
num = '0'+num;
}
return num;
}
// 文章内容
function article_con() {
// 获取地址栏信息
@@ -6855,15 +6879,185 @@ function article_con() {
var str = '';
for (var i = 0; i < arr.length; i++) {
if (arr[i].width == 0) {
str += '<p>' + arr[i].content + '</p>'
if(arr[i].is_title == 1){
if(arr[i].content.indexOf("<p>") >= 0){
str += "<div class='Ptitle'>"+arr[i].content+"</div>"
}else{
str += '<div class="Ptitle"><p>' + arr[i].content + '</p></div>'
}
}else{
if(arr[i].content.indexOf("<p>") >= 0){
str += arr[i].content
}else{
str += '<p>' + arr[i].content + '</p>'
}
}
} else {
str += '<div class="imgHnkl"><img src="https://submission.tmrjournals.com/public/mainimg/'
+ arr[i].content + '" width="'+arr[i].width+'"/><p>' + arr[i].note + '</p></div>'
var picsrc = 'https://submission.tmrjournals.com/public/mainimg/' + arr[i].content;
var fun = "picPreview('"+ picsrc +"');"
// console.log(fun)
str += "<div class='imgHnkl'><img class='mainPicItem' onclick="+ fun +" src='https://submission.tmrjournals.com/public/mainimg/"
+ arr[i].content + "' width='"+arr[i].width+"'/><p>" + arr[i].note + "</p></div>"
}
}
$('.wen_rong .content-box .conthtmn').html(str);
if(result.data.refers.length > 0){
var refs = ''
var xuhao = 0
for(var rr = 0; rr < result.data.refers.length; rr++){
// 如果格式不正确,或者信息不全
let item= ''
if(result.data.refers[rr].refer_type=='journal' && result.data.refers[rr].doilink != '' ){
// journal
xuhao ++
item = "<div><p>"+ xuhao + '.&nbsp;' + result.data.refers[rr].author +'&nbsp;'+ result.data.refers[rr].title + ".&nbsp;<i>" + result.data.refers[rr].joura +"</i>" + result.data.refers[rr].dateno + ".&nbsp;<br/>Available at:&nbsp; <a class='refsLink' href='"+ result.data.refers[rr].doilink +"' target='_blank' style='color:#006699; word-wrap:break-word;'>&nbsp;"+ result.data.refers[rr].doilink +"</a></p></div>"
refs += item
}else if(result.data.refers[rr].refer_type=='book' && result.data.refers[rr].isbn != ''){
// book
xuhao ++
item = "<div><p>"+ xuhao + '.&nbsp;' + result.data.refers[rr].author +'&nbsp;'+ result.data.refers[rr].title+".&nbsp;" + result.data.refers[rr].dateno + ". &nbsp;<br/>Available at:&nbsp;<a target='_blank' style='color:#006699; word-wrap:break-word;' href='" + result.data.refers[rr].isbn + "'> &nbsp;</p></div>"
refs += item
}else if(result.data.refers[rr].refer_type=='other' && result.data.refers[rr].refer_frag != '' && result.data.refers[rr].refer_frag.length > 15){
// other
xuhao ++
item = "<div><p>"+ xuhao + '.&nbsp;' + result.data.refers[rr].refer_frag +".</p></div>"
refs += item
}else{
continue;
}
}
// console.log(refs)
$('.wen_rong .content-box .conthtmn').append('<div id="ArticleRef" class="ArticleRef"><p><b>References</b></p>'+ refs +'</div>')
}
}
// 稿件跟踪
// 图标------------
var detailIcon = ''
var lis = ''
if(result.data.track && result.data.track.length > 0 ){
// console.log(result.data.track.length,33)
// $('.wen_rong #tablist .tarrecord').css('display', 'block');
// $('.wen_rong .content-box .conterecord').text(333)
for(var tt = 0; tt<result.data.track.length; tt++){
var ttypeName = ''
var li = ""
var ttime = ''
var typeClass = ''
switch (result.data.track[tt].type) {
case (0):
ttypeName = 'Received'
break;
case (1):
ttypeName = 'With editor'
break;
case (2):
ttypeName = 'Under review'
break;
case (3):
ttypeName = 'Reject'
break;
case (4):
ttypeName = 'Revision'
break;
case (5):
ttypeName = 'Accept'
break;
case (6):
ttypeName = 'Pre-accept'
break;
case (7):
ttypeName = 'Proof'
break;
case (8):
ttypeName = 'Online'
break;
}
// 二级的时间
var reviewers =""
if(result.data.track[tt].reviewers && result.data.track[tt].reviewers.length > 0){
shenCode = []
for(var er=0; er < result.data.track[tt].reviewers.length; er++){
var neiTag = ''
var reviewerState = ''
var reviewerItem = ''
var time1 = '' // 创建时间
var time2 = '' // 回应时间
// 初审和复审的审核意见
// var fushenContent = ''
var chushenContent = ''
var timess = ''
// 进入页面前清空
if(result.data.track[tt].type == 2 && result.data.track[tt].reviewers[er].question != null){
chushenContent = ''
timess = ''
chushenContent = result.data.track[tt].reviewers[er].question.comments
timess = timestampToTime(result.data.track[tt].reviewers[er].question.ctime)
shenCode.push("<div class='shenheComments'><p><span>Comments:</span> <br/>"+chushenContent+"</p><p class='time'><span>Review comments received: </span>"+ timess +"</p></div>")
// detailIcon = '<svg onclick="showComments(' + er + ')" style="vertical-align: middle; cursor: pointer; margin-left: 10px" t="1691720445324" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4032" width="26" height="26"><path d="M512 298.666667c-162.133333 0-285.866667 68.266667-375.466667 213.333333 89.6 145.066667 213.333333 213.333333 375.466667 213.333333s285.866667-68.266667 375.466667-213.333333c-89.6-145.066667-213.333333-213.333333-375.466667-213.333333z m0 469.333333c-183.466667 0-328.533333-85.333333-426.666667-256 98.133333-170.666667 243.2-256 426.666667-256s328.533333 85.333333 426.666667 256c-98.133333 170.666667-243.2 256-426.666667 256z m0-170.666667c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333333 85.333333 38.4 85.333333 85.333333 85.333333z m0 42.666667c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128 128 55.466667 128 128-55.466667 128-128 128z" fill="#1296db" p-id="4033"></path></svg>'
detailIcon = '<i class="detailsBtn" onclick="showComments(' + er + ')">(Detail)</i>'
}
switch (result.data.track[tt].reviewers[er].state) {
case (1):
reviewerState = 'Accept with major revision'
break;
case (2):
reviewerState = 'Reject'
break;
case (3):
reviewerState = 'Accept with minor revision'
break;
}
time1 = timestampToTime(result.data.track[tt].reviewers[er].ctime)
time2 = timestampToTime(result.data.track[tt].reviewers[er].qtime)
reviewerItem = "<div class='reviewerBox'><span class='time1 time'>Invitation time: <br/>"+time1+"</span><div class='box'><span class='title'>"+reviewerState + detailIcon+ "</span><span class='score'>Score: "+result.data.track[tt].reviewers[er].rated+"</span><span class='reviewer'>reviewer: "+result.data.track[tt].reviewers[er].reviewer_name+"</span><span class='time2'>Review comments received: "+time2+"</span></div></div>"
reviewers += reviewerItem
}
}
// 获得时间
ttime = timestampToTime(result.data.track[tt].time)
var Revitag = ''
if(result.data.track[tt].type == 4 && result.data.track[tt].response){
var title = '<h4>Response to reviewers: &nbsp;</h4>'
var lisss = ''
for(var s = 0; s < result.data.track[tt].response.length; s++){
var xuhao = s+1
var Revfile_url = ''
// var tptime = timestampToTime(result.data.track[tt].time)
Revfile_url = '<span><a href="https://submission.tmrjournals.com/public/' + result.data.track[tt].response[s].file_url + '" target="_blank" class="txt_html">'+xuhao+'.&nbsp;Download</a></span>'
//Revitag +=
lisss += Revfile_url
}
Revitag = '<div class="filerev">'+ title + lisss + '</div>'
}
li = "<div class='trackItem "+typeClass+"'><span class='time'>"+ttime+"</span><div class='type'><span class='title'>" + ttypeName + "</span>"+reviewers+ Revitag +"</div></div>"
lis += li
}
$('.wen_rong .content-box .conterecord').html(lis)
}else{
// console.log(result.data.track.length)
$('.wen_rong #tablist .tarrecord').css('display', 'none');
}
// console.log(j_artc)
// Original data 附加文件
if (j_artc.file_original == '') {
console.log('--------------')
$('.wen_rong #tablist .OriginalData').css('display', 'none');
$('.wen_rong #tablist .Original').css('display', 'none');
} else {
// console.log('有值')
// $('.wen_rong #tablist .OriginalData').css('display', 'block');
// $('.wen_rong #tablist .Original').css('display', 'block');
$('#OriginalData').html('<p>Original data:&nbsp;&nbsp;&nbsp;&nbsp;----<a target="_blank" href="public' + apiUrl + 'articleOriginal/'+ j_artc.file_original +'">Download</a></p>');
}
if (j_artc.file_pdf == '') {
$('.wen_rong #tablist .tarfipdf').css('display', 'none');
@@ -6905,7 +7099,32 @@ function article_con() {
var pdf_list = ''
if (j_artc.file_sub != '') {
pdf_list += '<li><div><img src="img/link_3.jpg" width="14" height="16"><b>PDF</b></div>' +
var fileType = ''
var imgLink = ''
var fileTypeArr = j_artc.file_sub.split('.')
fileType = fileTypeArr[fileTypeArr.length -1]
// console.log(fileType)
switch (fileType) {
case 'xlsx':
imgLink = 'img/xlsx.png'
break;
case 'zip':
imgLink = 'img/zip.png'
break;
case 'rar':
imgLink = 'img/zip.png'
break;
case 'docx':
imgLink = 'img/link_1.png'
break;
case 'pdf':
imgLink = 'img/link_3.jpg'
break;
default:
imgLink = 'img/otherfile.png'
break;
}
pdf_list += '<li><div><img src="' + imgLink + '" width="14" height="16"><b>' + fileType + '</b></div>' +
'<p>Supplementary Material for doi: ' + j_artc.doi + '----<a target="_blank" href="' + apiUrl + 'public/articleSUB/' + j_artc.file_sub + '">Download</a></p></li>';
}
if (j_artc.file_sub2 != '') {
@@ -7213,3 +7432,29 @@ function article_con() {
})
}
// 图片预览
function picPreview(src){
console.log(src)
$('.PicPreview img').attr('src', src)
$('.PicPreview').show()
}
$('.PicPreview').on('click', function () {
$('.PicPreview').hide()
})
// 显示审核内容
function showComments(num){
// console.log('显示初审内容',shenCode)
layer.open({
type: 1
,title: false //不显示标题栏
,closeBtn: true
,area: '600px;'
,shade: 0.8
,id: 'LAY_layuipro' //设定一个id防止重复弹出
/// ,btn: ['close']
,btnAlign: 'c'
,moveType: 1 //拖拽模式0或者1
,content: shenCode[num]
});
}

View File

@@ -164,7 +164,7 @@ function bf_list() {
} else {
var npp_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
}
if (arr[i].mains == '') {
if (arr[i].has_mains == 0) {
if (arr[i].file_html == '') {
var html_ = ''
} else {
@@ -287,6 +287,8 @@ function bf_list() {
if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) {
$('.current_list>h4').html('Current Volume<span>' + time_ + '</span>');
} else if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21){ // 合并期刊
$('.current_list>h4').html('Latest Issue<span>' + time_ + '</span>');
} else {
$('.current_list>h4').html('Current Issue<span>' + time_ + '</span>');
}
@@ -993,6 +995,27 @@ function bf_list() {
var str = "";
for (var i = 0; i < result.data.journalStage.length; i++) {
if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21){
// 合并(替换)期刊
if(i==0){str +='<b>'+arr_stage[i].stage_year+'</b><br>'}
if(i>0){
if(arr_stage[i].stage_year!=arr_stage[i-1].stage_year){
str +='<div style="width:100%"><b>'+arr_stage[i].stage_year+'</b></div>'
}
}
if(arr_stage[i].stage_no=='0'){
var iss_ = ''
}else{
var iss_ =' Issue.'+arr_stage[i].stage_no
}
str +='<li style="width:50%;float: left; margin-right: 0; margin-bottom: 10px;"><div><a target="_blank" style="color: #004a90;font-weight: bold;" href="article_list.html?J_num='+Jour_num+'&y_id='+arr_stage[i].journal_stage_id+'">'
+arr_stage[i].stage_year+' Vol.'+arr_stage[i].stage_vol+ iss_ + '&nbsp;'
+arr_stage[i].stage_pagename + arr_stage[i].stage_page+'</a></div><p>'+arr_stage[i].issue_date+'</p></li>'
}else{
// 常规期刊
if (arr_stage[i].stage_no == '0') {
var iss_ = ''
} else {
@@ -1009,6 +1032,7 @@ function bf_list() {
'<p style="background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + '</b><b>Vol. ' + arr_stage[i].stage_vol + '</b>'
+ iss_ + '<b>' + arr_stage[i].stage_pagename + ' ' + arr_stage[i].stage_page + '</b></p></a></li>'
}
}
}
@@ -1085,13 +1109,14 @@ function bf_list() {
$('#com_index').selectivity({
allowClear: true,
items: new_arry,
placeholder: 'Please choose topics'
placeholder: 'Please select a topic'
})
$('.es_serch_btn').click(function () {
$('.es_serch_span').css('display', 'none')
if ($('#com_index').selectivity('val') == null) {
$('.es_serch_span').css('display', 'block')
$('.es_serch_span').text('Please select a topic')
ShowDanger("Request was aborted");
} else {
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));

View File

@@ -9,6 +9,7 @@
var apiUrl = "/";
var apiUrlTG = "/";
var apiUrlImg = "/public/";
var apiSubmission = "https://submission.tmrjournals.com/";
// var apiUrlImg = "http://journalapi.tmrjournals.com/public/";

1
js/layui.js Normal file

File diff suppressed because one or more lines are too long

View File

@@ -205,7 +205,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -320,7 +320,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -431,7 +431,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -540,7 +540,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -649,7 +649,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -758,7 +758,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -867,7 +867,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -976,7 +976,7 @@ if (footer_map_ID == '125') {
'<p style="padding: 20px;line-height: 20px;border-bottom: 1px solid #eee;margin-bottom: 25px;font-size: 16px;color: #888">The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.</p>');
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},

View File

@@ -181,13 +181,17 @@ function notice_con() {
if (arr.title == 'Editorial Board') {
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getBoard',
type: 'post', url: apiUrl + 'api/Journal/getBoard1',
data: {
"journal_id": Jour_num
},
success: function (result) {
if (result.code == 0) {
var arg = result.data.boards;
// 编委会成员
var arg = result.data.data.boards;
// 期刊委员会
var committees = result.data.data.committees;
var editors = result.data.data.editors;
var str = '';
if (arg.main == undefined) {
@@ -195,20 +199,27 @@ function notice_con() {
} else {
str += '<b>Editor-in-Chief</b><br><br>'
for (var i = 0; i < arg.main.length; i++) {
if (arg.main[i].board_icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
if (arg.main[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;">'
} else {
var icon_img = '<img src="' + apiUrlImg + arg.main[i].board_icon + '" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + arg.main[i].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
}
if (arg.main[i].field == '') {
if (arg.main[i].research_areas == '') {
var dis_line = ''
} else {
var dis_line = 'Research areas: ' + arg.main[i].field
var dis_line = '<b>Research areas: </b>' + arg.main[i].research_areas
}
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].name + '</a>, '
+ arg.main[i].dr + ' ' + arg.main[i].title + '<br/>' + arg.main[i].email + '<br/>'
+ arg.main[i].address + ' ' + arg.main[i].country + '<br/>' + dis_line + icon_img + '</li><br><br>'
'<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;">' +
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>'
}
}
}
if (arg.remain == undefined) {
@@ -216,20 +227,27 @@ function notice_con() {
} else {
str += '<b>Vice Editor-in-Chief</b><br><br>'
for (var i = 0; i < arg.remain.length; i++) {
if (arg.remain[i].board_icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
if (arg.remain[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;">'
} else {
var icon_img = '<img src="' + apiUrlImg + arg.remain[i].board_icon + '" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + arg.remain[i].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
}
if (arg.remain[i].field == '') {
if (arg.remain[i].research_areas == '') {
var dis_line = ''
} else {
var dis_line = 'Research areas: ' + arg.remain[i].field
var dis_line = '<b>Research areas: </b>' + arg.remain[i].research_areas
}
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].name + '</a>, '
+ arg.remain[i].dr + ' ' + arg.remain[i].title + '<br/>' + arg.remain[i].email + '<br/>'
+ arg.remain[i].address + ' ' + arg.remain[i].country + '<br/>' + dis_line + icon_img + '</li><br><br>'
'<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;">' +
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>'
}
@@ -237,52 +255,154 @@ function notice_con() {
str += ''
} else {
str += '<b>Editorial Board Members</b><br><br>'
// 未分组
$.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) {
if(key == 'nogroup'){
for (var j = 0; j < arg.member[key].length; j++) {
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;">'
} 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;">'
}
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].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>'
}
}
}
}
}
})
// 有分组
$.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) {
if(key != 'nogroup'){
str += '<b>' + key + '</b><br><br>'
for (var j = 0; j < arg.member[key].length; j++) {
if (arg.member[key][j].board_icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
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;">'
} else {
var icon_img = '<img src="' + apiUrlImg + arg.member[key][j].board_icon + '" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;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].field == '') {
if (arg.member[key][j].research_areas == '') {
var dis_line = ''
} else {
var dis_line = 'Research areas: ' + arg.member[key][j].field
var dis_line = '<b>Research areas: </b>' + arg.member[key][j].research_areas
}
if (arg.member[key][j].name == 'Jian Hao' || arg.member[key][j].name == 'Mathew Goss' || arg.member[key][j].name == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].name == 'Richard Shane Palmer' || arg.member[key][j].name == '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 != ''){
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].name + '</a>, '
+ arg.member[key][j].dr + ' ' + arg.member[key][j].title + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].address + '<br/>' + dis_line + icon_img + '</li><br><br>'
'<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].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].name + '</a>, '
+ arg.member[key][j].dr + ' ' + arg.member[key][j].title + '<br/>' + arg.member[key][j].email + '<br/>'
+ arg.member[key][j].address + ' ' + arg.member[key][j].country + '<br/>' + dis_line + icon_img + '</li><br><br>'
'<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].board_icon == '') {
var icon_img = '<img src="img/rev_user.png" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
} else {
var icon_img = '<img src="' + apiUrlImg + arg.member[key].board_icon + '" style="position: absolute;left: 0;top: 0;width: 75px;height: 75px;border-radius: 10px;">'
}
if (arg.member[key].field == '') {
var dis_line = ''
} else {
var dis_line = 'Research areas: ' + arg.member[key].field
}
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px;width: 605px;">' +
'<a href="' + arg.member[key].website + '" target="_blank" style="color: #006699">' + arg.member[key].name + '</a>, '
+ arg.member[key].dr + ' ' + arg.member[key].title + '<br/>' + arg.member[key].email + '<br/>'
+ arg.member[key].address + ' ' + arg.member[key].country + '<br/>' + dis_line + icon_img + '</li><br><br>'
}}
}
})
str += '<br>'
}
// 期刊委员会
if(committees && committees.length > 0){
str += '<b>Academic Integrity Committee</b><br><br>'
for (var i = 0; i < committees.length; i++) {
if (committees[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;">'
} else {
var icon_img = '<img src="' + apiSubmission + 'public/usericon/' + committees[i].icon + '" style="position: absolute;left: 0;top: 0;width: 75px; height:auto; border-radius: 10px;">'
}
if (committees[i].research_areas == '') {
var dis_line = ''
} else {
var dis_line = '<b>Research areas: </b>' + committees[i].research_areas
}
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;">' +
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{
str += '';
}
// 期刊编辑
if(editors && editors.length > 0){
str += '<b>Editors & Staff</b><br><br>'
for (var i = 0; i < editors.length; i++) {
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;">'
} 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;">'
}
if(editors[i].website != ''){
str += '<li style="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>,'
+ editors[i].editor_title + '<br/>' + editors[i].email + '<br/>'
+ icon_img + '</li>'
}else{
str += '<li style="position: relative;padding-left: 100px;margin-bottom: 30px; width: 200px; float:left; margin-right:10px;">' +
editors[i].realname + ', '
+ editors[i].editor_title + '<br/>' + editors[i].email + '<br/>'
+ icon_img + '</li>'
}
}
str += '<li style="clear:both">';
}else{
str += ''
}
$('.topics>div').append('<ul style="overflow: hidden;">' + str + '</ul>');

View File

@@ -68,13 +68,14 @@ function sy_index() {
$('#com_index').selectivity({
allowClear: true,
items: new_arry,
placeholder: 'Please choose topics'
placeholder: 'Please select a topic'
})
$('.es_serch_btn').click(function () {
$('.es_serch_span').css('display', 'none')
if ($('#com_index').selectivity('val') == null) {
$('.es_serch_span').css('display', 'block')
ShowDanger("Request was aborted");
} else {
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));
@@ -96,7 +97,7 @@ function sy_index() {
if (result.code == 0) {
var arr = result.data.specials;
var str = "";
for (var i = 0; i < 2; i++) {
for (var i = 0; i < 1; i++) {
if ($.cookie("username") != undefined && $.cookie("user_id") != undefined) {
var co_sp_user = 'contribu_list.html?J_num=' + arr[i].journal_id + '&&special_id=' + arr[i].journal_special_id;
} else {
@@ -111,8 +112,8 @@ function sy_index() {
'<a href="' + co_sp_user + '" class="gue_submin" target="_blank">Submit Article</a>' +
'</div></div><br clear="both"></li>'
}
$('.sy_splis>div>a').attr('href', 'artihom_list.html?J_num=' + Jour_num + '&issu_id=' + Jour_num);
$('.sy_splis>div>ul.sy_spls_list').html(str + '<br clear="both">');
// $('.sy_splis>div>a').attr('href', 'artihom_list.html?J_num=' + Jour_num + '&issu_id=' + Jour_num);
// $('.sy_splis>div>ul.sy_spls_list').html(str + '<br clear="both">');
} else {
@@ -8136,13 +8137,14 @@ function art_wisdom() {
$('#com_index').selectivity({
allowClear: true,
items: new_arry,
placeholder: 'Please choose topics'
placeholder: 'Please select a topic'
})
$('.es_serch_btn').click(function () {
$('.es_serch_span').css('display', 'none')
if ($('#com_index').selectivity('val') == null) {
$('.es_serch_span').css('display', 'inline')
$('.es_serch_span').text('Please select a topic')
ShowDanger("Request was aborted");
} else {
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));
@@ -8372,13 +8374,13 @@ function rev_ver() {
$('#com_index').selectivity({
allowClear: true,
items: new_arry,
placeholder: 'Please choose topics'
placeholder: 'Please select a topic'
})
$('.es_serch_btn').click(function () {
$('.es_serch_span').css('display', 'none')
if ($('#com_index').selectivity('val') == null) {
$('.es_serch_span').css('display', 'inline')
$('.es_serch_span').css('display', 'inline')
ShowDanger("Request was aborted");
} else {
window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val'));

View File

@@ -4,6 +4,12 @@ $('.art_side').load('./side.html');
// 底部
$('.footer').load('./footer.html')
$( document ).ready(function() {
// console.log( "document loaded" );
$('#kezuoB').hide();
// console.log( $('#kezuoB') );
});
// 期刊基础、外链、分期、话题信息加载
function side_list() {