has_mains改成has_html
This commit is contained in:
@@ -262,7 +262,7 @@ function initArticleT() {
|
||||
. ${arr[i].stage_year}, ${arr[i].stage_vol}${baseInfo.stage_}${baseInfo.npp_}<a target="_blank"
|
||||
href="https://doi.org/${arr[i].doi}">${baseInfo.doi_}</a> </div>
|
||||
<div class="links_">${baseInfo.link_}</div>
|
||||
<div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">${img_i}</a>${baseInfo.trad_tion}<br
|
||||
<div class="apwrap"><a onclick="imgbig(this)" class="imgdiv">${baseInfo.person_img}</a>${baseInfo.trad_tion}<br
|
||||
clear="both"></div>
|
||||
</li>`
|
||||
}
|
||||
|
||||
@@ -61,14 +61,14 @@ function commonGetItemHtml(doc) {
|
||||
link_: '',
|
||||
stage_: '',
|
||||
}
|
||||
if (data.has_mains == 0) {
|
||||
if (data.has_html == 0) {
|
||||
if (data.file_html == '') {
|
||||
baseInfo.html_ = ''
|
||||
} else {
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + data.file_html + '" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a>   '
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + data.file_html + '" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a> ( <span style="color: red">' + data.html_num + '</span> )'
|
||||
}
|
||||
} else {
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + data.article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a>   '
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + data.article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a> ( <span style="color: red">' + data.html_num + '</span> )'
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -164,14 +164,14 @@ function bf_list() {
|
||||
} else {
|
||||
var npp_ = ': ' + arr[i].npp + '. '
|
||||
}
|
||||
if (arr[i].has_mains == 0) {
|
||||
if (arr[i].has_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>   '
|
||||
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>   '
|
||||
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_ = ''
|
||||
@@ -219,15 +219,18 @@ function bf_list() {
|
||||
var c_t_a = '<button class="txt_copy cite_txt_button"> <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>'
|
||||
}
|
||||
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_ + c_t_a + cite_+ tong_geogle +
|
||||
html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle +
|
||||
'<p class="txt_content">' + arr[i].cite + '</p>' +
|
||||
'<div>' + arr[i].abstract + '</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>'
|
||||
if (arr[i].topic && arr[i].topic.length > 0) {
|
||||
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>'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Cancer Advances
|
||||
// Nursing Communications
|
||||
// Integrative Medicine Discovery
|
||||
@@ -1295,11 +1298,11 @@ function getCiteList(a_ID) {
|
||||
</div> `
|
||||
}
|
||||
journalCiteStr += ` <div class="cite_triangle"></div>`
|
||||
|
||||
$('.cite_box .export_cite').html(journalCiteStr);
|
||||
|
||||
$('.cite_box .export_cite').html(journalCiteStr);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -63,14 +63,14 @@ function commonGetItemHtml(doc,maxwidth) {
|
||||
stage_: '',
|
||||
}
|
||||
|
||||
if (data.has_mains == 0) {
|
||||
if (data.has_html == 0) {
|
||||
if (data.file_html == '') {
|
||||
baseInfo.html_ = ''
|
||||
} else {
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + data.file_html + '" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a>   '
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="' + imgFileUrl + 'articleHTML/' + data.file_html + '" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a> ( <span style="color: red">' + data.html_num + '</span> )'
|
||||
}
|
||||
} else {
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + data.article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a>   '
|
||||
baseInfo.html_ = '<img src="img/link_2.png" width="14" height="16"><a href="article.html?J_num=' + Jour_num + '&a_id=' + data.article_id + '&s_htm=1" target="_blank" class="txt_html" alt="' + data.article_id + '">HTML</a> ( <span style="color: red">' +data.html_num + '</span> )'
|
||||
}
|
||||
// if (data.mains == '') {
|
||||
// if (data.file_html == '') {
|
||||
|
||||
Reference in New Issue
Block a user