提交
This commit is contained in:
@@ -7760,7 +7760,7 @@ function article_con() {
|
||||
var textContent = $('<div>').html(item.content).text(); // 提取纯文本
|
||||
contentHtml = `<p class="${item.is_h1 ? 'Ptitle pMain' : 'pMain'} " style="font-family: 'Charis SIL';min-height:12px;" main-state="${item.state}" contenteditable="false" data-id="${item.am_id}" main-id="${item.am_id}" id="${sectionId}">${item.content}</p>`;
|
||||
|
||||
if (item.is_h1 || textContent === "Abstract" || textContent === "Keywords") {
|
||||
if (item.is_h1 ) {
|
||||
|
||||
navLinks.content.push({ sectionId: sectionId, type: 'content', text: textContent, href: '#' + sectionId, is_h1: item.is_h1, });
|
||||
}
|
||||
@@ -7771,7 +7771,7 @@ function article_con() {
|
||||
|
||||
return contentHtml;
|
||||
}).join('');
|
||||
htmlContent = `<div class="newHtml2">${htmlContent}</div>`
|
||||
htmlContent = `<div class="newHtml2" style="margin-left:300px;">${htmlContent}</div>`
|
||||
$('.wen_rong .content-box .conthtmn').html(htmlContent);
|
||||
console.log('navLinks.forEach at line 7752:', navLinks)
|
||||
// 引用
|
||||
@@ -7875,14 +7875,14 @@ function article_con() {
|
||||
}
|
||||
}
|
||||
// 将生成的所有引用内容插入到页面中
|
||||
$('.wen_rong .content-box .conthtmn').append('<div id="ArticleRef" class="ArticleRef"><p id="References"><b>References</b></p>' + refs + '</div>');
|
||||
$('.wen_rong .content-box .conthtmn').append('<div id="ArticleRef" style="margin-left:300px;" class="ArticleRef"><p id="References"><b>References</b></p>' + refs + '</div>');
|
||||
}
|
||||
$('.wen_rong .content-box .conthtmn').prepend(navHtml);
|
||||
// 给导航栏添加固定定位样式
|
||||
// 给导航栏添加固定定位样式
|
||||
$('.anchor-nav').css({
|
||||
'position': 'fixed',
|
||||
'display': 'none',
|
||||
// 'display': 'none',
|
||||
'top': '0', // 固定在顶部
|
||||
'left': '0', // 固定在左侧
|
||||
'width': '285px', // 设置固定宽度
|
||||
|
||||
@@ -1054,7 +1054,7 @@ function bf_list() {
|
||||
var str = "";
|
||||
for (var i = 0; i < result.data.journalStage.length; i++) {
|
||||
// 暂时条件中添加一个3 15 10
|
||||
if (Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22 || Jour_num == 3 || Jour_num == 15 || Jour_num == 10) {
|
||||
if (Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22 || Jour_num == 3 || Jour_num == 15 || Jour_num == 10|| Jour_num == 16|| Jour_num == 24) {
|
||||
// 合并(替换)期刊
|
||||
if (i == 0) { str += '<b>' + arr_stage[i].stage_year + '</b><br>' }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user