Files
journal_com/js/article.js
2024-12-24 17:47:03 +08:00

8207 lines
531 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 列表
function at_list() {
// 获取地址栏信息
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 += '<li style="margin-top: ' + dis_ + 'px"><h4 class="f30">' + arr[i].time + '</h4>' +
// '<a href="article_list.html?J_num=' + Jour_num + '&time_id=' + arr[i].journal_line_id + '" target="_blank">' +
// '<h3 class="span">>> ' + arr[i].title + '</h3></a>' +
// '<img src="' + imglineUrl + arr[i].img + '" style="width: 80px;height: 100px;margin-top: 10px">' +
// '<p class="f14">' + arr[i].intro + '</p></li>'
// } else {
// if (arr[i].time == arr[i + 1].time) {
// if (i == 0) {
// dis_ = '20'
// } else {
// dis_ = parseInt(dis_) + parseInt(arr[i].dist * 130);
// }
// str += '<li style="margin-top: ' + dis_ + 'px"><h4 class="f30">' + arr[i].time + '</h4>' +
// '<a href="article_list.html?J_num=' + Jour_num + '&time_id=' + arr[i].journal_line_id + '" target="_blank">' +
// '<h3 class="span">>> ' + arr[i].title + '</h3></a>' +
// '<img src="' + imglineUrl + arr[i].img + '" style="width: 80px;height: 100px;margin-top: 10px">' +
// '<p class="f14">' + arr[i].intro + '</p>' +
// '<a href="article_list.html?J_num=' + Jour_num + '&time_id=' + arr[i + 1].journal_line_id + '" target="_blank">' +
// '<h3 class="span">>> ' + arr[i + 1].title + '</h3></a>' +
// '<img src="' + imglineUrl + arr[i + 1].img + '" style="width: 80px;height: 100px;margin-top: 10px">' +
// '<p class="f14">' + arr[i + 1].intro + '</p></li>'
// i = i + 1;
// } else {
// if (i == 0) {
// dis_ = '20'
// } else {
// dis_ = parseInt(dis_) + parseInt(arr[i].dist * 130);
// }
// str += '<li style="margin-top: ' + dis_ + 'px"><h4 class="f30">' + arr[i].time + '</h4>' +
// '<a href="article_list.html?J_num=' + Jour_num + '&time_id=' + arr[i].journal_line_id + '" target="_blank">' +
// '<h3 class="span">>> ' + arr[i].title + '</h3></a>' +
// '<img src="' + imglineUrl + arr[i].img + '" style="width: 80px;height: 100px;margin-top: 10px">' +
// '<p class="f14">' + arr[i].intro + '</p></li>'
// }
// }
// }
// 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('<h3 style="font-size: 12px;color: #666;margin: 0 18px 10px 18px;">' + result.data.topicInfo.intro + '</h3>');
// }
// // 古籍按钮
// if (t_ID == '368') {
// $('.wenz_list>h4').append('<a href="topic_list.html?J_num=1&t_id=369" class="ancient_btn" target="_blank">Ancient Medical Books</a>')
// }
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } else {
// var pub_date = ''
// }
// if (localStorage.Journals_num == '22') {
// var c_t_a = '<button class="txt_copy">引用这篇文章<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> 复制引用信息</li><li class="Exc_2"><i class="fa fa-download"></i> 下载EndNote格式</li><li class="Exc_3"><i class="fa fa-download"></i> 下载RIS格式</li><li class="Exc_4"><i class="fa fa-download"></i> 下载BibTex格式</li><li class="Exc_5"><i class="fa fa-download"></i> 下载text格式</li><div class="triangle"></div></ul></button>'
// } else {
// var c_t_a = '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ + c_t_a + tong_geogle +
// '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv"><img src="' + img_i + '" alt=""></a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } else {
// var pub_date = ''
// }
// if (localStorage.Journals_num == '22') {
// var c_t_a = '<button class="txt_copy">引用这篇文章<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> 复制引用信息</li><li class="Exc_2"><i class="fa fa-download"></i> 下载EndNote格式</li><li class="Exc_3"><i class="fa fa-download"></i> 下载RIS格式</li><li class="Exc_4"><i class="fa fa-download"></i> 下载BibTex格式</li><li class="Exc_5"><i class="fa fa-download"></i> 下载text格式</li><div class="triangle"></div></ul></button>'
// } else {
// var c_t_a = '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ + c_t_a + tong_geogle +
// '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv"><img src="' + img_i + '" alt=""></a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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: '&nbsp;共&nbsp',
// totalPageAfterText: '&nbsp;页',
// currPageBeforeText: '当前第&nbsp;',
// currPageAfterText: '&nbsp;页',
// totalInfoSplitStr: '&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } else {
// var pub_date = ''
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv"><img src="' + img_i + '" alt=""></a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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 + ',&nbsp;' + atg.stage_vol;
// } else {
// var act_year = atg.stage_year + ',&nbsp;' + atg.stage_vol + '&nbsp;(' + 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].has_mains == 0) {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;&nbsp&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;&nbsp&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if (arr[i].cite_num == 0) {
// var cite_ = ''
// } else {
// var cite_ = `<span article_id="${arr[i].article_id}" class="cite_box" style="color: #7a2702;"> <img src="img/link_6.jpg" width="14" height="16">WOS Citations&nbsp;(&nbsp;<span style="color: red">${arr[i].cite_num} </span>&nbsp;)
// <ul class="export_cite "> </ul></span>`
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color:#7a2702;;margin-left: 10px;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// if (arr[i].journal_id == 22) {
// var c_t_a = '<button class="txt_copy cite_txt_button" >&nbsp;<img src="img/link_7.jpg" width="14" height="16">引用这篇文章<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> 复制引用信息</li><li class="Exc_2"><i class="fa fa-download"></i> 下载EndNote格式</li><li class="Exc_3"><i class="fa fa-download"></i> 下载RIS格式</li><li class="Exc_4"><i class="fa fa-download"></i> 下载BibTex格式</li><li class="Exc_5"><i class="fa fa-download"></i> 下载text格式</li><div class="triangle"></div></ul></button>'
// } else {
// var c_t_a = '<button class="txt_copy cite_txt_button">&nbsp;<img src="img/link_7.jpg" width="14" height="16">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle +
// '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + arr[i].journal_title + '.&nbsp;' + act_year + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].html == 0) {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// if (arr[i].abstract != null) {
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// }
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].html_num == 0) {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// } 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// sgr += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// }
// if (n_ == "0") {
// str = ''
// } else {
// str = '<h4 class="rgb_color" style="color: ' + localStorage.Journals_color + '">News</h4><ul>' + str + '</ul>' + '<div style="height: 15px;background-color: #f4fafd;margin-left: -15px;margin-right: -15px;">'
// }
// if (c_ == "0") {
// sgr = ''
// } else {
// sgr = '</div><h4 class="rgb_color" style="color: ' + localStorage.Journals_color + '">Comment</h4><ul>' + sgr + '</ul>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].html_num == 0) {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// } 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// sgr += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// }
// if (n_ == "0") {
// str = ''
// } else {
// str = '<h4 class="rgb_color" style="color: ' + localStorage.Journals_color + '">News</h4><ul>' + str + '</ul>' + '<div style="height: 15px;background-color: #f4fafd;margin-left: -15px;margin-right: -15px;">'
// }
// if (c_ == "0") {
// sgr = ''
// } else {
// sgr = '</div><h4 class="rgb_color" style="color: ' + localStorage.Journals_color + '">Comment</h4><ul>' + sgr + '</ul>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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('<p style="margin-bottom: 15px;padding: 10px 20px;background-color: #fff">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.</p>');
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// if (arr[i].type == 'News') {
// str += '<li><a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a><div>'
// '<h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div><br clear="both"></div></li>'
// }
// }
// $('.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('<p style="margin-bottom: 15px;padding: 10px 20px;background-color: #fff">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 articles 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.</p>');
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// if (arr[i].type == 'Comment') {
// str += '<li><a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a><div>'
// '<h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div><br clear="both"></div></li>'
// }
// }
// $('.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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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('<div id="kkpager"></div>')
// $('.wenz_list').append('<div style="font-size: 12px;text-align: right;padding-top: 10px;padding-right: 27px;" class="gue_chinese_tot">all total <b class="tioashu"></b> </div>')
// 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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// if (localStorage.Journals_num == '22') {
// var c_t_a = '<button class="txt_copy">引用这篇文章<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> 复制引用信息</li><li class="Exc_2"><i class="fa fa-download"></i> 下载EndNote格式</li><li class="Exc_3"><i class="fa fa-download"></i> 下载RIS格式</li><li class="Exc_4"><i class="fa fa-download"></i> 下载BibTex格式</li><li class="Exc_5"><i class="fa fa-download"></i> 下载text格式</li><div class="triangle"></div></ul></button>'
// } else {
// var c_t_a = '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ + c_t_a + tong_geogle +
// '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].stage_no == '0') {
// var stage_ = ''
// } else {
// var stage_ = '&nbsp;(' + arr[i].stage_no + ')'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + stage_ + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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&nbsp;',
// currPageAfterText: '',
// totalInfoSplitStr: '&nbsp;of&nbsp;',
// totalRecordsBeforeText: '',
// totalRecordsAfterText: '',
// gopageBeforeText: '&nbsp;&nbsp;&nbsp;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_ = ':&nbsp;' + arr[i].npp + '.&nbsp;&nbsp;'
// }
// if (arr[i].mains == '') {
// if (arr[i].file_html == '') {
// var html_ = ''
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + arr[i].file_html + '" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// } else {
// var html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + arr[i].article_id + '">HTML</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].html_num + '</span>&nbsp;)&nbsp;&nbsp;'
// }
// if (arr[i].file_pdf == '') {
// var pdf_ = ''
// } else {
// var pdf_ = '<img src="img/link_3.jpg" width="14" height="16"><a href="' + imgFileUrl + 'articlePDF/' + arr[i].file_pdf + '" target="_blank" class="txt_pdf" alt="' + arr[i].article_id + '">PDF</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].pdf_num + '</span>&nbsp;)'
// }
// if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
// var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
// 'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin-left: 10px;font-weight: 600;"> ' +
// 'Google Scholar</a>' //搜索引用次数
// } else {
// var tong_geogle = '' //少于21天隐藏
// }
// if (arr[i].article_id == '172') {
// var mp4_ = '<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
// } 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 = '<span class="otStat">Editorial Expression of Concern</span>'
// } else if (arr[i].other_state == 2) {
// var otStat = '<span class="otStat">Retracted</span>'
// }
// if (arr[i].isShowOtime == 1) {
// if (arr[i].pub_date == '') {
// var pub_date = ''
// } else {
// var pub_date = '<div class="url_data">Published Date: ' + arr[i].pub_date + '</div>'
// }
// } 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 = '<img src="' + img_i + '" alt="" style="width: 120px">'
// } else {
// var person_img = '<img src="' + img_i + '" alt="">'
// }
// arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153")
// var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
// html_ + pdf_ + mp4_ +
// '<button class="txt_copy">Cite this article<ul class="export"><li id="txt_copy_' + i + '" class="Exc_1">>> Copy citation information</li><li class="Exc_2"><i class="fa fa-download"></i> Export citation to EndNote</li><li class="Exc_3"><i class="fa fa-download"></i> Export citation to RIS</li><li class="Exc_4"><i class="fa fa-download"></i> Export citation to BibTex</li><li class="Exc_5"><i class="fa fa-download"></i> Export citation to txt</li><div class="triangle"></div></ul></button>' +
// tong_geogle + '<p class="txt_content">' + arr[i].cite + '</p>' +
// '<div>' + arr[i].abstract + '</div>';
// 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 = '<div>' + abstNew + '...</div>'
// } else {
// var trad_tion = '<div>' + arr[i].abstract + '</div>'
// }
// } else {
// var trad_tion = '<div><h3>' + arr[i].tradition_tag + '</h3><p>' + arr[i].tradition + '</p></div>'
// }
// var lr_top = ''
// for (var t = 0; t < arr[i].topic.length; t++) {
// lr_top += '<a href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].topic[t].journal_topic_id + '" target="_blank">' + arr[i].topic[t].title + '</a>'
// }
// str += '<li><div class="dbt_header">' + arr[i].type + pub_date + '<div class="url_top">' + lr_top + '</div></div>' +
// '<a id="' + arr[i].article_id + '" target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" class="txt_biaoti">' + otStat + arr[i].title + '</a>' +
// '<div class="authorList"><span class="fo_fam">' + arr[i].authortitle + ' </span><br>'
// + localStorage.getItem("Journals_title") + '.&nbsp;' + arr[i].stage_year + ',&nbsp;' + arr[i].stage_vol + '&nbsp;(' + arr[i].stage_no + ')' + npp_ +
// '<a target="_blank" href="https://doi.org/' + arr[i].doi + '">' + doi_ + '</a>' +
// '</div><div class="links_">' + link_ + '</div><div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">' + person_img + '</a>'
// + trad_tion + '<br clear="both"></div></li>'
// }
// $('.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';
$('.DimensionsBadge .quote-source').html('Dimensions Badge')
$('.SciteBadge .quote-source').html('Scite Badge (Wiley)')
$('.Crossref .quote-source').html('Crossref')
$('.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 = `<div style="text-align:center;" class="WosNumber quoteNumber"> ${result.data.list && result.data.list.length > 0 ? result.data.list.length : 0}</div>`
var journalCiteStr = ""
$('.Wos .quote-content1').html(str1)
var arr = result.data.list
for (let i in arr) {
journalCiteStr += ` <div style="margin:10px 0;display:flex;"><p style="margin-right:10px;">${Number(i) + 1}.</p>
<div>
<p style="display: block;
font-size: 13px;
margin-bottom: 3px;">${arr[i].article_name}</p>
<p>
<span style="color: #a2b1b6;
font-size: 13px;"> ${arr[i].journal_name},
<span style="color: #a2b1b6;
font-size: 13px;">${arr[i].author ? `${arr[i].author},` : ''} ${arr[i].journal_name}${arr[i].vol ? `${arr[i].vol},` : ''}
</span></span>
<span style="margin-left:5px;color:#205493;">
<a
target="_blank"
href="https://doi.org/${arr[i].doi}">https://doi.org/${arr[i].doi}</a> </span></p></div>
</div>`
}
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 = `<span class="__dimensions_badge_embed__" data-doi="${doi}" data-legend="always"></span>`
$('.DimensionsBadge a').attr('href', 'https://badge.dimensions.ai/details/doi/' + doi)
var str = `<div style="text-align:center;" class="quoteNumber"> ${result.times_cited}</div>`
$('.DimensionsBadge .quote-content').html(str)
},
error: function (result) {
console.log('result at line 212:', result)
// var str = `<span class="__dimensions_badge_embed__" data-doi="${doi}" data-legend="always"></span>`
var str = `<div style="text-align:center;" class="quoteNumber"> 0</div>`
$('.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 = ` <div style="text-align:center;" class="crossrefNumber quoteNumber"> ${result.tallies[i]['citingPublications']}</div>`
}
$('.SciteBadge .quote-content1').html(str1)
},
error: function (result) {
console.log('result at line 212:', result)
var str1 = ` <div style="text-align:center;" class="crossrefNumber quoteNumber"> 0</div>`
$('.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 = `<div style="text-align:center;" class="crossrefNumber quoteNumber"> ${result.data && result.data.length > 0 ? result.data.length : 0}</div>`
var journalCiteStr = ""
$('.Crossref .quote-content1').html(str1)
var arr = result.data
for (let i in arr) {
journalCiteStr += ` <div style="margin:10px 0;display:flex;"><p style="margin-right:10px;">${Number(i) + 1}.</p>
<div>
<p style="display: block;
font-size: 13px;
margin-bottom: 3px;">${arr[i].article_title}</p>
<p>
<span style="color: #a2b1b6;
font-size: 13px;"> ${arr[i].journal_title},
<span style="margin-left:5px">
${arr[i].year}</span></span>
<span style="margin-left:5px;color:#205493;">
<a
target="_blank"
href="https://doi.org/${arr[i].doi}">https://doi.org/${arr[i].doi}</a> </span></p></div>
</div>`
}
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() {
// 获取地址栏信息
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
// 增加访问次数
$.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/getArticleDetail',
data: {
"article_id": a_ID
},
success: function (result) {
if (result.code == 0) {
// 文章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('<a href="https://scholar.google.com/scholar?&q=' + j_artc.title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '" target="_blank" style="color:#006699;margin-left: 10px;font-weight: 600;">Google Scholar</a>');
}
var lnk_ = '';
if (j_artc.file_pdf != '') {
lnk_ += '<img src="img/link_3.jpg" width="14" height="16" style="vertical-align: middle;"><a href="' + imgFileUrl + 'articlePDF/' + j_artc.file_pdf + '" target="_blank" class="txt_pdf"> PDF</a>&nbsp;&nbsp;&nbsp;&nbsp;'
}
if (j_artc.file_html != '') {
lnk_ += '&nbsp;&nbsp;&nbsp;&nbsp;<img src="img/link_2.png" width="14" height="16" style="vertical-align: middle;"><a href="' + imgFileUrl + 'articleHTML/' + j_artc.file_html + '" target="_blank" class="txt_html"> HTML</a>'
}
if (j_artc.article_id == '172') {
lnk_ += '&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://youtu.be/3eDbnHRkFKQ" target="_blank"><img src="img/link_5.png" width="50" height="16" style="margin-left: 10px"></a>'
}
$('.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_+='<a href="'+apiUrl+'public/endNote/'+j_artc.endnote+'" style="color: #7a2702;" target="_blank">EndNote<span style="color: #444;">(RIS)</span></a> &nbsp;'
// }
if (j_artc.bibtex != '') {
NotTeX_ += '<a href="' + apiUrl + 'public/bibTex/' + j_artc.bibtex + '" style="color: #7a2702;" target="_blank">BibTeX</a>'
}
$('.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 + '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
} else {
var npp_ = j_info.stage_pagename + j_artc.npp + '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
}
}
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 = '&nbsp; | &nbsp; ' + j_info.stage_year + '年第' + j_info.stage_vol + '卷&nbsp; | &nbsp; 第' + j_info.stage_no + '期:' + npp_ + doi_;
} else {
var our_time = '&nbsp; | &nbsp; ' + j_info.stage_year + ', Vol. ' + j_info.stage_vol + '&nbsp; | &nbsp; ' + 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 = '<span class="otStat">Editorial Expression of Concern</span>'
} else if (j_artc.other_state == 2) {
var otStat = '<span class="otStat">Retracted</span>'
}
$('.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 = ' (<a href="mailto:' + j_authior[i].email + '."><img src="img/email.png"></a>) '
Corr_Auth += '&nbsp;' + j_authior[i].author_name + ',';
Corr_Emai += '&nbsp;' + j_authior[i].email + ',';
report_num += 1;
}
if (j_authior[i].orcid == '') {
ORC_ID = ''
} else {
ORC_ID = '<a href="https://orcid.org/' + j_authior[i].orcid + '" target="_blank"><img src="img/or_id.png" alt="" style="width: 15px;margin-left: 3px;"></a>'
}
if (i == j_authior.length - 1) {
stra += j_authior[i].author_name + '<sup>' + j_authior[i].ors + rep + '</sup>' + ORC_ID + mes
} else {
stra += j_authior[i].author_name + '<sup>' + j_authior[i].ors + rep + '</sup>' + ORC_ID + mes + ', '
}
}
str += stra + '<br/>';
var j_organ = result.data.author.organs;
var strg = '';
for (var i = 0; i < j_organ.length; i++) {
strg += '<sup>' + j_organ[i].alias + '</sup>&nbsp;' + j_organ[i].organ_name + '<br/>'
}
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('<a target="_blank" href="https://doi.org/' + j_artc.doi + '">https://doi.org/' + j_artc.doi + '</a>');
// if (Jour_num == '1' && j_artc.article_id <= '1540') {
// $('.wen_rong .content-box .contercon .udr span').html('<a target="_blank" href="https://doi.org/' + j_artc.doi.replace("10.53388", "10.12032") + '">https://doi.org/' + j_artc.doi.replace("10.53388", "10.12032") + '</a>');
// } else if (Jour_num == '14' && j_artc.article_id <= '1540') {
// $('.wen_rong .content-box .contercon .udr span').html('<a target="_blank" href="https://doi.org/' + j_artc.doi.replace("10.53388", "10.12032") + '">https://doi.org/' + j_artc.doi.replace("10.53388", "10.12032") + '</a>');
// } 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('<a target="_blank" href="https://doi.org/' + j_artc.ordoi + '">https://doi.org/' + j_artc.ordoi + '</a>');
}
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 (result.data.html != 1) {
$('.wen_rong #tablist .tarhtmn').css('display', 'none');
$('.wen_rong .content-box .conthtmn').css('display', 'none');
} else {
$('.wen_rong .content-box .conthtmn').html(`
<div class="" style="display: flex;align-items: center;justify-content: center;">
<div class="loader-01" style="display: flex;align-items: center;justify-content: space-around;"></div></div>`);
// $('.wen_rong #tablist .tarhtmn').click(function () {
$.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++) {
if (arr[i].width == 0) {
if (arr[i].is_title == 1) {
if (arr[i].content.indexOf("<p>") >= 0) {
str += "<div class='Ptitle'>" + arr[i].content + "</div>"
} else {
str += '<div class="Ptitle"><p>' + arr[i].content + '</p></div>'
}
} else {
if (arr[i].content.indexOf("<p>") >= 0) {
str += arr[i].content
} else {
str += '<p>' + arr[i].content + '</p>'
}
}
} else {
var picsrc = 'https://submission.tmrjournals.com/public/mainimg/' + arr[i].content;
var fun = "picPreview('" + picsrc + "');"
// console.log(fun)
str += "<div class='imgHnkl'><img class='mainPicItem' onclick=" + fun + " src='https://submission.tmrjournals.com/public/mainimg/"
+ arr[i].content + "' width='" + arr[i].width + "'/><p>" + arr[i].note + "</p></div>"
}
}
$('.wen_rong .content-box .conthtmn').html(str);
// 引用
if (result.data.refers.length > 0) { // 如果有引用数据
var refs = ''
var xuhao = 0
for (var rr = 0; rr < result.data.refers.length; rr++) {
// 如果格式不正确,或者信息不全
let item = ''
if (result.data.refers[rr].refer_type == 'journal' && result.data.refers[rr].doilink != '') {
// journal
xuhao++
item = "<div><p>" + xuhao + '.&nbsp;' + result.data.refers[rr].author + '&nbsp;' + result.data.refers[rr].title + ".&nbsp;<i>" + result.data.refers[rr].joura + "</i>" + result.data.refers[rr].dateno + ".&nbsp; Available at:&nbsp;<a class='refsLink' href='" + result.data.refers[rr].doilink + "' target='_blank' style='color:#006699; word-wrap:break-word;'>" + result.data.refers[rr].doilink + "</a>&nbsp;</p></div>"
refs += item
} else if (result.data.refers[rr].refer_type == 'book' && result.data.refers[rr].isbn != '') {
// book
xuhao++
item = "<div><p>" + xuhao + '.&nbsp;' + result.data.refers[rr].author + '&nbsp;' + result.data.refers[rr].title + ".&nbsp;" + result.data.refers[rr].dateno + ". &nbsp;<br/>Available at:&nbsp;<a target='_blank' style='color:#006699; word-wrap:break-word;' href='" + result.data.refers[rr].isbn + "'> </p></div>"
refs += item
} else if (result.data.refers[rr].refer_type == 'other' && result.data.refers[rr].refer_frag != '' && result.data.refers[rr].refer_frag.length > 15) {
// other
xuhao++
item = "<div><p>" + xuhao + '.&nbsp;' + result.data.refers[rr].refer_frag + ".&nbsp;</p></div>"
refs += item
} else {
continue;
}
}
// console.log(refs)
$('.wen_rong .content-box .conthtmn').append('<div id="ArticleRef" class="ArticleRef"><p><b>References</b></p>' + refs + '</div>')
}
}
},
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("<div class='shenheComments'><p><span>Comments:</span> <br/>" + chushenContent + "</p><p class='time'><span>Review comments received: </span>" + timess + "</p></div>")
// detailIcon = '<svg onclick="showComments(' + er + ')" style="vertical-align: middle; cursor: pointer; margin-left: 10px" t="1691720445324" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4032" width="26" height="26"><path d="M512 298.666667c-162.133333 0-285.866667 68.266667-375.466667 213.333333 89.6 145.066667 213.333333 213.333333 375.466667 213.333333s285.866667-68.266667 375.466667-213.333333c-89.6-145.066667-213.333333-213.333333-375.466667-213.333333z m0 469.333333c-183.466667 0-328.533333-85.333333-426.666667-256 98.133333-170.666667 243.2-256 426.666667-256s328.533333 85.333333 426.666667 256c-98.133333 170.666667-243.2 256-426.666667 256z m0-170.666667c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333333 85.333333 38.4 85.333333 85.333333 85.333333z m0 42.666667c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128 128 55.466667 128 128-55.466667 128-128 128z" fill="#1296db" p-id="4033"></path></svg>'
detailIcon = '<i class="detailsBtn" onclick="showComments(' + er + ')">(Detail)</i>'
}
switch (result.data.track[tt].reviewers[er].state) {
case (1):
reviewerState = 'Accept with major revision'
break;
case (2):
reviewerState = 'Reject'
break;
case (3):
reviewerState = 'Accept with minor revision'
break;
}
time1 = timestampToTime(result.data.track[tt].reviewers[er].ctime)
time2 = timestampToTime(result.data.track[tt].reviewers[er].qtime)
reviewerItem = "<div class='reviewerBox'><span class='time1 time'>Invitation time: <br/>" + time1 + "</span><div class='box'><span class='title'>" + reviewerState + detailIcon + "</span><span class='score'>Score: " + result.data.track[tt].reviewers[er].rated + "</span><span class='reviewer'>reviewer: " + result.data.track[tt].reviewers[er].reviewer_name + "</span><span class='time2'>Review comments received: " + time2 + "</span></div></div>"
reviewers += reviewerItem
}
}
// 获得时间
ttime = timestampToTime(result.data.track[tt].time)
var Revitag = ''
if (result.data.track[tt].type == 4 && result.data.track[tt].response) {
var title = '<h4>Response to reviewers: &nbsp;</h4>'
var lisss = ''
for (var s = 0; s < result.data.track[tt].response.length; s++) {
var xuhao = s + 1
var Revfile_url = ''
// var tptime = timestampToTime(result.data.track[tt].time)
Revfile_url = '<span><a href="https://submission.tmrjournals.com/public/' + result.data.track[tt].response[s].file_url + '" target="_blank" class="txt_html">' + xuhao + '.&nbsp;Download</a></span>'
//Revitag +=
lisss += Revfile_url
}
Revitag = '<div class="filerev">' + title + lisss + '</div>'
}
li = "<div class='trackItem " + typeClass + "'><span class='time'>" + ttime + "</span><div class='type'><span class='title'>" + ttypeName + "</span>" + reviewers + Revitag + "</div></div>"
lis += li
}
$('.wen_rong .content-box .conterecord').html(lis)
} else {
// console.log(result.data.track.length)
$('.wen_rong #tablist .tarrecord').css('display', 'none');
}
// console.log(j_artc)
// Original data 附加文件
if (j_artc.file_original == '') {
console.log('--------------')
$('.wen_rong #tablist .OriginalData').css('display', 'none');
$('.wen_rong #tablist .Original').css('display', 'none');
} else {
// console.log('有值')
// $('.wen_rong #tablist .OriginalData').css('display', 'block');
// $('.wen_rong #tablist .Original').css('display', 'block');
$('#OriginalData').html('<p>Original data:&nbsp;&nbsp;&nbsp;&nbsp;----<a target="_blank" href="public' + apiUrl + 'articleOriginal/' + j_artc.file_original + '">Download</a></p>');
}
if (j_artc.file_pdf == '') {
$('.wen_rong #tablist .tarfipdf').css('display', 'none');
// $('.wen_rong .rong_box .contfdf').css('display','none');
} else {
$('.wen_rong #tablist .tarfipdf').html('<a href="' + imgFileUrl + 'articlePDF/' + j_artc.file_pdf + '" target="_blank" class="txt_html">PDF</a>');
// $('.wen_rong .rong_box .contfdf ul').html('<img src="img/link_3.jpg" width="14" height="16" style="vertical-align: middle;"><a href="'+imgFileUrl+'articlePDF/'+j_artc.file_pdf+'" target="_blank" class="txt_html"><b> PDF</b></a>');
}
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('<a href="' + imgFileUrl + 'articleHTML/' + j_artc.file_html + '" target="_blank" class="txt_html">HTML</a>');
$('.wen_rong .rong_box .contfhml ul').html('<img src="img/link_2.png" width="14" height="16" style="vertical-align: middle;"><a href="' + imgFileUrl + 'articleHTML/' + j_artc.file_html + '" target="_blank" class="txt_html"><b> HTML</b></a>');
}
//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 += '<li><div><img src="' + imgLink + '" width="14" height="16"><b>' + fileType + '</b></div>' +
'<p>Supplementary Material for doi: ' + j_artc.doi + '----<a target="_blank" href="' + apiUrl + 'public/articleSUB/' + j_artc.file_sub + '">Download</a></p></li>';
}
if (j_artc.file_sub2 != '') {
pdf_list += '<li><div></div>' +
'<p>Supplementary Material for doi: ' + j_artc.doi + '----<a target="_blank" href="' + apiUrl + 'public/articleSUB2/' + j_artc.file_sub2 + '">Download</a></p></li>';
}
$('.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('<meta name="citation_title" content="' + j_artc.old_title + '">' +
'<meta name="citation_publication_date" content="' + j_artc.publication + '">' +
'<meta name="citation_journal_title" content="' + j_our.title + '">' +
'<meta name="citation_volume" content="' + j_info.stage_vol + '">' +
'<meta name="citation_issue" content="' + j_info.stage_no + '">' +
'<meta name="citation_pdf_url" content="' + 'https://www.tmrjournals.com' + imgFileUrl + 'articlePDF/' + j_artc.file_pdf + '">')
for (var i = 0; i < j_authior.length; i++) {
$('title').before('<meta name="citation_author" content="' + j_authior[i].author_name + '">')
}
if (j_artc.first_page != undefined) {
$('title').before('<meta name="citation_firstpage" content="' + j_artc.first_page + '">')
}
if (j_artc.last_page != undefined) {
$('title').before('<meta name="citation_lastpage" content="' + j_artc.last_page + '">')
}
// 右侧引入插件
// 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('<i class="fa fa-download"></i> 下载EndNote格式');
$('.wen_jian .right .export .Exc_3').html('<i class="fa fa-download"></i> 下载RIS格式');
$('.wen_jian .right .export .Exc_4').html('<i class="fa fa-download"></i> 下载BibTex格式');
$('.wen_jian .right .export .Exc_5').html('<i class="fa fa-download"></i> 下载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 () {
ShowDanger("error");
}
})
// 右侧话题
$.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 += '<li><a target="_blank" href="topic_list.html?J_num=' + Jour_num + '&t_id='
+ arr[i].journal_topic_id + '"><img src="' + imgtopicUrl + arr[i].icon + '"/></a>' +
'<h6 style="text-align: center"><a target="_blank" ' +
'href="topic_list.html?J_num=' + Jour_num + '&t_id=' + arr[i].journal_topic_id + '">'
+ arr[i].title + '</a></h6></li>'
}
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('<p style="background-color: #f4fafd;height: 10px;"></p>');
}
$('.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
//返回datafilterDataselectData
}
})
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 = "";
for (var i = 0; i < arr.length; i++) {
str += '<li><a href="article.html?J_num=' + arr[i].journal_id + '&a_id=' + arr[i].article_id + '" target="_blank">' + arr[i].title + '</a>' +
'<p>' + arr[i].abbr + ', ' + arr[i].journal.title + ', ' + arr[i].stage.stage_year + '</p></li>'
}
$('.corr_late>ul').html(str);
if (arr == '') {
$('.corr_late').css('display', 'none');
}
if (arr == '') {
$('.corr_late_bg').css('display', 'none');
}
}
}
})
}
// 图片预览
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('<div class="loader-01"></div>');
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 += `
<div class='cite_list_item' style="margin-bottom:10px;podding:10px 0;display:flex;border-bottom: ${i != arr.length - 1 ? '1px solid #ccc' : 'none'};}"><p style="margin-right:10px;">${Number(i) + 1}.</p>
<div>
<p style="display: block; line-height: 20px;
font-size: 13px;
margin-bottom: 3px;"> <a style="color:#205493 !important;"
target="_blank"
href="${arr[i].doi ? 'https://doi.org/' + arr[i].doi : ''}">
${arr[i].article_name}
</a></p>
<p style="line-height: 14px;margin-bottom: 10px;">
<span style="color: #a2b1b6;
font-size: 13px;">${arr[i].author ? `${arr[i].author},` : ''} ${arr[i].journal_name}${arr[i].vol ? `${arr[i].vol},` : ''}
</span>
<span style="margin-left:5px;color:#205493 !important;">
</span></p></div>
</div> `
}
journalCiteStr += ` <div class="cite_triangle"></div>`
$('.cite_box .export_cite').html(journalCiteStr);
}
}
})
}