kongge
This commit is contained in:
@@ -65,10 +65,10 @@ function commonGetItemHtml(doc) {
|
||||
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> ( <span style="color: red">' + data.html_num + '</span> )'
|
||||
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> ( <span style="color: red">' + data.html_num + '</span> )'
|
||||
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> ) '
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -168,10 +168,10 @@ function bf_list() {
|
||||
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> )'
|
||||
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> )'
|
||||
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_ = ''
|
||||
|
||||
@@ -67,10 +67,10 @@ function commonGetItemHtml(doc,maxwidth) {
|
||||
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> ( <span style="color: red">' + data.html_num + '</span> )'
|
||||
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> ( <span style="color: red">' +data.html_num + '</span> )'
|
||||
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 == '') {
|
||||
|
||||
@@ -4,7 +4,7 @@ function bf_list() {
|
||||
// 增加访问次数
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
|
||||
data: {'type': Jour_num},
|
||||
data: { 'type': Jour_num },
|
||||
success: function (result) {
|
||||
if (result.code == 0) {
|
||||
|
||||
@@ -183,10 +183,10 @@ function bf_list() {
|
||||
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> )'
|
||||
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> )'
|
||||
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_ = ''
|
||||
@@ -252,14 +252,14 @@ 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 = ''
|
||||
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>'
|
||||
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].tradition_tag == '') {
|
||||
@@ -323,7 +323,7 @@ function bf_list() {
|
||||
var num = $(this).next().html();
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false,
|
||||
data: {"article_id": $(this).attr('alt'), "type": 'abs'},
|
||||
data: { "article_id": $(this).attr('alt'), "type": 'abs' },
|
||||
success: function (result) {
|
||||
if (result.code == 0) {
|
||||
num = num * 1 + 1 * 1
|
||||
@@ -332,7 +332,7 @@ function bf_list() {
|
||||
})
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
|
||||
data: {'type': Jour_num, 'is_detail': '1'},
|
||||
data: { 'type': Jour_num, 'is_detail': '1' },
|
||||
success: function (result) {
|
||||
}
|
||||
});
|
||||
@@ -343,7 +343,7 @@ function bf_list() {
|
||||
var num = $(this).next().html();
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false,
|
||||
data: {"article_id": $(this).attr('alt'), "type": 'html'},
|
||||
data: { "article_id": $(this).attr('alt'), "type": 'html' },
|
||||
success: function (result) {
|
||||
if (result.code == 0) {
|
||||
num = num * 1 + 1 * 1
|
||||
@@ -352,7 +352,7 @@ function bf_list() {
|
||||
})
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
|
||||
data: {'type': Jour_num, 'is_detail': '1'},
|
||||
data: { 'type': Jour_num, 'is_detail': '1' },
|
||||
success: function (result) {
|
||||
}
|
||||
});
|
||||
@@ -362,7 +362,7 @@ function bf_list() {
|
||||
var num = $(this).next().html();
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false,
|
||||
data: {"article_id": $(this).attr('alt'), "type": 'pdf'},
|
||||
data: { "article_id": $(this).attr('alt'), "type": 'pdf' },
|
||||
success: function (result) {
|
||||
if (result.code == 0) {
|
||||
num = num * 1 + 1 * 1
|
||||
@@ -371,7 +371,7 @@ function bf_list() {
|
||||
})
|
||||
$.ajax({
|
||||
type: 'post', url: apiUrl + 'super/Publish/addVisitNum',
|
||||
data: {'type': Jour_num, 'is_detail': '1'},
|
||||
data: { 'type': Jour_num, 'is_detail': '1' },
|
||||
success: function (result) {
|
||||
}
|
||||
});
|
||||
@@ -417,7 +417,7 @@ function bf_list() {
|
||||
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},
|
||||
data: { "article_id": ecx_id },
|
||||
success: function (result) {
|
||||
var a = document.createElement('a');
|
||||
a.href = result.data.url;
|
||||
@@ -430,7 +430,7 @@ function bf_list() {
|
||||
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},
|
||||
data: { "article_id": ecx_id },
|
||||
success: function (result) {
|
||||
var a = document.createElement('a');
|
||||
a.href = result.data.url;
|
||||
@@ -443,7 +443,7 @@ function bf_list() {
|
||||
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},
|
||||
data: { "article_id": ecx_id },
|
||||
success: function (result) {
|
||||
var a = document.createElement('a');
|
||||
a.href = result.data.url;
|
||||
@@ -457,7 +457,7 @@ function bf_list() {
|
||||
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},
|
||||
data: { "article_id": ecx_id },
|
||||
success: function (result) {
|
||||
var a = document.createElement('a');
|
||||
a.href = result.data.url;
|
||||
@@ -488,19 +488,19 @@ function bf_list() {
|
||||
$("#mask").hide();
|
||||
$(".dingyue").fadeOut();
|
||||
document.body.removeEventListener('touchmove', bodyScroll, false);
|
||||
$("body").css({"position": "initial", "height": "auto"});
|
||||
$("body").css({ "position": "initial", "height": "auto" });
|
||||
});
|
||||
$(".top .dingyue input.yue_close").click(function () {
|
||||
$("#mask").hide();
|
||||
$(".dingyue").fadeOut();
|
||||
document.body.removeEventListener('touchmove', bodyScroll, false);
|
||||
$("body").css({"position": "initial", "height": "auto"});
|
||||
$("body").css({ "position": "initial", "height": "auto" });
|
||||
});
|
||||
$(".top .jour_ts input.tishi_author").click(function () {
|
||||
$("#mask").hide();
|
||||
$(".jour_ts").fadeOut();
|
||||
document.body.removeEventListener('touchmove', bodyScroll, false);
|
||||
$("body").css({"position": "initial", "height": "auto"});
|
||||
$("body").css({ "position": "initial", "height": "auto" });
|
||||
});
|
||||
|
||||
function bodyScroll(event) {
|
||||
@@ -885,7 +885,7 @@ function bf_list() {
|
||||
$('.ncon_tcrd_tmr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&cite_id=1');
|
||||
|
||||
$('.ncon_tcrd_tmr>ul').html('<div id="Marquee_x"><ul><li>' + str + '</li></ul></div>');
|
||||
$('#Marquee_x').jcMarquee({'marquee': 'x', 'speed': 20});
|
||||
$('#Marquee_x').jcMarquee({ 'marquee': 'x', 'speed': 20 });
|
||||
|
||||
|
||||
$('.ncon_tcrd_tmr h4 span').click(function () {
|
||||
@@ -931,7 +931,7 @@ function bf_list() {
|
||||
|
||||
}
|
||||
$('.ncon_tcrd_tmr>ul').html('<div id="Marquee_x"><ul><li>' + str + '</li></ul></div>');
|
||||
$('#Marquee_x').jcMarquee({'marquee': 'x', 'speed': 20});
|
||||
$('#Marquee_x').jcMarquee({ 'marquee': 'x', 'speed': 20 });
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1010,12 +1010,12 @@ function bf_list() {
|
||||
var new_arry = result.data.topic;
|
||||
|
||||
new_arry = old_arry.map(o => {
|
||||
return {id: o.base_topic_id, text: o.title}
|
||||
return { id: o.base_topic_id, text: o.title }
|
||||
})
|
||||
|
||||
for (var i = 0; i < old_arry.length; i++) {
|
||||
new_arry[i].children = old_arry[i].children.map(o => {
|
||||
return {id: o.base_topic_id, text: o.title}
|
||||
return { id: o.base_topic_id, text: o.title }
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1327,7 +1327,7 @@ function getCiteList(a_ID) {
|
||||
}
|
||||
journalCiteStr += ` <div class="cite_triangle"></div>`
|
||||
|
||||
$('.cite_box .export_cite').html(journalCiteStr);
|
||||
$('.cite_box .export_cite').html(journalCiteStr);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user