From 43d289cd874731d2240a6d7e1fabb479810bae99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com>
Date: Tue, 24 Dec 2024 17:47:03 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89ghr?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ghr/index.html | 2 +-
journals_ghr1.html | 108 +++++++++++++++++++++++++++++++++++++++++++++
js/article.js | 13 +++++-
js/side.js | 30 ++++++++++---
4 files changed, 143 insertions(+), 10 deletions(-)
create mode 100644 journals_ghr1.html
diff --git a/ghr/index.html b/ghr/index.html
index ad674fd..b47060d 100644
--- a/ghr/index.html
+++ b/ghr/index.html
@@ -5,7 +5,7 @@
Gastroenterology & Hepatology Research
diff --git a/journals_ghr1.html b/journals_ghr1.html
new file mode 100644
index 0000000..b2862eb
--- /dev/null
+++ b/journals_ghr1.html
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Coming soon!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/js/article.js b/js/article.js
index e15c2be..ec83420 100644
--- a/js/article.js
+++ b/js/article.js
@@ -7254,8 +7254,8 @@ function article_con() {
}
$('.wen_jian .right>.links_').html(lnk_);
-
- //获取文章引用
+if(Jour_num!=13){
+ //获取文章引用
getCitations(j_artc.doi, a_ID);
// 点击增加数字
$('.txt_html').click(function () {
@@ -7290,6 +7290,15 @@ function article_con() {
});
$(this).next().html(num);
})
+}else{
+ $('.article-quote').css('display', 'none');
+ $('.mb_aform').css('display', 'none');
+ $('.pos_ter').css('display', 'none');
+ $('.footer').css('display', 'none');
+ $('.wen_rong .right').css('display', 'none');
+ $('.wenzhang .wen_rong .left').css('width', '100%');
+}
+
var NotTeX_ = ''
diff --git a/js/side.js b/js/side.js
index 3107a7d..a059635 100644
--- a/js/side.js
+++ b/js/side.js
@@ -4,10 +4,10 @@ $('.art_side').load('./side.html');
// 底部
$('.footer').load('./footer.html')
-$( document ).ready(function() {
- // console.log( "document loaded" );
+$(document).ready(function () {
+ // console.log( "document loaded" );
$('#kezuoB').hide();
- // console.log( $('#kezuoB') );
+ // console.log( $('#kezuoB') );
});
// 期刊基础、外链、分期、话题信息加载
@@ -71,7 +71,7 @@ function side_list() {
$('.ment_sousuo_kuang').css('background-color', arr_jour.system_color)
$('.ment_sousuo_kuang .soukuang_btn i').css('color', arr_jour.system_color)
$('.ment_sousuo_kuang .soukuang_btn i').css('border-color', arr_jour.system_color)
- $('.article_ .alls_issue > ul li > a > p').css('background-color', arr_jour.system_color+'80')
+ $('.article_ .alls_issue > ul li > a > p').css('background-color', arr_jour.system_color + '80')
$('.top .top_switch').css('border-color', arr_jour.system_color)
$('.top .top_switch>div:nth-child(2)').css('background-color', arr_jour.system_color)
$('.top .top_switch>div:nth-child(1)').css('color', arr_jour.system_color)
@@ -246,7 +246,7 @@ function side_list() {
$('.Ins_authors').attr('href', 'for_author.html?J_num=' + Jour_num);
$('.Join_Bord').attr('href', 'z_f6-1.html?J_num=' + Jour_num);
$('.Join_Bord2').attr('href', 'z_f11-1.html?J_num=' + Jour_num);
-
+
$('.edit_board_tmr>a').attr('href', arr_jour.board_url);
//$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url);
@@ -254,7 +254,7 @@ function side_list() {
var arr_Abc = result.data.journalAbs;
var str = "";
for (var i = 0; i < arr_Abc.length; i++) {
- if(arr_Abc[i].is_show==1){
+ if (arr_Abc[i].is_show == 1) {
str += '» ' + arr_Abc[i].title + ''
}
}
@@ -292,7 +292,23 @@ function side_list() {
$('.whit_await').css('display', 'none');
$('.jour_awaite_bot').css('display', 'none');
}
+ if (Jour_num == 13) {
+ $('#top_bar .top').css('display', 'none');
+ $('sharethis_tmr').css('display', 'none');
+ const artSide = document.querySelector('.art_side');
+ const elements = artSide.children;
+ // 隐藏 art_side 中的所有元素
+ for (let i = 0; i < elements.length; i++) {
+ elements[i].classList.add('hidden');
+ }
+
+ // 显示 jour_message 元素
+ const jourMessage = artSide.querySelector('.jour_message');
+ if (jourMessage) {
+ jourMessage.classList.remove('hidden');
+ }
+ }
// 待审稿件
// $.ajax({
@@ -703,7 +719,7 @@ function side_list() {
}
})
$('.jour_guest ul li a.gue_appli').click(function () {
- window.open('gue_cont_gea.html?J_num=' + Jour_num + '&&Gu_num=' + $(this).attr('alt'));
+ window.open('gue_cont_gea.html?J_num=' + Jour_num + '&&Gu_num=' + $(this).attr('alt'));
})
} else {