文章引用
This commit is contained in:
49
article.html
49
article.html
@@ -369,30 +369,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="background-color: #f4fafd;height: 20px"></div>
|
||||
<div class="mb_aform">
|
||||
<div class="search_for">
|
||||
<!-- <select name="cut">-->
|
||||
<!-- <option value="1">Title</option>-->
|
||||
<!-- <option value="2">Full Text</option>-->
|
||||
<!-- <option value="3">Author</option>-->
|
||||
<!-- </select>-->
|
||||
<input type="text" placeholder="Search for Articles" value="" class="sfor_inpw">
|
||||
<input class="sfor_btnw" type="button" value="Search">
|
||||
</div>
|
||||
<br clear="both">
|
||||
<img src="img/em_ile.png" alt="">
|
||||
<div>
|
||||
<p>Latest Research and News</p>
|
||||
<input id="combox4" autocomplete="off" placeholder="Please choose topics"
|
||||
style="width: 250px;height: 29px">
|
||||
<input type="text" id="emaplm" value=""
|
||||
placeholder="Please enter a valid email address" />
|
||||
<br><span class="spa spa111"></span>
|
||||
<input type="submit" value="Subscribe" class="yue_addm" />
|
||||
<i class="icon"></i>
|
||||
</div>
|
||||
<br clear="both">
|
||||
</div>
|
||||
<!-- 相关引用次数-->
|
||||
<div style="background-color: #f4fafd;height: 20px" class=""></div>
|
||||
<div class=" article-quote" style="background-color: #f4fafd;">
|
||||
@@ -427,6 +403,31 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 相关引用次数-->
|
||||
<div class="mb_aform">
|
||||
<div class="search_for">
|
||||
<!-- <select name="cut">-->
|
||||
<!-- <option value="1">Title</option>-->
|
||||
<!-- <option value="2">Full Text</option>-->
|
||||
<!-- <option value="3">Author</option>-->
|
||||
<!-- </select>-->
|
||||
<input type="text" placeholder="Search for Articles" value="" class="sfor_inpw">
|
||||
<input class="sfor_btnw" type="button" value="Search">
|
||||
</div>
|
||||
<br clear="both">
|
||||
<img src="img/em_ile.png" alt="">
|
||||
<div>
|
||||
<p>Latest Research and News</p>
|
||||
<input id="combox4" autocomplete="off" placeholder="Please choose topics"
|
||||
style="width: 250px;height: 29px">
|
||||
<input type="text" id="emaplm" value=""
|
||||
placeholder="Please enter a valid email address" />
|
||||
<br><span class="spa spa111"></span>
|
||||
<input type="submit" value="Subscribe" class="yue_addm" />
|
||||
<i class="icon"></i>
|
||||
</div>
|
||||
<br clear="both">
|
||||
</div>
|
||||
|
||||
<div style="background-color: #f4fafd;height: 20px" class="corr_late_bg"></div>
|
||||
<div class="corr_late">
|
||||
<h3>Related articles</h3>
|
||||
|
||||
469
js/article.js
469
js/article.js
@@ -2271,21 +2271,41 @@ function at_list() {
|
||||
|
||||
// News & Commentdian点进去的文章列表
|
||||
if (n_ID != null) {
|
||||
// News & Commentdian
|
||||
// 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/getNewsArticle',
|
||||
type: 'post', url: apiUrl + 'api/Journal/getNewsArticleNew',
|
||||
data: {
|
||||
"journal_id": n_ID
|
||||
"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 = "";
|
||||
@@ -2310,7 +2330,7 @@ function at_list() {
|
||||
} else {
|
||||
var stage_ = ' (' + arr[i].stage_no + ')'
|
||||
}
|
||||
if (arr[i].mains == '') {
|
||||
if (arr[i].html_num == 0) {
|
||||
if (arr[i].file_html == '') {
|
||||
var html_ = ''
|
||||
} else {
|
||||
@@ -2495,6 +2515,412 @@ function at_list() {
|
||||
}
|
||||
|
||||
|
||||
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") + '. ' + arr[i].stage_year + ', ' + 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_ = ': ' + arr[i].npp + '. '
|
||||
}
|
||||
if (arr[i].stage_no == '0') {
|
||||
var stage_ = ''
|
||||
} else {
|
||||
var stage_ = ' (' + arr[i].stage_no + ')'
|
||||
}
|
||||
if (arr[i].html_num == 0) {
|
||||
if (arr[i].file_html == '') {
|
||||
var html_ = ''
|
||||
} else {
|
||||
var html_ = '<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> ( <span style="color: red">' + arr[i].html_num + '</span> ) '
|
||||
}
|
||||
} 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> ( <span style="color: red">' + arr[i].html_num + '</span> ) '
|
||||
}
|
||||
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> ( <span style="color: red">' + arr[i].pdf_num + '</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: ' + 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> ( <span style="color: red">' + arr[i].abs_num + '</span> ) ' +
|
||||
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") + '. ' + arr[i].stage_year + ', ' + 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_ = ': ' + arr[i].npp + '. '
|
||||
}
|
||||
if (arr[i].stage_no == '0') {
|
||||
var stage_ = ''
|
||||
} else {
|
||||
var stage_ = ' (' + arr[i].stage_no + ')'
|
||||
}
|
||||
if (arr[i].mains == '') {
|
||||
if (arr[i].file_html == '') {
|
||||
var html_ = ''
|
||||
} else {
|
||||
var html_ = '<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> ( <span style="color: red">' + arr[i].html_num + '</span> ) '
|
||||
}
|
||||
} 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> ( <span style="color: red">' + arr[i].html_num + '</span> ) '
|
||||
}
|
||||
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> ( <span style="color: red">' + arr[i].pdf_num + '</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: ' + 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> ( <span style="color: red">' + arr[i].abs_num + '</span> ) ' +
|
||||
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++) {
|
||||
@@ -2665,6 +3091,40 @@ function at_list() {
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
} else {
|
||||
ShowDanger("请求失败!");
|
||||
}
|
||||
},
|
||||
error: function () {
|
||||
ShowDanger("error!");
|
||||
}
|
||||
})
|
||||
return false;
|
||||
}, lang: {
|
||||
firstPageText: 'First page',
|
||||
firstPageTipText: 'First page',
|
||||
lastPageText: 'Last page',
|
||||
lastPageTipText: 'Last page',
|
||||
prePageText: 'Previous page',
|
||||
prePageTipText: 'Previous page',
|
||||
nextPageText: 'Next page',
|
||||
nextPageTipText: 'Next page',
|
||||
totalPageBeforeText: '',
|
||||
totalPageAfterText: '',
|
||||
currPageBeforeText: 'on page ',
|
||||
currPageAfterText: '',
|
||||
totalInfoSplitStr: ' of ',
|
||||
totalRecordsBeforeText: '',
|
||||
totalRecordsAfterText: '',
|
||||
gopageBeforeText: ' Go to page',
|
||||
gopageButtonOkText: 'Go',
|
||||
gopageAfterText: 'page',
|
||||
buttonTipBeforeText: '第',
|
||||
buttonTipAfterText: '页'
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
ShowDanger("请求失败!");
|
||||
}
|
||||
@@ -2675,7 +3135,6 @@ function at_list() {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// News点进去的文章列表
|
||||
if (new_ID != null) {
|
||||
// News
|
||||
|
||||
@@ -646,9 +646,11 @@ function bf_list() {
|
||||
|
||||
// 中下侧News & Comment文章
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'api/Journal/getNewsArticle',
|
||||
type: 'post', url: apiUrl + 'api/Journal/getNewsArticleNew',
|
||||
data: {
|
||||
"journal_id": Jour_num
|
||||
"journal_id": Jour_num,
|
||||
"limit": 4,
|
||||
"page": 1
|
||||
},
|
||||
success: function (result) {
|
||||
if (result.code == 0) {
|
||||
|
||||
22
notice.html
22
notice.html
@@ -1,41 +1,52 @@
|
||||
<!doctype html>
|
||||
<html lang="zh">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title></title>
|
||||
<link rel="shortcut icon" href="img/tmr3.png" type="image/x-icon"/>
|
||||
<link rel="shortcut icon" href="img/tmr3.png" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="style/font-awesome/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
||||
<style>
|
||||
.topics {
|
||||
font-family: Calibri;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.topics>div a:hover {
|
||||
color: #23527c !important;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.topics ul {
|
||||
list-style-type: circle;
|
||||
padding-left: 20px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.topics ul li {
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
float: none;
|
||||
list-style-type:disc;
|
||||
list-style-type: disc;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.fuwenben img{
|
||||
|
||||
.fuwenben img {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.topics ul li img {
|
||||
object-fit: cover;
|
||||
height: 100px !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="col-content">
|
||||
<div id="top_bar">
|
||||
@@ -74,10 +85,11 @@
|
||||
<script src="js/notice.js"></script>
|
||||
<!--<script src="js/not_map.js"></script>-->
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$(document).ready(function () {
|
||||
side_list();
|
||||
notice_con();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user