var commonSupColor = 'rgb(0,112,192)'//上角标颜色 var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色 var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色 function loadMathJax(callback) { const script = document.createElement('script'); // 可选:配置 MathJax(必须在加载 script 前设置) window.MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']], displayMath: [['$$', '$$'], ['\\[', '\\]']] }, startup: { typeset: false // 不自动 typeset,手动触发更灵活 } }; script.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'; script.onload = callback; document.head.appendChild(script); } loadMathJax() var script = document.createElement('script'); script.src = '/js/not_map.js'; var script1 = document.createElement('script'); script1.src = '/echarts-master/echarts.min.js'; var script2 = document.createElement('script'); script2.src = '/echarts-master/world.js'; document.head.appendChild(script1); document.head.appendChild(script2); document.head.appendChild(script); // 列表 function at_list() { function adjustNavHeight() { var windowHeight = window.innerHeight; // 获取页面高度 $(".anchor-nav").css("height", windowHeight + "px"); // 设置导航栏高度为页面高度 } // 页面加载时调整导航栏高度 adjustNavHeight(); // 窗口大小变化时调整导航栏高度 $(window).resize(function () { adjustNavHeight(); // 重新调整导航栏高度 }); // 获取地址栏信息 function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } var J_ID = getQueryString('J_num'); //期刊 var t_ID = getQueryString('t_id'); //话题 var y_ID = getQueryString('y_id'); //分期时间 var p_ID = getQueryString('p_id'); //New Papers var o_ID = getQueryString('o_id'); //Online First var n_ID = getQueryString('n_id'); //News & Commentdian var new_ID = getQueryString('new_id'); //News var con_ID = getQueryString('con_id'); //Commentdian var h_ID = getQueryString('h_id'); //Highlights var cite_ID = getQueryString('cite_id'); //Top cited var read_ID = getQueryString('read_id'); //Top read var down_ID = getQueryString('down_id'); //Top download var top_ID = getQueryString('top_id'); //Top cited / Top read / Top download var time_ID = getQueryString('time_id'); //时间轴 var shenCode = [] // 审稿意见(复审和初审) // 话题点进去的文章列表 // if (t_ID != null) { // // 增加访问次数 // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num }, // success: function (result) { // if (result.code == 0) { // } else { // // ShowDanger("请求失败!"); // } // }, // error: function () { // // ShowDanger("error!"); // } // }); // // 话题 // var topic_mess = {}; // topic_mess.topic_id = t_ID; // topic_mess.pageIndex = 1; // topic_mess.pageSize = 10; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = topic_mess.pageIndex;//当前页码 // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // // 时间轴 // if (t_ID != '369') { // $('.wenz_list .about2').css('display', 'none') // } // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getJournalLine', // data: { // "journal_id": Jour_num // }, // success: function (result) { // if (result.code == 0) { // var arr = result.data.lines; // var str = ""; // var dis_ = ''; // for (var i = 0; i < arr.length; i++) { // if (i == arr.length - 1) { // if (i == 0) { // dis_ = '20' // } else { // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 130); // } // str += '
  • ' + arr[i].time + '

    ' + // '' + // '

    >> ' + arr[i].title + '

    ' + // '' + // '

    ' + arr[i].intro + '

  • ' // } else { // if (arr[i].time == arr[i + 1].time) { // if (i == 0) { // dis_ = '20' // } else { // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 130); // } // str += '
  • ' + arr[i].time + '

    ' + // '' + // '

    >> ' + arr[i].title + '

    ' + // '' + // '

    ' + arr[i].intro + '

    ' + // '' + // '

    >> ' + arr[i + 1].title + '

    ' + // '' + // '

    ' + arr[i + 1].intro + '

  • ' // i = i + 1; // } else { // if (i == 0) { // dis_ = '20' // } else { // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 130); // } // str += '
  • ' + arr[i].time + '

    ' + // '' + // '

    >> ' + arr[i].title + '

    ' + // '' + // '

    ' + arr[i].intro + '

  • ' // } // } // } // if (Jour_num == '1' && t_ID == '369') { // $('.wenz_list>.about2 ul').html(str); // $('#kkpager').css('display', 'none') // $('.gue_chinese_tot').css('display', 'none') // } else { // $('.wenz_list .about2').css('display', 'none') // } // } else { // // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopicArticles', // data: topic_mess, // success: function (result) { // if (result.code == 0) { // totalPage = result.data.count % topic_mess.pageSize == 0 ? (result.data.count / topic_mess.pageSize) : (Math.ceil(result.data.count / topic_mess.pageSize)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html(result.data.topicInfo.title); // if (result.data.topicInfo.intro != '') { // $('.wenz_list>h4').after('

    ' + result.data.topicInfo.intro + '

    '); // } // // 古籍按钮 // if (t_ID == '368') { // $('.wenz_list>h4').append('Ancient Medical Books') // } // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '' || arr[i].npp == ' ') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (localStorage.Journals_num == '22') { // var c_t_a = '' // } else { // var c_t_a = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + c_t_a + tong_geogle + // '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // if (Jour_num == '22') { // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // topic_mess.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopicArticles', // data: topic_mess, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html(result.data.topicInfo.title); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '' || arr[i].npp == ' ') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (localStorage.Journals_num == '22') { // var c_t_a = '' // } else { // var c_t_a = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + c_t_a + tong_geogle + // '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: '首页', // firstPageTipText: '首页', // lastPageText: '尾页', // lastPageTipText: '尾页', // prePageText: '上一页', // prePageTipText: '上一页', // nextPageText: '下一页', // nextPageTipText: '下一页', // totalPageBeforeText: ' 共 ', // totalPageAfterText: ' 页', // currPageBeforeText: '当前第 ', // currPageAfterText: ' 页', // totalInfoSplitStr: ' ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // topic_mess.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopicArticles', // data: topic_mess, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html(result.data.topicInfo.title); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '' || arr[i].npp == ' ') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // 分期时间的文章列表 // if (y_ID != null) { // // 分期时间 // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", J_ID); // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getStageArticles', // data: { // "stage_id": y_ID // }, // success: function (result) { // if (result.code == 0) { // var atg = result.data.stageInfo; // if (atg.stage_no == '0') { // var time_ = atg.issue_date + ', Volume ' + atg.stage_vol; // } else { // var time_ = atg.issue_date + ', Volume ' + atg.stage_vol + ' Issue ' + atg.stage_no; // } // if (atg.stage_no == '0') { // var act_year = atg.stage_year + ', ' + atg.stage_vol; // } else { // var act_year = atg.stage_year + ', ' + atg.stage_vol + ' (' + atg.stage_no + ')'; // } // $('.wenz_list>h4').html(time_); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '' || arr[i].npp == ' ') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].has_mains == 0) { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML   ' // } // } else { // var html_ = 'HTML   ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if (arr[i].cite_num == 0) { // var cite_ = '' // } else { // var cite_ = ` WOS Citations ( ${arr[i].cite_num}  ) // ` // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (Jour_num == 1) { // if (arr[i].stage_year >= 2019) { // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // } else { // var img_i = 'img/baiss.png' // } // } else if (Jour_num == 4 && Jour_num == 8 && Jour_num == 14) { // if (arr[i].stage_year >= 2020) { // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // } else { // var img_i = 'img/baiss.png' // } // } else { // if (arr[i].stage_year > 2020) { // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // } else { // var img_i = 'img/baiss.png' // } // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // if (arr[i].journal_id == 22) { // var c_t_a = '' // } else { // var c_t_a = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle + // '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + arr[i].journal_title + '. ' + act_year + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.export_cite').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export_cite') && !$(e.target).is('.cite_box')) { // $('.export_cite').hide(); // } // }) // $('.cite_box').click(function () { // $('.export_cite').css('display', 'none'); // getCiteList($(this).attr('article_id')) // $(this).find('.export_cite').fadeIn(200); // }) // $('.export_cite').click(function (e) { e.stopPropagation() }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // New Papers点进去的文章列表 // if (p_ID != null) { // //New Papers // localStorage.setItem("Journals_num", p_ID); // $.ajax({ // type: 'post', url: apiUrl + 'api/Main/getMoreArticles', // data: {}, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('New Papers'); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].html == 0) { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Online First点进去的文章列表 // if (o_ID != null) { // //Online First // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", o_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var online_first = {}; // online_first.pageIndex = 1; // online_first.pageSize = 10; // online_first.journal_id = o_ID; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = online_first.pageIndex;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getOnlineArticle', // data: online_first, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('Online First'); // totalPage = result.data.count % online_first.pageSize == 0 ? (result.data.count / online_first.pageSize) : (Math.ceil(result.data.count / online_first.pageSize)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articlelist; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // if (arr[i].abstract != null) { // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // } // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // online_first.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getOnlineArticle', // data: online_first, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html('Online First'); // var arr = result.data.articlelist; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // News & Commentdian点进去的文章列表 // if (n_ID != null) { // // Highlights // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", n_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var high_top = {}; // high_top.page = 1; // high_top.limit = 10; // high_top.journal_id = n_ID; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = high_top.page;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getNewsArticleNew', // data: { // "journal_id": n_ID, // "limit": 10, // "page": 1 // }, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('News & Comment'); // totalPage = result.data.count % high_top.limit == 0 ? (result.data.count / high_top.limit) : (Math.ceil(result.data.count / high_top.limit)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articlelist; // var str = ""; // var sgr = ""; // var n_ = "0"; // var c_ = "0"; // for (var i = 0; i < arr.length; i++) { // if (arr[i].type == 'News') { // n_ = '1'; // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].html_num == 0) { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } else if (arr[i].type == 'Comment') { // c_ = '1'; // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // sgr += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // } // if (n_ == "0") { // str = '' // } else { // str = '

    News

    ' + '
    ' // } // if (c_ == "0") { // sgr = '' // } else { // sgr = '

    Comment

    ' // } // $('.wenz_list').html(str + sgr); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // // var totalPage;//总页码 // // var totalRecords;//总数据条数 // // var pageNo = high_top.pageIndex;//当前页码 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalPage, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // high_top.page = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getNewsArticleNew', // data: high_top, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articlelist; // var str = ""; // var sgr = ""; // var n_ = "0"; // var c_ = "0"; // for (var i = 0; i < arr.length; i++) { // if (arr[i].type == 'News') { // n_ = '1'; // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].html_num == 0) { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } else if (arr[i].type == 'Comment') { // c_ = '1'; // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // sgr += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // } // if (n_ == "0") { // str = '' // } else { // str = '

    News

    ' + '
    ' // } // if (c_ == "0") { // sgr = '' // } else { // sgr = '

    Comment

    ' // } // $('.wenz_list').html(str + sgr); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // News点进去的文章列表 // if (new_ID != null) { // // News // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", new_ID); // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getNewsArticle', // data: { // "journal_id": new_ID // }, // success: function (result) { // if (result.code == 0) { // if (Jour_num == 1) { // $('.wenz_list>h4').after('

    News should focus on policy, science and society or purely scientific issues related to traditional medicine around the world. They should be of immediate interest to a broad readership and should be written in an accessible, non-technical style. Figures and diagrams are encouraged, but are not a requirement. News articles are not peer-reviewed, but undergo editing after consultation with the author.

    '); // } // $('.wenz_list>h4').html('News'); // // var doi_ = ''; // // var npp_ = ''; // var arr = result.data.articlelist; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // if (arr[i].type == 'News') { // str += '
  • ' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '
    ' // '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '


  • ' // } // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Comment点进去的文章列表 // if (con_ID != null) { // // Comment // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", con_ID); // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getNewsArticle', // data: { // "journal_id": con_ID // }, // success: function (result) { // if (result.code == 0) { // if (Jour_num == 1) { // $('.wenz_list>h4').after('

    We welcome influential scientists to write a field of vision commentary on recent perspectives of seminal articles, hot topic articles, or the latest articles in the research field, to keep readers at the forefront of research and increase the impact of their clinical research. Seminal (classic) articles are papers that included in the Web of Science and reflecting the article’s quality and their impact on the field. Hot topic articles are papers that included in the Web of Science and reflecting their representation of cutting-edge trends in scientific research. Comments are typically no longer than 1,500 words and include up to 25 references.

    '); // } // $('.wenz_list>h4').html('Comment'); // // var doi_ = ''; // // var npp_ = ''; // var arr = result.data.articlelist; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // if (arr[i].type == 'Comment') { // str += '
  • ' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '
    ' // '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '


  • ' // } // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Highlights点进去的文章列表 // if (h_ID != null) { // // Highlights // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", h_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var high_top = {}; // high_top.pageIndex = 1; // high_top.pageSize = 10; // high_top.journal_id = h_ID; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = high_top.pageIndex;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getTopArticle', // data: { // "journal_id": h_ID, // "pageIndex": '1', // "pageSize": '10' // }, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('Highlights'); // totalPage = result.data.count % high_top.pageSize == 0 ? (result.data.count / high_top.pageSize) : (Math.ceil(result.data.count / high_top.pageSize)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articles; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // high_top.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getTopArticle', // data: high_top, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articles; // $('.wenz_list>h4').html('Highlights'); // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Top cited点进去的文章列表 // if (cite_ID != null) { // // cited // localStorage.setItem("Journals_num", cite_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var cited_top = {}; // cited_top.pageIndex = 1; // cited_top.pageSize = 10; // cited_top.journal_id = cite_ID; // cited_top.type = 'cited'; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = cited_top.pageIndex;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopArt', // data: cited_top, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('Top cited'); // totalPage = result.data.count % cited_top.pageSize == 0 ? (result.data.count / cited_top.pageSize) : (Math.ceil(result.data.count / cited_top.pageSize)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // cited_top.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopArt', // data: cited_top, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html('Top cited'); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Top read点进去的文章列表 // if (read_ID != null) { // // read // localStorage.setItem("Journals_num", read_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var read_top = {}; // read_top.pageIndex = 1; // read_top.pageSize = 10; // read_top.journal_id = read_ID; // read_top.type = 'read'; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = read_top.pageIndex;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopArt', // data: read_top, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('Top read'); // totalPage = result.data.count % read_top.pageSize == 0 ? (result.data.count / read_top.pageSize) : (Math.ceil(result.data.count / read_top.pageSize)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // read_top.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopArt', // data: read_top, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html('Top read'); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Top down点进去的文章列表 // if (down_ID != null) { // // down // localStorage.setItem("Journals_num", down_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var down_top = {}; // down_top.pageIndex = 1; // down_top.pageSize = 10; // down_top.journal_id = down_ID; // down_top.type = 'download'; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = down_top.pageIndex;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopArt', // data: down_top, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html('Top download'); // totalPage = result.data.count % down_top.pageSize == 0 ? (result.data.count / down_top.pageSize) : (Math.ceil(result.data.count / down_top.pageSize)); // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // down_top.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Article/getTopArt', // data: down_top, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html('Top download'); // var arr = result.data.articleList; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // Top cited / Top read / Top download点进去的文章列表 // if (top_ID != null) { // // Top // $('.art_side').css('display', 'none'); // $('.art_main_con').css('width', '1070px'); // $('.new_art > h4').css('padding', ' 0 4px 16px 6px'); // localStorage.setItem("Journals_num", top_ID); // $('.art_main_con').append('
    ') // $('.wenz_list').append('
    all total
    ') // var top_top = {}; // top_top.pageIndex = 1; // top_top.pageSize = 10; // top_top.journal_id = top_ID; // var totalPage;//总页码 // var totalRecords;//总数据条数 // var pageNo = top_top.pageIndex;//当前页码 // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getTopArticle', // data: top_top, // success: function (result) { // if (result.code == 0) { // if (localStorage.Journals_num == '22') { // $('.wenz_list>h4').html('推荐文章'); // } else { // $('.wenz_list>h4').html('Highlights'); // } // 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); // var arr = result.data.articles; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // if (localStorage.Journals_num == '22') { // var c_t_a = '' // } else { // var c_t_a = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + c_t_a + tong_geogle + // '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // //生成分页 // //有些参数是可选的,比如lang,若不传有默认值 // kkpager.generPageHtml({ // pno: pageNo, // //总页码 // total: totalPage, // //总数据条数 // totalRecords: totalRecords, // mode: 'click',//默认值是link,可选link或者click // click: function (n) { // this.selectPage(n); // //除了第一页写逻辑跳转 // top_top.pageIndex = n; // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getTopArticle', // data: top_top, // success: function (result) { // if (result.code == 0) { // totalRecords = result.data.count; // $('.wenz_list .tioashu').html(result.data.count); // $('.wenz_list>h4').html('Highlights'); // var arr = result.data.articles; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].stage_no == '0') { // var stage_ = '' // } else { // var stage_ = ' (' + arr[i].stage_no + ')' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + stage_ + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.goup-container').click(); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', // url: apiUrl + 'yuan/Article/addArticleNum', // async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // return false; // }, lang: { // firstPageText: 'First page', // firstPageTipText: 'First page', // lastPageText: 'Last page', // lastPageTipText: 'Last page', // prePageText: 'Previous page', // prePageTipText: 'Previous page', // nextPageText: 'Next page', // nextPageTipText: 'Next page', // totalPageBeforeText: '', // totalPageAfterText: '', // currPageBeforeText: 'on page ', // currPageAfterText: '', // totalInfoSplitStr: ' of ', // totalRecordsBeforeText: '', // totalRecordsAfterText: '', // gopageBeforeText: '   Go to page', // gopageButtonOkText: 'Go', // gopageAfterText: 'page', // buttonTipBeforeText: '第', // buttonTipAfterText: '页' // } // }); // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } // 时间轴点进去的文章列表 // if (time_ID != null) { // // 时间轴 // localStorage.setItem("Journals_num", J_ID); // $.ajax({ // type: 'post', url: apiUrl + 'api/Journal/getJournalLineArt', // data: { // "journal_line_id": time_ID // }, // success: function (result) { // if (result.code == 0) { // $('.wenz_list>h4').html(result.data.journalLine.title); // // var doi_ = ''; // // var npp_ = ''; // var arr = result.data.articles; // var str = ""; // for (var i = 0; i < arr.length; i++) { // if (arr[i].doi == '') { // var doi_ = '' // } else { // var doi_ = 'https://doi.org/' + arr[i].doi // } // if (arr[i].npp == '') { // var npp_ = '' // } else { // var npp_ = ': ' + arr[i].npp + '.  ' // } // if (arr[i].mains == '') { // if (arr[i].file_html == '') { // var html_ = '' // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // } else { // var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' // } // if (arr[i].file_pdf == '') { // var pdf_ = '' // } else { // var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' // } // if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { // var tong_geogle = ' ' + // 'Google Scholar' //搜索引用次数 // } else { // var tong_geogle = '' //少于21天隐藏 // } // if (arr[i].article_id == '172') { // var mp4_ = '' // } else { // var mp4_ = '' // } // if (arr[i].icon == '') { // var img_i = 'img/baiss.png' // } else { // var img_i = imgarticleUrl + arr[i].icon // } // if (arr[i].other_state == 0) { // var otStat = '' // } else if (arr[i].other_state == 1) { // var otStat = 'Editorial Expression of Concern' // } else if (arr[i].other_state == 2) { // var otStat = 'Retracted' // } // if (arr[i].isShowOtime == 1) { // if (arr[i].pub_date == '') { // var pub_date = '' // } else { // var pub_date = '
    Published Date: ' + arr[i].pub_date + '
    ' // } // } else { // var pub_date = '' // } // if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { // var person_img = '' // } else { // var person_img = '' // } // arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + // html_ + pdf_ + mp4_ + // '' + // tong_geogle + '

    ' + arr[i].cite + '

    ' + // '
    ' + arr[i].abstract + '
    '; // 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, "") // abstNew = abstNew.substring(0, maxwidth) // abstNew = abstNew.substring(0, maxwidth - abstNew.split(" ").pop().length) // var trad_tion = '
    ' + abstNew + '...
    ' // } else { // var trad_tion = '
    ' + arr[i].abstract + '
    ' // } // } else { // var trad_tion = '

    ' + arr[i].tradition_tag + '

    ' + arr[i].tradition + '

    ' // } // var lr_top = '' // for (var t = 0; t < arr[i].topic.length; t++) { // lr_top += '' + arr[i].topic[t].title + '' // } // str += '
  • ' + arr[i].type + pub_date + '
    ' + lr_top + '
    ' + // '' + otStat + arr[i].title + '' + // '
    ' + arr[i].authortitle + '
    ' // + localStorage.getItem("Journals_title") + '. ' + arr[i].stage_year + ', ' + arr[i].stage_vol + ' (' + arr[i].stage_no + ')' + npp_ + // '' + doi_ + '' + // '
    ' + person_img + '' // + trad_tion + '
  • ' // } // $('.wenz_list>ul').html(str); // $('.links_ .txt_copy').css('background', localStorage.Journals_color); // // 点击Abstract显示隐藏 // $('.txt_zhaiyao').click(function () { // $(this).nextAll('div').toggle(); // if ($(this).nextAll('div').css("display") == 'block') { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'abs' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // } // }) // $('.txt_html').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'html' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // $('.txt_pdf').click(function () { // var num = $(this).next().html(); // $.ajax({ // type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, // data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, // success: function (result) { // if (result.code == 0) { // num = num * 1 + 1 * 1 // } // } // }) // $.ajax({ // type: 'post', url: apiUrl + 'super/Publish/addVisitNum', // data: { 'type': Jour_num, 'is_detail': '1' }, // success: function (result) { // } // }); // $(this).next().html(num); // }) // // 点击弹窗出现 复制和下载 // $('.txt_content').css('display', 'none'); // $('.export').css('display', 'none'); // $(document).click(function (e) { // if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { // $('.export').hide(); // } // }) // $('.txt_copy').click(function () { // $('.export').css('display', 'none'); // $(this).find('.export').fadeIn(200); // }) // $('.Exc_1').click(function () { // var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); // var clipboard = new Clipboard('#' + $(this).attr('id'), { // text: function () { // return content_; // } // }) // clipboard.on('success', function (e) { // ShowSuccess("Citation information has been copied!"); // }); // }) // $('.Exc_2').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_3').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_4').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // $('.Exc_5').click(function () { // 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 }, // success: function (result) { // var a = document.createElement('a'); // a.href = result.data.url; // a.download = '' // a.click(); // } // }) // }) // } else { // ShowDanger("请求失败!"); // } // }, // error: function () { // ShowDanger("error!"); // } // }) // } } // 时间戳格式化 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 getCitations(doi, a_ID) { // var doi = '10.53388/IMD202408001'; $('.article-quote-box').css({ width: '25%', 'margin-right': '0px', 'border-right': '1px solid ' + localStorage.Journals_color, }) $('.DimensionsBadge .quote-source').html('Dimensions Badge') $('.SciteBadge .quote-source').html('Scite Badge (Wiley)') $('.Crossref .quote-source').html('Crossref') $('.Crossref').css({ 'border-right': 'none' }) $('.Wos .quote-source').html('Wos') var list = [doi]; $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleCites', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var str1 = `
    ${result.data.list && result.data.list.length > 0 ? result.data.list.length : 0}
    ` var journalCiteStr = "" $('.Wos .quote-content1').html(str1) var arr = result.data.list for (let i in arr) { journalCiteStr += `

    ${Number(i) + 1}.

    ${arr[i].article_name}

    ${arr[i].journal_name}, ${arr[i].author ? `${arr[i].author},` : ''} ${arr[i].journal_name}${arr[i].vol ? `${arr[i].vol},` : ''} https://doi.org/${arr[i].doi}

    ` } if (result.data.list && result.data.list.length > 0) { $('.WosNumber').click(function () { var infoStr = `Citations registered in Wos` $('#framed_div .info-box').html(infoStr); $('#framed_div .quote-content').html(journalCiteStr); $('#framed_div').addClass('isWos'); if ($('#framed_div').hasClass('openCrossref')) { if ($('#framed_div').hasClass('isCrossref')) { $('#framed_div').removeClass('isCrossref'); $('#framed_div').removeClass('openCrossref'); setTimeout(() => { $('#framed_div').addClass('openCrossref'); }, 100) } else { $('#framed_div').removeClass('openCrossref'); $('#framed_div').removeClass('isWos'); } } else { $('#framed_div').addClass('isWos'); $('#framed_div').addClass('openCrossref'); } }) } } } }) //Dimensions Badge $.ajax({ type: 'get', url: 'https://metrics-api.dimensions.ai/doi/' + doi,//正式环境 success: function (result) { console.log('result at line 212:', result) // var str = `` $('.DimensionsBadge a').attr('href', 'https://badge.dimensions.ai/details/doi/' + doi) var str = `
    ${result.times_cited}
    ` $('.DimensionsBadge .quote-content').html(str) }, error: function (result) { console.log('result at line 212:', result) // var str = `` var str = `
    0
    ` $('.DimensionsBadge .quote-content').html(str) } }) //Scite Badge (Wiley) $.ajax({ type: 'post', url: 'https://api.scite.ai/tallies',//正式环境 contentType: "application/json", dataType: "json", data: JSON.stringify(list), success: function (result) { console.log('result at line 212:', result) for (let i in result.tallies) { $('.SciteBadge a').attr('href', 'https://scite.ai/reports/' + i) var str1 = `
    ${result.tallies[i]['citingPublications']}
    ` } $('.SciteBadge .quote-content1').html(str1) }, error: function (result) { console.log('result at line 212:', result) var str1 = `
    0
    ` $('.SciteBadge .quote-content1').html(str1) } }) $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleDetailCites', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var str1 = `
    ${result.data && result.data.length > 0 ? result.data.length : 0}
    ` var journalCiteStr = "" $('.Crossref .quote-content1').html(str1) var arr = result.data for (let i in arr) { journalCiteStr += `

    ${Number(i) + 1}.

    ${arr[i].article_title}

    ${arr[i].journal_title}, ${arr[i].year} https://doi.org/${arr[i].doi}

    ` } if (result.data && result.data.length > 0) { $('.crossrefNumber').click(function () { var infoStr = `Citations registered in CrossRef` $('#framed_div .info-box').html(infoStr); $('#framed_div .quote-content').html(journalCiteStr); $('#framed_div').addClass('isCrossref'); if ($('#framed_div').hasClass('openCrossref')) { if ($('#framed_div').hasClass('isWos')) { $('#framed_div').removeClass('isWos'); $('#framed_div').removeClass('openCrossref'); $('#framed_div').addClass('isCrossref'); setTimeout(() => { $('#framed_div').addClass('openCrossref'); }, 100) } else { $('#framed_div').removeClass('openCrossref'); $('#framed_div').removeClass('isCrossref'); } } else { $('#framed_div').addClass('isCrossref'); $('#framed_div').addClass('openCrossref'); } }) } } } }) } // 文章内容 function article_con() { var newBox = document.querySelector('.newBox'); var commonPopupStr = `
    ×

    `; // 将弹窗插入到页面中 newBox.insertAdjacentHTML('beforeend', commonPopupStr); console.log('js at line 7241:', '是否走了详情js') console.log('详情js', localStorage.Journals_title); // 获取地址栏信息 function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } var a_ID = getQueryString('a_id'); //文章 var htm_ID = getQueryString('s_htm'); //目前显示html const isPre = getQueryString('preview'); if(!isPre){ initArticleNavList(a_ID) } // 增加访问次数 if (Jour_num == 1 || Jour_num == 11 || Jour_num == 25) { var CiteScoreStr = '' var marginLeft = 20 if (Jour_num == 1) { CiteScoreStr = '1.9'; marginLeft = 10 } else if (Jour_num == 11) { CiteScoreStr = '0.3'; } else if (Jour_num == 25) { CiteScoreStr = '1.5'; } if (Jour_num == 1) { // $('#top_bar .nav_ban h2 img').css('zoom','0.75') $('#top_bar .nav_ban h1').append(`
    Impact Factor 1.3
    `) } $('#top_bar .nav_ban h1').append(`
    Cite Score ${CiteScoreStr}
    `) } if (isPre) { $('#top_bar .top').css('display', 'none') $('.wen_rong .content-box .conthtmn').html(`
    接收到来自父页面的数据:
    ` ); $.ajax({ type: 'post', url: apiUrl + 'api/Article/getHtmlByPAID', data: { "p_article_id": a_ID }, success: function (res) { if (res.code == 0) { var arr = res.data.list; initArticleHtmlFun(arr, res, 2) } }, error: function () { // ShowDanger("error!"); } }) // window.addEventListener('message', function (event) { // // if (event.origin !== 'https://submission.tmrjournals.com') return; // const result = event.data; // console.log('接收到来自父页面的数据:', result); // if (result) { // var j_artc = { ...result } // // 文章路径基本信息 // var j_our = // { // title: result.journal_title, // journal_id: result.journal_id, // } // var j_info = {}; // $('.wen_jian .left>span a').html(j_our.title); // localStorage.setItem("Journals_num", j_our.journal_id); // if (j_artc.doi == '') { // var doi_ = '' // } else { // var doi_ = 'DOI:' + j_artc.doi // } // var stage_ = '' // if (j_artc.npp == '' || j_artc.npp == ' ') { // var npp_ = '' // } else { // // if (j_info.stage_pagename == 'pp.') { // // var npp_ = j_artc.npp + '     ' // // } else { // var npp_ = j_artc.npp + '     ' // // } // } // var our_time = '' // $('.wen_jian .left>span').append(our_time); // $('.wen_jian .left>h4').html(j_artc.title); // // 文章基本作者机构 // var str = ''; // var j_authior = j_artc.authors; // var stra = ''; // var Corr_Auth = ''; // var Corr_Emai = ''; // var rep = ''; // var rep_pd = ''; // var ORC_ID = ''; // var report_num = 0; // for (var i = 0; i < j_authior.length; i++) { // rep = ''; // var mes = ''; // if (j_authior[i].is_first == '1') { // rep = '#' // rep_pd += '#' // } // if (j_authior[i].is_report == '1') { // rep += '*' // mes = ' () ' // Corr_Auth += ' ' + j_authior[i].author_name + ','; // Corr_Emai += ' ' + j_authior[i].email + ','; // report_num += 1; // } // if (j_authior[i].orcid == '') { // ORC_ID = '' // } else { // ORC_ID = '' // } // if (i == j_authior.length - 1) { // stra += j_authior[i].author_name + '' + j_authior[i].ors + rep + '' + ORC_ID + mes // } else { // stra += j_authior[i].author_name + '' + j_authior[i].ors + rep + '' + ORC_ID + mes + ', ' // } // } // str += stra + '
    '; // var j_organ = j_authior.filter((e) => e.organs); // var strg = ''; // for (var i = 0; i < j_organ.length; i++) { // strg += '' + j_organ[i].alias + ' ' + j_organ[i].organ_name + '
    ' // } // str += strg; // $('.wen_jian .left>div.zuo_zhe').html(str); // if (rep_pd == "#") { // $('.wen_jian .left>div').each(function () { // $(this).html($(this).html().split("#").join("")); // }); // } // if (report_num != 1) { // $('.coau b').html('Corresponding authors:'); // } // if (Jour_num == 1) { // j_artc.abstract = j_artc.abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") // } // // 文章内容 // Corr_Auth = Corr_Auth.replace(/,$/, "") // Corr_Emai = Corr_Emai.replace(/,$/, "") // $('.wen_rong .content-box .contercon .abst').html(j_artc.abstract); // $('.wen_rong .content-box .contercon .keyw span').html(j_artc.keywords); // $('.wen_rong .content-box .contercon .fund span').html(j_artc.fund); // $('.wen_rong .content-box .contercon .coau span').html(Corr_Auth); // $('.wen_rong .content-box .contercon .emai span').html(Corr_Emai); // $('.wen_rong .content-box .contercon .cite span').html(result.data.cite); // $('.wen_rong .content-box .contercon .time span').html(j_artc.pub_date); // $('.wen_rong .content-box .contercon .url span').html('https://doi.org/' + j_artc.doi + ''); // if (j_artc.ordoi == '') { // $('.wen_rong .content-box .contercon .udr').css('display', 'none') // } else { // $('.wen_rong .content-box .contercon .udr span').html('https://doi.org/' + j_artc.ordoi + ''); // } // if (j_artc.abstract == '') { // $('.wen_rong .content-box .contercon .abst').css('display', 'none') // } // if (j_artc.keywords == '') { // $('.wen_rong .content-box .contercon .keyw').css('display', 'none') // } // if (j_artc.fund == '') { // $('.wen_rong .content-box .contercon .fund').css('display', 'none') // } // if (Corr_Auth == '') { // $('.wen_rong .content-box .contercon .coau').css('display', 'none') // } // if (Corr_Emai == '') { // $('.wen_rong .content-box .contercon .emai').css('display', 'none') // } // if (j_artc.pub_date == '') { // $('.wen_rong .content-box .contercon .time').css('display', 'none') // } // if (result.data.cite == '') { // $('.wen_rong .content-box .contercon .cite').css('display', 'none') // } // //$('.wen_rong .content-box .conterad h1').html(j_artc.tradition_tag); // //$('.wen_rong .content-box .conterad p').html(j_artc.tradition); // //$('.wen_rong #tablist .tarad').html(j_artc.tradition_tag); // $('.wen_rong .content-box .contemho').html(j_artc.mhoo); // if (j_artc.mhoo == '' || j_artc.mhoo == null) { // $('.wen_rong #tablist .tarmho').css('display', 'none'); // $('.wen_rong .content-box .contemho').css('display', 'none'); // } // // 首先显示html // if (htm_ID != null) { // $("#tablist li.tarhtmn").click() // } // $('title').before('' + // '' + // '' + // '' + // '' + // '') // for (var i = 0; i < j_authior.length; i++) { // $('title').before('') // } // if (j_artc.first_page != undefined) { // $('title').before('') // } // if (j_artc.last_page != undefined) { // $('title').before('') // } // if (Jour_num != '1') { // $('.wen_rong .right .tmr_doaj').css('display', 'none') // } else { // $('.wen_rong .right .tmr_doaj').css('display', 'none') // } // if (Jour_num == '22') { // $('.wen_jian .right h5').html('引用:'); // $('.wen_jian .right .export .Exc_2').html(' 下载EndNote格式'); // $('.wen_jian .right .export .Exc_3').html(' 下载RIS格式'); // $('.wen_jian .right .export .Exc_4').html(' 下载BibTex格式'); // $('.wen_jian .right .export .Exc_5').html(' 下载text格式'); // $('.wenzhang .wen_rong .right>p').html('本作品根据“知识共享”国际许可协议4.0进行授权。'); // $('.keyw b').html('关键字:') // $('.fund b').html('基金项目:') // $('.coau b').html('通讯作者:') // $('.emai b').html('邮箱:') // $('.cite b').html('引用:') // $('.time b').html('出版时间:') // $('.url b').html('链接:') // $('#tablist li').html('') // $('#tablist .tabin').html('摘要') // $('.links_').css('font-size', '20px') // $('.links_ img').css({ 'width': '20px', 'height': '22px' }) // $('.right p').css('font-family', 'Times New Roman') // $('.cite span').css('font-family', 'Times New Roman') // } // } // }); // 新 HTML } else { try { console.log('开始详情接口请求') $(document).ready(function () { $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleDetail', data: { "article_id": a_ID }, timeout: 30000, // 设置超时时间为5秒 success: function (result) { // initArticleNavList(a_ID) console.log('result at line 7575:', result) $('.wenzhang .wen_rong .left').css({ 'background-color': '#f4fafd', }) $('.wenzhang .wen_rong .left .rong_box').css({ 'background-color': '#fff', 'margin-top': '0px' }) $('.wenzhang .wen_rong .left .mb_aform').css({ 'background-color': '#fff' }) if (result.code == 0) { console.log('result.code at line 7590:', result) var html_type = result.data.articleInfo.html_type var has_html = result.data.articleInfo.has_html if (has_html == 0) { $('.wen_rong #tablist .tarhtmn').css('display', 'none'); $('.wen_rong #tablist .tarfihml').css('display', 'none'); $('.wen_rong .content-box .conthtmn').css('display', 'none'); } // 文章Cite this article var j_artc = result.data.articleInfo $('.wen_jian .right>p').html(result.data.cite); if ((Math.round(Date.parse(new Date()) / 1000) - j_artc.ctime) / 86400 >= 21) { $('.wen_jian .right>p').after('Google Scholar'); } var lnk_ = ''; if (j_artc.file_pdf != '') { lnk_ += ' PDF    ' } if (j_artc.file_html != '') { lnk_ += '     HTML' } if (j_artc.article_id == '172') { lnk_ += '    ' } $('.wen_jian .right>.links_').html(lnk_); if (Jour_num != 13) { //获取文章引用 getCitations(j_artc.doi, a_ID); // 点击增加数字 $('.txt_html').click(function () { var num = $(this).next().html(); $.ajax({ type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, data: { "article_id": a_ID, "type": 'html' }, success: function (result) { } }) $.ajax({ type: 'post', url: apiUrl + 'super/Publish/addVisitNum', data: { 'type': Jour_num, 'is_detail': '1' }, success: function (result) { } }); $(this).next().html(num); }) $('.txt_pdf').click(function () { var num = $(this).next().html(); $.ajax({ type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, data: { "article_id": a_ID, "type": 'pdf' }, success: function (result) { } }) $.ajax({ type: 'post', url: apiUrl + 'super/Publish/addVisitNum', data: { 'type': Jour_num, 'is_detail': '1' }, success: function (result) { } }); $(this).next().html(num); }) } else { $('.article-quote').css('display', 'none'); $('.mb_aform').css('display', 'none'); $('.pos_ter').css('display', 'none'); $('.footer').css('display', 'none'); $('.wen_rong .right').css('display', 'none'); $('.wenzhang .wen_rong .left').css('width', '100%'); } var NotTeX_ = '' // if(j_artc.endnote!=''){ // NotTeX_+='EndNote(RIS)  ' // } if (j_artc.bibtex != '') { NotTeX_ += 'BibTeX' } $('.wen_jian .right>.Note_TeX').html(NotTeX_); // 点击复制和下载 $('.Exc_2').click(function () { $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleenw', async: false, data: { "article_id": a_ID }, success: function (result) { var a = document.createElement('a'); a.href = result.data.url; a.download = '' a.click(); } }) }) $('.Exc_3').click(function () { $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleRis', async: false, data: { "article_id": a_ID }, success: function (result) { var a = document.createElement('a'); a.href = result.data.url; a.download = '' a.click(); } }) }) $('.Exc_4').click(function () { var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticlebib', async: false, data: { "article_id": a_ID }, success: function (result) { var a = document.createElement('a'); a.href = result.data.url; a.download = '' a.click(); } }) }) $('.Exc_5').click(function () { $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticletext', async: false, data: { "article_id": a_ID }, success: function (result) { var a = document.createElement('a'); a.href = result.data.url; a.download = '' a.click(); } }) }) // 文章路径基本信息 var j_our = result.data.journalInfo; var j_info = result.data.stageInfo; $('.wen_jian .left>span a').html(j_our.title); $('.wen_jian .left>span a').attr('href', '/' + j_our.usx); localStorage.setItem("Journals_num", j_our.journal_id); if (j_artc.doi == '') { var doi_ = '' } else { var doi_ = 'DOI:' + j_artc.doi } if (j_info.stage_no == '0') { var stage_ = '' } else { var stage_ = 'Issue (' + j_info.stage_no + '): ' } if (j_artc.npp == '' || j_artc.npp == ' ') { var npp_ = '' } else { if (j_info.stage_pagename == 'pp.') { var npp_ = j_artc.npp + '     ' } else { var npp_ = j_info.stage_pagename + j_artc.npp + '     ' } } if (localStorage.Journals_title == '经典中医研究') { if (j_info.stage_vol == '1') { j_info.stage_vol = '一' } if (j_info.stage_vol == '2') { j_info.stage_vol = '二' } if (j_info.stage_vol == '3') { j_info.stage_vol = '三' } if (j_info.stage_vol == '4') { j_info.stage_vol = '四' } if (j_info.stage_vol == '5') { j_info.stage_vol = '五' } if (j_info.stage_vol == '6') { j_info.stage_vol = '六' } var our_time = '  |   ' + j_info.stage_year + '年第' + j_info.stage_vol + '卷  |   第' + j_info.stage_no + '期:' + npp_ + doi_; } else { var our_time = '  |   ' + j_info.stage_year + ', Vol. ' + j_info.stage_vol + '  |   ' + stage_ + npp_ + doi_; } $('.wen_jian .left>span').append(our_time); if (j_artc.other_state == 0) { var otStat = '' } else if (j_artc.other_state == 1) { var otStat = 'Editorial Expression of Concern' } else if (j_artc.other_state == 2) { var otStat = 'Retracted' } $('.wen_jian .left>h4').html(otStat + j_artc.title); // 文章基本作者机构 var str = ''; var j_authior = result.data.author.authors; var stra = ''; var Corr_Auth = ''; var Corr_Emai = ''; var rep = ''; var rep_pd = ''; var ORC_ID = ''; var report_num = 0; for (var i = 0; i < j_authior.length; i++) { rep = ''; var mes = ''; if (j_authior[i].is_first == '1') { rep = '#' rep_pd += '#' } if (j_authior[i].is_report == '1') { rep += '*' mes = ' () ' Corr_Auth += ' ' + j_authior[i].author_name + ','; Corr_Emai += ' ' + j_authior[i].email + ','; report_num += 1; } if (j_authior[i].orcid == '') { ORC_ID = '' } else { ORC_ID = '' } if (i == j_authior.length - 1) { stra += j_authior[i].author_name + '' + j_authior[i].ors + rep + '' + ORC_ID + mes } else { stra += j_authior[i].author_name + '' + j_authior[i].ors + rep + '' + ORC_ID + mes + ', ' } } str += stra + '
    '; var j_organ = result.data.author.organs; var strg = ''; for (var i = 0; i < j_organ.length; i++) { strg += '' + j_organ[i].alias + ' ' + j_organ[i].organ_name + '
    ' } str += strg; $('.wen_jian .left>div.zuo_zhe').html(str); $('.wen_jian .left>div.zuo_zhe>sup').css({ color: commonSupColor, }); if (rep_pd == "#") { $('.wen_jian .left>div').each(function () { $(this).html($(this).html().split("#").join("")); }); } if (report_num != 1) { $('.coau b').html('Corresponding authors:'); } if (Jour_num == 1) { j_artc.abstract = j_artc.abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") } // 文章内容 Corr_Auth = Corr_Auth.replace(/,$/, "") Corr_Emai = Corr_Emai.replace(/,$/, "") $('.wen_rong .content-box .contercon .abst').html(j_artc.abstract); let strongElements = document.querySelectorAll('.wen_rong .content-box .contercon .abst strong'); // 遍历每个 标签 strongElements.forEach(function (element) { // 检查 标签内的文本内容是否为 "Background:", "Methods:", "Results:", "Conclusion:" if (element.textContent.includes("Background:") || element.textContent.includes("Methods:") || element.textContent.includes("Method:") || element.textContent.includes("Results:") || element.textContent.includes("Result:") || element.textContent.includes("Conclusion:") || element.textContent.includes("Conclusions:") || element.textContent.includes("Background") || element.textContent.includes("Methods") || element.textContent.includes("Method") || element.textContent.includes("Results") || element.textContent.includes("Result") || element.textContent.includes("Conclusion") || element.textContent.includes("Conclusions") ) { // 修改该 标签的样式,改变颜色 element.style.color = commonSupColor; // 设置颜色为黑色(你可以修改为其他颜色) } }); $('.wen_rong .content-box .contercon .keyw span').html(j_artc.keywords); $('.wen_rong .content-box .contercon .fund span').html(j_artc.fund); $('.wen_rong .content-box .contercon .coau span').html(Corr_Auth); $('.wen_rong .content-box .contercon .emai span').html(Corr_Emai); $('.wen_rong .content-box .contercon .cite span').html(result.data.cite); $('.wen_rong .content-box .contercon .time span').html(j_artc.pub_date); $('.wen_rong .content-box .contercon .url span').html('https://doi.org/' + j_artc.doi + ''); // if (Jour_num == '1' && j_artc.article_id <= '1540') { // $('.wen_rong .content-box .contercon .udr span').html('https://doi.org/' + j_artc.doi.replace("10.53388", "10.12032") + ''); // } else if (Jour_num == '14' && j_artc.article_id <= '1540') { // $('.wen_rong .content-box .contercon .udr span').html('https://doi.org/' + j_artc.doi.replace("10.53388", "10.12032") + ''); // } else { // $('.wen_rong .content-box .contercon .udr').css('display', 'none') // } if (j_artc.ordoi == '') { $('.wen_rong .content-box .contercon .udr').css('display', 'none') } else { $('.wen_rong .content-box .contercon .udr span').html('https://doi.org/' + j_artc.ordoi + ''); } if (j_artc.abstract == '') { $('.wen_rong .content-box .contercon .abst').css('display', 'none') } if (j_artc.keywords == '') { $('.wen_rong .content-box .contercon .keyw').css('display', 'none') } if (j_artc.fund == '') { $('.wen_rong .content-box .contercon .fund').css('display', 'none') } if (Corr_Auth == '') { $('.wen_rong .content-box .contercon .coau').css('display', 'none') } if (Corr_Emai == '') { $('.wen_rong .content-box .contercon .emai').css('display', 'none') } if (j_artc.pub_date == '') { $('.wen_rong .content-box .contercon .time').css('display', 'none') } if (result.data.cite == '') { $('.wen_rong .content-box .contercon .cite').css('display', 'none') } //$('.wen_rong .content-box .conterad h1').html(j_artc.tradition_tag); //$('.wen_rong .content-box .conterad p').html(j_artc.tradition); //$('.wen_rong #tablist .tarad').html(j_artc.tradition_tag); $('.wen_rong .content-box .contemho').html(j_artc.mhoo); // 新的HTML if (html_type == 0) { // 原 HTML $('.wen_rong .content-box .conthtmn').html(`
    ` ); $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleDetailHtml', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var arr = result.data.mains; var str = ''; for (var i = 0; i < arr.length; i++) { let sectionId = 'section-' + i; // 生成唯一的 ID if (arr[i].width == 0) { if (arr[i].is_title == 1) { if (arr[i].content.indexOf("

    ") >= 0) { str += `

    ${arr[i].content}
    ` } else { str += `

    ${arr[i].content}

    ` } } else { if (arr[i].content.indexOf("

    ") >= 0) { str += arr[i].content.replace("

    ", `

    `); } else { str += `

    ${arr[i].content}

    ` } } } else { var picsrc = 'https://submission.tmrjournals.com/public/mainimg/' + arr[i].content; var fun = "picPreview('" + picsrc + "');" // console.log(fun) str += `
    ` + "

    ` + arr[i].note + "

    " } } str = `
    ${str}
    ` $('.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 = "

    " + xuhao + '. ' + result.data.refers[rr].author + ' ' + result.data.refers[rr].title + ". " + result.data.refers[rr].joura + ". " + result.data.refers[rr].dateno + "."; // 在 "Available at:" 之前插入
    标签 item += "
    Available at: " + result.data.refers[rr].doilink + "

    "; refs += item; } else if (result.data.refers[rr].refer_type == 'book' && result.data.refers[rr].isbn != '') { // book 类型 xuhao++; item = "

    " + xuhao + '. ' + result.data.refers[rr].author + ' ' + result.data.refers[rr].title + ". " + result.data.refers[rr].dateno + "."; // 在 "Available at:" 之前插入
    标签 item += "
    ISBN: " + result.data.refers[rr].isbn + "

    "; 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 类型,检查 refer_frag 中是否有 "Available at:" xuhao++; item = "

    " + xuhao + '. '; // 如果 refer_frag 包含 "Available at:",在其前面插入
    标签 if (result.data.refers[rr].refer_frag.indexOf('Available at:') !== -1) { item += result.data.refers[rr].refer_frag.replace('Available at:', '
    Available at:'); } else { item += result.data.refers[rr].refer_frag; } item += ". 

    "; refs += item; } else { continue; } } // 将生成的所有引用内容插入到页面中 $('.wen_rong .content-box .conthtmn').append('

    References

    ' + refs + '
    '); } initArticleHtml(arr, result.data.refers, html_type) } }, error: function () { // ShowDanger("error!"); } }) } else if (html_type == 1) { //外链 $('.wen_rong #tablist .tarhtmn').css('display', 'none'); $('.wen_rong .content-box .conthtmn').css('display', 'none'); } else if (html_type == 2) { // 新 HTML $('.wen_rong .content-box .conthtmn').html(`
    ` ); $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleDetailHtmlFor2', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var arr = result.data.mains; initArticleHtmlFun(arr, result, html_type) } }, error: function () { // ShowDanger("error!"); } }) } // 稿件跟踪 // 图标------------ 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("

    Comments:
    " + chushenContent + "

    Review comments received: " + timess + "

    ") // detailIcon = '' detailIcon = '(Detail)' } 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 = "
    Invitation time:
    " + time1 + "
    " + reviewerState + detailIcon + "Score: " + result.data.track[tt].reviewers[er].rated + "reviewer: " + result.data.track[tt].reviewers[er].reviewer_name + "Review comments received: " + time2 + "
    " 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 = '

    Response to reviewers:  

    ' 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 = '' + xuhao + '. Download' //Revitag += lisss += Revfile_url } Revitag = '
    ' + title + lisss + '
    ' } li = "
    " + ttime + "
    " + ttypeName + "" + reviewers + Revitag + "
    " 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('

    Original data:    ----Download

    '); } if (j_artc.file_pdf == '') { $('.wen_rong #tablist .tarfipdf').css('display', 'none'); // $('.wen_rong .rong_box .contfdf').css('display','none'); } else { $('.wen_rong #tablist .tarfipdf').html('PDF'); // $('.wen_rong .rong_box .contfdf ul').html(' PDF'); } if (j_artc.file_html == '') { $('.wen_rong #tablist .tarfihml').css('display', 'none'); // $('.wen_rong .rong_box .contfhml').css('display','none'); } else { $('.wen_rong #tablist .tarfihml').html('HTML'); $('.wen_rong .rong_box .contfhml ul').html(' HTML'); } //if (j_artc.tradition_tag == '' || j_artc.tradition == '') { // $('.wen_rong #tablist .tarad').css('display', 'none'); // $('.wen_rong .content-box .conterad').css('display', 'none'); //} if (j_artc.mhoo == '' || j_artc.mhoo == null) { $('.wen_rong #tablist .tarmho').css('display', 'none'); $('.wen_rong .content-box .contemho').css('display', 'none'); } $('#tablist .tarfipdf a').click(function () { $.ajax({ type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, data: { "article_id": j_artc.article_id, "type": 'pdf' }, success: function (result) { } }) $.ajax({ type: 'post', url: apiUrl + 'super/Publish/addVisitNum', data: { 'type': Jour_num, 'is_detail': '1' }, success: function (result) { } }); }) var pdf_list = '' if (j_artc.file_sub != '') { 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 += '
  • ' + fileType + '
    ' + '

    Supplementary Material for doi: ' + j_artc.doi + '----Download

  • '; } if (j_artc.file_sub2 != '') { pdf_list += '
  • ' + '

    Supplementary Material for doi: ' + j_artc.doi + '----Download

  • '; } $('.wen_rong .content-box .contepdf ul').html(pdf_list); if (j_artc.file_sub == '' && j_artc.file_sub2 == '') { $('.wen_rong #tablist .tarpdf').css('display', 'none'); $('.wen_rong .content-box .contepdf').css('display', 'none'); } // 首先显示html if (htm_ID != null) { $("#tablist li.tarhtmn").click() } // meta添加 // j_artc = result.data.articleInfo // j_authior = result.data.author.authors; // j_our = result.data.journalInfo; // j_info = result.data.stageInfo; $('title').before('' + '' + '' + '' + '' + '') for (var i = 0; i < j_authior.length; i++) { $('title').before('') } if (j_artc.first_page != undefined) { $('title').before('') } if (j_artc.last_page != undefined) { $('title').before('') } // 右侧引入插件 // if(result.data.journalInfo.title=='Food Therapy and Health Care'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79603', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Medical Theory and Hypothesis'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79601', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='TMR Non-Drug Therapy'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79600', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='TMR Modern Herbal Medicine'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79599', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Nursing Communications'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79598', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Integrative Medicine Discovery'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79597', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Clinical Research Communications'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79596', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Psychosomatic Medicine Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79595', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Life Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79594', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Gastroenterology & Hepatology Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79593', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Medical Data Mining'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79592', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Toxicology Communications'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79591', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Tumor Microenvironment Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79590', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='History and Philosophy of Medicine'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79589', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Precision Medicine Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79588', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Drug Combination Therapy'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79587', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='tmRxiv'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79586', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Infectious Diseases Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79585', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Aging Communications'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79584', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Cancer Advances'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'website_id':'79583', 'element':'#trendmd-suggestions'}") // } // if(result.data.journalInfo.title=='Traditional Medicine Research'){ // document.getElementsByTagName('script')[1].setAttribute("data-trendmdconfig","{'journal_id':'79582', 'element':'#trendmd-suggestions'}") // } if (Jour_num != '1') { $('.wen_rong .right .tmr_doaj').css('display', 'none') } else { $('.wen_rong .right .tmr_doaj').css('display', 'none') } if (Jour_num == '22') { $('.wen_jian .right h5').html('引用:'); $('.wen_jian .right .export .Exc_2').html(' 下载EndNote格式'); $('.wen_jian .right .export .Exc_3').html(' 下载RIS格式'); $('.wen_jian .right .export .Exc_4').html(' 下载BibTex格式'); $('.wen_jian .right .export .Exc_5').html(' 下载text格式'); $('.wenzhang .wen_rong .right>p').html('本作品根据“知识共享”国际许可协议4.0进行授权。'); $('.keyw b').html('关键字:') $('.fund b').html('基金项目:') $('.coau b').html('通讯作者:') $('.emai b').html('邮箱:') $('.cite b').html('引用:') $('.time b').html('出版时间:') $('.url b').html('链接:') $('#tablist li').html('') $('#tablist .tabin').html('摘要') $('.links_').css('font-size', '20px') $('.links_ img').css({ 'width': '20px', 'height': '22px' }) $('.right p').css('font-family', 'Times New Roman') $('.cite span').css('font-family', 'Times New Roman') } } else { ShowDanger("请求失败!"); } }, error: function (jqXHR, textStatus, errorThrown) { ShowDanger("error!"); console.log('文章详情error!') console.log('AJAX error:', jqXHR, textStatus, errorThrown); // 输出详细的错误信息 } }) }); } catch (error) { console.error('JavaScript error:', error); } } $.ajax({ type: 'post', url: apiUrl + 'super/Publish/addVisitNum', data: { 'type': Jour_num, 'is_detail': '1' }, success: function (result) { if (result.code == 0) { } else { // ShowDanger("请求失败!"); } }, error: function () { // ShowDanger("error!"); } }); $.ajax({ type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, data: { "article_id": a_ID, "type": 'abs' }, success: function (result) { } }) // 右侧话题 $.ajax({ type: 'post', url: apiUrl + 'api/Article/getTopicsForArticle', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var arr = result.data.topics; var str = ''; for (var i = 0; i < arr.length; i++) { str += '
  • ' + '
    ' + arr[i].title + '
  • ' } if (str != '') { $('.wenzhang .wen_rong .right .pos_topic').html(str); $('.wenzhang .wen_rong .right .pos_topic').css('border-bottom', '2px solid #dcdcdc') // $('.wenzhang .wen_rong .right .pos_topic').after('

    '); } $('.wenzhang .wen_rong .right .pos_topic li:last-child').css('border-bottom', 0); } else { ShowDanger("请求失败!"); } }, error: function () { ShowDanger("error!"); } }); // 期刊内搜索 $('.sfor_btnw').click(function () { // console.log($('select[name="cut"] option:selected').val()); window.open("jour_search.html?J_num=" + Jour_num + "&se_ch=" + $(".sfor_inpw").val()); }) // 期刊内订阅 $('.top .jour_ts input.tishi_author').css('background-color', localStorage.Journals_color); $.ajax({ type: 'post', url: apiUrl + 'api/Journal/getTopicForSubscribe', data: { "journal_id": Jour_num }, success: function (result) { if (result.code == 0) { var arr = result.data.topics; var data_4 = []; for (var i = 0; i < arr.length; i++) { data_4.push({ id: arr[i].journal_topic_id, text: arr[i].title }); } $("#combox4").combox({ id: "id", name: "text", data: data_4, valueChange: function (data) { // debugger //返回data,filterData,selectData } }) var cb4 = $("#combox4").data('combox'); // 订阅提交 $(".yue_addm").click(function () { $(".spa").text(''); var add_mess = {}; add_mess.email = $('#emaplm').val(); add_mess.topic_ids = []; var ar_mes = cb4.options.selectData for (var i = 0; i < ar_mes.length; i++) { add_mess.topic_ids.push(ar_mes[i]['id']); } var S_Dan = '0'; var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ if (cb4.options.selectData == "") { $(".spa111").text('Please choose topic'); S_Dan = '1'; } else if ($("#emaplm").val() == "") { $(".spa111").text('Please fill in E-mail'); S_Dan = '1'; } else if (!(reg.test($("#emaplm").val()))) { $(".spa111").text('Please fill in properly formatted E-mail'); S_Dan = '1'; } if (S_Dan == '1') { ShowDanger("Incomplete information!"); } else { $(".yue_addm").addClass("disable"); $.ajax({ type: 'post', url: apiUrl + 'api/Journal/addSubscribeTopics', data: add_mess, success: function (result) { if (result.code == 0) { $(".mb_aform input[type='text']").val(''); $(".yue_addm").removeClass("disable"); $(".jour_ts").fadeIn(); $(".jour_ts input.tishi_author").click(function () { $(".jour_ts").fadeOut(); }); } else { ShowDanger(result.msg); $(".yue_addm").removeClass("disable"); } }, error: function () { ShowDanger("error!"); $(".yue_addm").removeClass("disable"); } }) } }) } else { ShowDanger("请求失败!"); } }, error: function () { ShowDanger("error!"); } }); // 相关文章 $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleByKeywords', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var arr = result.data; var str = ""; $('.corr_late>ul').css({ 'padding': '0', 'border-bottom': 'none' }) for (var i = 0; i < arr.length; i++) { str += '
  • ' + arr[i].title + '' + '

    ' + arr[i].abbr + ', ' + arr[i].journal.title + ', ' + arr[i].stage.stage_year + '

  • ' } $('.corr_late>ul').html(str); if (arr == '') { $('.corr_late').css('display', 'none'); } if (arr == '') { $('.corr_late_bg').css('display', 'none'); } $('.wenzhang .wen_rong .right .corr_late p').css({ 'padding': '0 0 10px 0' }) $('.wenzhang .wen_rong .right').css('border-bottom', 'none'); } } }) } function shouldColor(rowIndex, cellIndex, row) { // 判断是否是最左侧的单元格 if (cellIndex === 0 && row[0].rowspan) { const rowspan = row[0].rowspan; // 获取最左侧单元格的 `rowspan` const startRow = rowIndex; // 当前单元格所在的行 const endRow = startRow + rowspan - 1; // 跨越的最后一行 // 判断当前行是否在 `rowspan` 范围内,并且是奇数行 return rowIndex >= startRow && rowIndex <= endRow && (rowIndex + 1) % 2 !== 0; // 判断是否为奇数行 } return false; } function addRowIdToData(content) { console.log('每行data数据1', content) var data = JSON.parse(JSON.stringify(content)) const rowIdMap = {}; const usedRows = new Set(); let idCounter = 0; for (let i = 0; i < data.length; i++) { if (usedRows.has(i)) continue; const rowId = `row-${idCounter++}`; rowIdMap[i] = rowId; usedRows.add(i); const row = data[i]; for (let j = 0; j < row.length; j++) { const cell = row[j]; if (cell?.rowspan && cell.rowspan > 1) { for (let k = 1; k < cell.rowspan; k++) { const nextRowIndex = i + k; if (nextRowIndex < data.length && !rowIdMap[nextRowIndex]) { rowIdMap[nextRowIndex] = rowId; usedRows.add(nextRowIndex); } } } } } // 把 rowId 实际写进每个单元格 for (let i = 0; i < data.length; i++) { const rowId = rowIdMap[i]; for (let j = 0; j < data[i].length; j++) { if (!data[i][j]) data[i][j] = {}; data[i][j].rowId = rowId; } } console.log('每行data数据111:', JSON.parse(JSON.stringify(data))) const seenIds = []; data.map((row, rowIndex) => { // row= row.filter(cell => cell.cellId) row.map((cell, cellIndex) => { if (cell.rowId) { row.rowId = cell.rowId } }) }) data.forEach(row => { if (row.rowId && !seenIds.includes(row.rowId)) { seenIds.push(row.rowId); // Mark this rowId as seen } }); const rowIds = seenIds.filter((_, index) => index % 2 === 0); const rowData = data return { rowData, rowIds } } function initArticleHtmlFun(arr, result, html_type) { // .wordTableHtml table tr.table-header-row td { // border-bottom: 1px solid #000 !important; // } var str = ''; var htmlContent = '' htmlContent += arr.map((item, index) => { //批注 let contentHtml = ''; let sectionId = 'section-' + index; // 生成唯一的 ID // 判断是否是图片 if (item.type == 1) { var picsrc = 'https://submission.tmrjournals.com/public/articleImage/' + item.image.url; var fun = "picPreview('" + picsrc + "');" contentHtml = `

    ${item.image.title ? item.image.title : '' }

    ${item.image.note ? item.image.note : '' }

    `; } else if (item.type == 2) { var tableList = JSON.parse(item.table.table_data); const { header, content } = splitTable(tableList); console.log('content at line 8641:', content); // 打印深拷贝的内容 var { rowData, rowIds } = addRowIdToData(JSON.parse(JSON.stringify(content))) console.log('content at line 8542:', rowIds, rowData) // console.log('contentList at line 8571:', contentList) contentHtml = `
    ${item.table.title ? item.table.title : ''} ${header .map((row, i) => { return ` ${row .map((cell, cellIndex) => { return ` `; }) .join('')} `; }) .join('')} ${rowData .map((row, i) => { return ` ${row .map((cell) => { if (!cell || !cell.cellId) return ''; const content = cell.text || ''; const isBase64Image = /^]*src=["']data:image\//i.test(content); const finalContent = isBase64Image ? content.replace( /]*?)src=["'](data:image\/[^"']+)["']([^>]*)>/gi, (match, preAttrs, src, postAttrs) => { const safeSrc = src.replace(/'/g, "\\'"); return ``; } ) : content; return ` `; }) .join('')} `; }) .join('')}
    ${cell.text || ''}
    ${finalContent}

    ${item.table.note ? item.table.note : '' }

    `; } else { contentHtml = `

    ${item.content}

    `; } // 判断是否是表格类型 return contentHtml; }).join(''); htmlContent = `
    ${htmlContent}
    ` $('.wen_rong .content-box .conthtmn').html(htmlContent); 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 = "

    " + `${xuhao}. ` + result.data.refers[rr].author + ' ' + result.data.refers[rr].title + ". " + result.data.refers[rr].joura + ". " + result.data.refers[rr].dateno + "."; // 在 "Available at:" 之前插入
    标签 item += "
    Available at: " + result.data.refers[rr].doilink + " 

    "; refs += item; } else if (result.data.refers[rr].refer_type == 'book' && result.data.refers[rr].isbn != '') { // book 类型 xuhao++; item = "

    " + `${xuhao}. ` + result.data.refers[rr].author + ' ' + result.data.refers[rr].title + ". " + result.data.refers[rr].dateno + "."; // 在 "Available at:" 之前插入
    标签 item += "
    ISBN: " + result.data.refers[rr].isbn + "

    "; 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 类型,检查 refer_frag 中是否有 "Available at:" 链接 xuhao++; item = "

    " + `${xuhao}. ` // 检查 refer_frag 中是否包含 "Available at:" if (result.data.refers[rr].refer_frag.indexOf('Available at:') !== -1) { // 如果包含 "Available at:",则在其前面插入
    标签 item += result.data.refers[rr].refer_frag.replace('Available at:', '
    Available at:'); } else { item += result.data.refers[rr].refer_frag; } item += ". 

    "; refs += item; } else { continue; } } // 将生成的所有引用内容插入到页面中 $('.wen_rong .content-box .conthtmn').append('

    References

    ' + refs + '
    '); } initArticleHtml(arr, result.data.refers, html_type) } function initArticleHtml(htmlData, refs, type) { document.querySelectorAll('wmath').forEach(el => { const latex = el.getAttribute('data-latex'); if (latex) { el.innerHTML = latex; MathJax.typesetPromise([el]); } }); $('.wen_rong .content-box .conthtmn .Ptitle').css({ background: 'rgb(222, 235, 247)', 'color': commonTableTitleColor, // No !important here 'text-align': 'center', // No !important here 'border': '1px solid rgba(222, 234, 247, 0.1)', 'border-radius': '10px', 'font-size': '16px', 'box-shadow': '0 4px 4px rgba(222, 234, 247, 0.6)', }); $('.wen_rong .content-box .conthtmn .oddColor > td').css({ background: 'rgb(250, 231, 232)', }); // Apply styles to inside .Ptitle using setProperty with !important $('.wen_rong .content-box .conthtmn .Ptitle > b').each(function () { this.style.setProperty('font-weight', 'bold', 'important'); }); $('.wen_rong .content-box .conthtmn .Ptitle > i').each(function () { this.style.setProperty('font-style', 'normal', 'important'); this.style.setProperty('color', commonTableTitleColor, 'important'); }); $('.wen_rong .content-box .conthtmn .Ptitle p > strong').each(function () { this.style.setProperty('font-weight', 'bold', 'important'); }); $('.wen_rong .content-box .conthtmn .Ptitle p').each(function () { this.style.setProperty('text-align', 'center', 'important'); }); $('.wen_rong .content-box .conthtmn .Ptitle em').each(function () { this.style.setProperty('font-style', 'normal', 'important'); this.style.setProperty('color', commonTableTitleColor, 'important'); }); $('.wen_rong .content-box .conthtmn .commonTableTitleColor').each(function () { this.style.setProperty('color', commonTableTitleColor, 'important'); }); // 获取所有段落 const allParagraphs = document.querySelectorAll('.pMain'); let abstractEndIndex = -1; let citationEndIndex = -1; // 查找包含“Abstract”文本的段落(无论被标签包裹多少层) allParagraphs.forEach((p, index) => { const text = p.innerText.trim().toLowerCase(); if (text === 'abstract') { abstractEndIndex = index; } if (text === 'citation') { citationEndIndex = index; console.log('CitationEndIndex at line 8765:', citationEndIndex) } }); // 从 Abstract 段落之后开始查找并高亮标题词 if (abstractEndIndex !== -1 && abstractEndIndex + 1 < allParagraphs.length) { const nextParagraph = allParagraphs[abstractEndIndex + 1]; const elements = nextParagraph.querySelectorAll('strong, b'); elements.forEach((element) => { const text = element.textContent.trim(); if (["Background:", "Methods:", "Method:", "Results:", "Result:", "Conclusion:", "Conclusions:"].includes(text) || ["Background", "Methods", "Method", "Results", "Result", "Conclusion", "Conclusions"].includes(text)) { element.style.color = commonSupColor; } }); } if (citationEndIndex !== -1 && citationEndIndex + 1 < allParagraphs.length) { const nextParagraph = allParagraphs[citationEndIndex + 1]; nextParagraph.style.color = commonSupColor; } $('.wen_rong .content-box .conthtmn sup').each(function () { var textContent = $(this).text().trim(); // 获取并清理文本内容 // 判断文本是否是纯数字 if (/^\d+$/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); } // 判断文本是否包含 "&" else if (/&/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); } else if (/ỻ/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); } // 判断文本是否包含 "*" else if (/\*/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); } // 判断文本是否包含 "#" else if (/#/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); } // 判断文本是否为由数字和逗号组成的字符串(例如 "1,2,3") // 判断文本是否为由数字和逗号组成,且逗号两边允许有空格(例如 "1, 2, 3") else if (/^\d+(\s*,\s*\d+)*$/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); } }); $('.wen_rong .content-box .conthtmn b i').each(function () { this.style.setProperty('font-weight', 'bold', 'important'); }); // $('.wen_rong .content-box .conthtmn .thumbnailTableBox td sup').each(function () { // this.style.setProperty('color', commonSupColor, 'important'); // }); $('.wen_rong .content-box .conthtmn .Ptitle').each(function () { this.style.setProperty('color', commonTableTitleColor, 'important'); this.style.setProperty('text-align', 'center', 'important'); }); $('.wen_rong .content-box .conthtmn .Ptitle b i').each(function () { this.style.setProperty('font-style', 'normal', 'important'); }); $('.wen_rong .content-box .conthtmn .Ptitle i b').each(function () { this.style.setProperty('font-style', 'normal', 'important'); }); var navLinks = { content: [], // 存放 content 类型的链接 image: [], // 存放 image 类型的链接 table: [] // 存放 table 类型的链接 }; htmlData.forEach((item, index) => { let sectionId = 'section-' + index; // 生成唯一的 ID if (type == 0) { if (item.width == 0) { if (item.is_title == 1) { var textContent = $('
    ').html(item.content).text(); // 提取纯文本 navLinks.content.push({ sectionId: sectionId, type: 'content', text: textContent, href: '#' + sectionId, is_h1: item.is_title, }); } } else { var picsrc = 'https://submission.tmrjournals.com/public/mainimg/' + item.content; var textContentimg = $('
    ').html(item.note).text(); // 提取纯文本 navLinks.image.push({ sectionId: sectionId, type: 'image', text: textContentimg || 'Image ' + (index + 1), href: '#' + sectionId, url: picsrc }); } } else { // 判断是否是图片 if (item.type == 1) { var picsrc = 'https://submission.tmrjournals.com/public/articleImage/' + item.image.url; var textContentimg = $('
    ').html(item.note).text(); // 提取纯文本 navLinks.image.push({ sectionId: sectionId, type: 'image', text: textContentimg || 'Image ' + (index + 1), href: '#' + sectionId, url: picsrc }); } else if (item.type == 2) { var textContentTable = $('
    ').html(item.table.title).text(); // 提取纯文本 navLinks.table.push({ sectionId: sectionId, type: 'table', text: textContentTable || 'Table ' + (index + 1), href: '#' + sectionId }); } else { var textContent = $('
    ').html(item.content).text(); // 提取纯文本 if (item.is_h1) { navLinks.content.push({ sectionId: sectionId, type: 'content', text: textContent, href: '#' + sectionId, is_h1: item.is_h1, }); } } } }) console.log('navLinks.forEach at line 7752:', navLinks) // 引用 var navHtml = `
    OUTLINE
      `; // 先添加 content 类型 navLinks.content.forEach(link => { navHtml += `
    • ${link.text}
    • `; }); if (navLinks.image.length > 0) { navHtml += `
    • Figures (${navLinks.image.length})

    • `; } if (navLinks.table.length > 0) { navHtml += `
    • Tables (${navLinks.table.length})

    • `; } if (refs.length > 0) { navHtml += `
    • References (${refs.length})

    • `; } navHtml += '
    '; $('.wen_rong .content-box .conthtmn').prepend(navHtml); // 给导航栏添加固定定位样式 // 给导航栏添加固定定位样式 $('.anchor-nav').css({ 'position': 'fixed', // 'display': 'none', 'top': '0', // 固定在顶部 'left': '0', // 固定在左侧 'width': '285px', // 设置固定宽度 'background': '#ffffff', // 背景色 // 'border-radius': '12px', // 圆角效果 'box-shadow': '0 4px 8px rgba(0, 0, 0, 0.1)', // 阴影效果 'z-index': '999', // 确保导航栏位于其他元素之上 'overflow-y': 'auto', // 允许垂直滚动 'height': '100vh', // 让导航栏充满整个页面高度 'position': 'sticky', /* 固定定位 */ 'float': 'left', /* 固定定位 */ /* 导航栏顶部距离为0 */ 'box-shadow': '2px 0 5px rgba(0, 0, 0, 0.1)', }); $('.jo-catalog-title').css({ 'line-height': '40px', 'font-size': '18px', 'color': '#333', 'border-bottom': '1px solid #f0f0f0', }); $('.outiline-item').css({ 'border-bottom': '1px solid #fff', 'box-sizing': 'border-box', 'font-size': '14px', 'color': '#454545', 'cursor': 'pointer', }); $('.outiline-content').css({ 'padding': '4px 0', 'margin-left': '16px', 'color': '#333', 'cursor': 'pointer', 'font-family': 'Charis SIL', }); $('.outiline-img').css({ 'margin-top': '20px', 'margin-bottom': '20px', }); $('.outiline-table').css({ 'margin-top': '20px', 'margin-bottom': '20px', // 'border-left': '3px solid #efefef', }); $('.navLinksFigures').css({ 'display': 'flex', 'flex-wrap': 'wrap', 'gap': '10px', 'margin-bottom': '10px', 'margin-top': '10px', }); $('.navLinksTables').css({ 'display': 'flex', 'flex-wrap': 'wrap', 'gap': '4px', 'margin-bottom': '10px', 'margin-top': '10px', }); // 在滚动时保持导航栏在视口内 $(document).ready(function () { // 监听右侧滚动区域 $('.newBox').scroll(function () { var scrollTop = $(this).scrollTop(); // 获取当前右侧滚动的位置 var scrollHeight = $(this)[0].scrollHeight; // 获取右侧滚动区域的总高度 var containerHeight = $(this).height(); // 获取右侧容器的高度 // 获取所有右侧的 .pMain var sections = $('.newBox').find('.pMain'); var navLinks = $('.anchor-nav').find('a'); // 获取所有左侧的导航链接 // 初始化清除所有导航链接的高亮 navLinks.css({ 'color': '', // 恢复默认颜色 'font-weight': '' // 恢复默认字体粗细 }); // 遍历所有的 section sections.each(function (index, section) { var sectionTop = $(section).offset().top - $('.newBox').offset().top + scrollTop; // 计算每个 .pMain 相对于 .newBox 的位置 var sectionBottom = sectionTop + $(section).outerHeight(); // 获取每个 section 的底部位置 // 判断该 section 是否在可视区域内 if (scrollTop + containerHeight >= sectionTop && scrollTop <= sectionBottom) { // 高亮对应的导航链接 $(navLinks[index]).css({ 'color': 'rgb(0, 102, 153)', // 激活时颜色变为蓝色 'font-weight': 'bold' // 激活时加粗 }); // 只高亮一个链接,找到第一个符合条件的并停止遍历 return false; // 结束 .each() 遍历 } }); }); $('.wordTableHtml table tr.table-header-row td').each(function () { this.style.setProperty('border-bottom', '1px solid #000', 'important'); }); }); } function isHeaderRow(rowIndex, table) { var head = table[0] return rowIndex < head[0].rowspan; // 假设前两行是表头 } function splitTable(tableList) { // 获取头部行数 const headerRowCount = tableList[0][0].rowspan || 1; // 默认第一行是头部行,获取该行的 rowspan // 用 isHeaderRow 判断头部行 const header = []; const content = []; let cellIdCounter = 0; // 初始化计数器,用于为每个单元格生成唯一的 cellId tableList.forEach((row, rowIndex) => { row.forEach((cell, cellIndex) => { cell.cellId = `cell-${cellIdCounter}`; cellIdCounter++; }); if (isHeaderRow(rowIndex, tableList)) { header.push(row); // 将头部行添加到 header 数组 } else { content.push(row); // 将内容行添加到 table 数组 } }); // console.log('header:', header); // 打印头部行数据 console.log('table打印内容行数据:', content); // 打印内容行数据 return { header, content }; } // 图片预览 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] }); } function getCiteList(a_ID) { $('.cite_box .export_cite').html('
    '); var journalCiteStr = '' $.ajax({ type: 'post', url: apiUrl + 'api/Article/getArticleCites', data: { "article_id": a_ID }, success: function (result) { if (result.code == 0) { var arr = result.data.list for (let i in arr) { journalCiteStr += `

    ${Number(i) + 1}.

    ${arr[i].article_name}

    ${arr[i].author ? `${arr[i].author},` : ''} ${arr[i].journal_name}${arr[i].vol ? `${arr[i].vol},` : ''}

    ` } journalCiteStr += `
    ` $('.cite_box .export_cite').html(journalCiteStr); } } }) } function initArticleNavList(a_ID) { var Journals_color = localStorage.getItem('Journals_color') var journalStageID = localStorage.getItem('journalStageID') //是否显示地图 var isShowAuthorship = 0; if ([1, 14, 8].includes(Number(Jour_num))) { isShowAuthorship = 1 } // if (a_ID == 4477) { const style = document.createElement('style'); style.innerHTML = `/* 遮罩层 */ .article_dropbtn:hover { color: ${Journals_color}; } .article_dropdown-list a:hover { border-bottom:2px solid ${Journals_color}; font-weight:bold; color:#333; } `; document.head.appendChild(style); // 获取 id 为 top_bar 的元素 var topBar = document.getElementById("top_bar"); var otherStr1 = `

    Current Issue

    Online First

    Archiving

    Special Issues

    Highlights

    ` var otherStr2 = `

    Journal Information

    Guide for Authors

    Abstracting & Indexing

    ` // Abstracting & Indexing var otherStr3 = `

    Peer-review process

    Submission System

    Ethics and Malpractice Statement

    Authorship

    ` var str = `
    Articles & Issues
    ${otherStr1}
    About Journal
    ${otherStr2}
    Publish
    ${otherStr3}
    ` // 使用 insertAdjacentHTML 在 top_bar 后插入新元素 if(topBar){ topBar.insertAdjacentHTML('afterend', str); } // JavaScript to handle dropdown toggle on button click // } } function openAbstracting(Jour_num, Journals_color) { var list = localStorage.getItem('journalAbs') var arr_Abc = JSON.parse(list).filter(e => e.is_show == 1); var Abstractingcontent = `
      ${arr_Abc.map((item, i) => { return `
    • » ${item.title}
    • `; }).join('')}
    ` document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); showPopup(`Abstracting & Indexing`, Abstractingcontent) // 5秒后自动关闭 // setTimeout(closePopup, 5000); } function openAuthorship(Jour_num, Journals_color) { var Abstractingcontent = `
      ` document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); showPopup(`Abstracting & Indexing`, Abstractingcontent, 'Authorship') // 5秒后自动关闭 // setTimeout(closePopup, 5000); } function showPopup(title, content, type) { $('#common-popup .common-popup-title').html(title) $('#common-popup .common-popup-content').html(content) document.getElementById('common-overlay').style.display = 'block'; if (type == 'Authorship') { document.getElementById('common-popup').style.width = 'auto'; renderMap(190) } document.getElementById('common-popup').style.opacity = '1'; document.getElementById('common-popup').style.zIndex = '101'; // 5秒后自动关闭 // setTimeout(closePopup, 5000); } function closePopup() { document.getElementById('common-popup').style.opacity = '0'; document.getElementById('common-popup').style.zIndex = '-1'; setTimeout(function () { document.getElementById('common-overlay').style.display = 'none'; $('#common-popup .common-popup-title').html('') $('#common-popup .common-popup-content').html('') }, 50); }