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"
|
. ${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>
|
href="https://doi.org/${arr[i].doi}">${baseInfo.doi_}</a> </div>
|
||||||
<div class="links_">${baseInfo.link_}</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>
|
clear="both"></div>
|
||||||
</li>`
|
</li>`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,14 +61,14 @@ function commonGetItemHtml(doc) {
|
|||||||
link_: '',
|
link_: '',
|
||||||
stage_: '',
|
stage_: '',
|
||||||
}
|
}
|
||||||
if (data.has_mains == 0) {
|
if (data.has_html == 0) {
|
||||||
if (data.file_html == '') {
|
if (data.file_html == '') {
|
||||||
baseInfo.html_ = ''
|
baseInfo.html_ = ''
|
||||||
} else {
|
} 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 {
|
} 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 {
|
} else {
|
||||||
var npp_ = ': ' + arr[i].npp + '. '
|
var npp_ = ': ' + arr[i].npp + '. '
|
||||||
}
|
}
|
||||||
if (arr[i].has_mains == 0) {
|
if (arr[i].has_html == 0) {
|
||||||
if (arr[i].file_html == '') {
|
if (arr[i].file_html == '') {
|
||||||
var html_ = ''
|
var html_ = ''
|
||||||
} else {
|
} 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 {
|
} 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 == '') {
|
if (arr[i].file_pdf == '') {
|
||||||
var 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 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> ) ' +
|
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>' +
|
'<p class="txt_content">' + arr[i].cite + '</p>' +
|
||||||
'<div>' + arr[i].abstract + '</div>';
|
'<div>' + arr[i].abstract + '</div>';
|
||||||
|
|
||||||
var lr_top = ''
|
var lr_top = ''
|
||||||
for (var t = 0; t < arr[i].topic.length; t++) {
|
if (arr[i].topic && arr[i].topic.length > 0) {
|
||||||
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>'
|
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
|
// Cancer Advances
|
||||||
// Nursing Communications
|
// Nursing Communications
|
||||||
// Integrative Medicine Discovery
|
// Integrative Medicine Discovery
|
||||||
@@ -1296,7 +1299,7 @@ function getCiteList(a_ID) {
|
|||||||
}
|
}
|
||||||
journalCiteStr += ` <div class="cite_triangle"></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_: '',
|
stage_: '',
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.has_mains == 0) {
|
if (data.has_html == 0) {
|
||||||
if (data.file_html == '') {
|
if (data.file_html == '') {
|
||||||
baseInfo.html_ = ''
|
baseInfo.html_ = ''
|
||||||
} else {
|
} 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 {
|
} 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.mains == '') {
|
||||||
// if (data.file_html == '') {
|
// if (data.file_html == '') {
|
||||||
|
|||||||
@@ -179,14 +179,14 @@ function bf_list() {
|
|||||||
} else {
|
} else {
|
||||||
var npp_ = ': ' + arr[i].npp + '. '
|
var npp_ = ': ' + arr[i].npp + '. '
|
||||||
}
|
}
|
||||||
if (arr[i].has_mains == 0) {
|
if (arr[i].has_html == 0) {
|
||||||
if (arr[i].file_html == '') {
|
if (arr[i].file_html == '') {
|
||||||
var html_ = ''
|
var html_ = ''
|
||||||
} else {
|
} 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> ) '
|
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 {
|
} 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> ) '
|
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 == '') {
|
if (arr[i].file_pdf == '') {
|
||||||
var pdf_ = ''
|
var pdf_ = ''
|
||||||
@@ -255,9 +255,11 @@ function bf_list() {
|
|||||||
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>';
|
+ '<p class="txt_content">' + arr[i].cite + '</p><div>' + arr[i].abstract + '</div>';
|
||||||
var lr_top = ''
|
var lr_top = ''
|
||||||
|
if (arr[i].topic && arr[i].topic.length > 0) {
|
||||||
for (var t = 0; t < arr[i].topic.length; t++) {
|
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>'
|
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].tradition_tag == '') {
|
if (arr[i].tradition_tag == '') {
|
||||||
|
|||||||
@@ -63,14 +63,19 @@
|
|||||||
<script src="js/js.js"></script>
|
<script src="js/js.js"></script>
|
||||||
<script src="js/side.js"></script>
|
<script src="js/side.js"></script>
|
||||||
<script src="js/article.js"></script>
|
<script src="js/article.js"></script>
|
||||||
|
|
||||||
|
<script src="js/articleJS/index.js"></script>
|
||||||
|
|
||||||
|
<script src="js/articleJS/article_t.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
if(Jour_num=='22'){
|
if (Jour_num == '22') {
|
||||||
$('.gue_chinese_tot').html('共 <b class="tioashu"></b> 条');
|
$('.gue_chinese_tot').html('共 <b class="tioashu"></b> 条');
|
||||||
}
|
}
|
||||||
|
|
||||||
side_list()
|
side_list()
|
||||||
at_list();
|
at_list();
|
||||||
|
initArticleT()
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user