+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
ISSN:
+
Editor-in-Chief:
+
Editorial Board:
+
+
+
Acceptance:
+
Final Decision:
+
APC:
+
Frequency:
+
E-Mail:
+
+
+
+
+
-
+
+
+
-
-
-
-
+
+
\ No newline at end of file
diff --git a/journals_fh.html b/journals_fh.html
new file mode 100644
index 0000000..598867d
--- /dev/null
+++ b/journals_fh.html
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Food and Health incorporated into Integrative Medicine Discovery
+ (ISSN 3021-1670). This strategic decision aims to enhance the scope of our platform for research in Integrative Medicine Discovery .
+ Integrative Medicine Discovery is a peer-reviewed, serialization open access (SOA) journal managed by TMR Publishing Group.
+ The aim of Integrative Medicine Discovery is to supply a platform to explore the scientific connotation and new findings of traditional Medicines around the world based on a holistic view using multidisciplinary knowledge.
+ Integrative Medicine Discovery covers evidence-based medicine, integrative pharmacology, integrative oncology, herbal formulae, non-drug therapy.
+ For the latest published articles, please visit
+ Integrative Medicine Discovery
+ .
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/js/article.js b/js/article.js
index 86f2ad8..0c0f5da 100644
--- a/js/article.js
+++ b/js/article.js
@@ -3,7 +3,25 @@ var commonSupColor = 'rgb(0,112,192)'//上角标颜色
var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色
var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色
+function loadMathJax(callback) {
+ const script = document.createElement('script');
+ // 可选:配置 MathJax(必须在加载 script 前设置)
+ window.MathJax = {
+ tex: {
+ inlineMath: [['$', '$'], ['\\(', '\\)']],
+ displayMath: [['$$', '$$'], ['\\[', '\\]']]
+ },
+ startup: {
+ typeset: false // 不自动 typeset,手动触发更灵活
+ }
+ };
+
+ script.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
+ script.onload = callback;
+ document.head.appendChild(script);
+}
+loadMathJax()
// 列表
function at_list() {
@@ -8598,6 +8616,14 @@ function initArticleHtmlFun(arr, result, html_type) {
+
${item.image.title ? item.image.title : ''
+ }
${item.table.note ? item.table.note : ''
+text-align:left;color:#333;" >${item.table.note ? item.table.note : ''
}
`;
@@ -8726,7 +8751,13 @@ text-align:center;color:#333;" >${item.table.note ? item.table.note : ''
initArticleHtml(arr, result.data.refers, html_type)
}
function initArticleHtml(htmlData, refs, type) {
-
+ document.querySelectorAll('wmath').forEach(el => {
+ const latex = el.getAttribute('data-latex');
+ if (latex) {
+ el.innerHTML = latex;
+ MathJax.typesetPromise([el]);
+ }
+ });
$('.wen_rong .content-box .conthtmn .Ptitle').css({
background: 'rgb(222, 235, 247)',
'color': commonTableTitleColor, // No !important here
@@ -8846,7 +8877,10 @@ function initArticleHtml(htmlData, refs, type) {
this.style.setProperty('color', commonTableTitleColor, 'important');
this.style.setProperty('text-align', 'center', 'important');
});
- $('.wen_rong .content-box .conthtmn p b i').each(function () {
+ $('.wen_rong .content-box .conthtmn .Ptitle b i').each(function () {
+ this.style.setProperty('font-style', 'normal', 'important');
+ });
+ $('.wen_rong .content-box .conthtmn .Ptitle i b').each(function () {
this.style.setProperty('font-style', 'normal', 'important');
});
diff --git a/js/footer.js b/js/footer.js
index 31f629d..4086bc9 100644
--- a/js/footer.js
+++ b/js/footer.js
@@ -1,11 +1,24 @@
function initFooter() {
// const $daohang = $('.footer .daohang');
// $daohang.nextUntil('.daohang_bottom_line').remove(); // 删除中间所有元素,直到 .busuna 前的所有兄弟
-
+
console.log(11)
$('.footer .daohang').css({
- 'border-bottom':'none',
+ 'border-bottom': 'none',
})
+
+ const $daohang = $('.footer .daohang');
+
+ // 判断是否存在 .dh_du
+ if ($daohang.find('.dh_du').length > 0) {
+ $('.footer .daohang .dh_du').after('
')
+ // 把 .daohang_bottom_line 移到 .daohang 外部
+ $daohang.find('.daohang_bottom_line').insertAfter($daohang);
+ $('.footer .bianma').css({
+ 'margin-top': '30px',
+ })
+ }
+
$('.daohang_bottom_line').css({
'background': 'red',
'height': '6px',
@@ -13,14 +26,15 @@ function initFooter() {
'border-bottom': '0.5px solid #fff',
'width': '1300px',
'margin': '0 auto',
+ 'max-width': '100%',
})
$('.footer-bottom-email').css({
- 'display': 'flex',
+ 'display': 'flex',
'align-items': 'center',
'justify-content': 'center',
})
$('.footer-bottom-email-line').css({
- 'font-weight': '700',
+ 'font-weight': '700',
/* width: 3px; */
/* display: inline-block; */
'border': '2px solid #fff',
@@ -31,7 +45,38 @@ function initFooter() {
'display': 'inline-block',
})
-
-
+
+
+}
+
+//临时改的 合刊在删
+function initForAuthor() {
+ var arr_jour = { system_color: localStorage.Journals_color }
+ if (Jour_num == 1) {
+ arr_jour.apc = '$ 600'
+ } else {
+ arr_jour.apc = '$ 0'
+ }
+ console.log('initForAuthor');
+ var apcStr = ``;
+ if ([1, 25, 11].includes(Jour_num)) {
+ apcStr = arr_jour.apc
+ } else {
+ apcStr = arr_jour.apc + `
( 2025 - 2026 ) `;
+ }
+
+ $('.for_mess div .fr_APC').html(apcStr);
+}
+const pathname = window.location.pathname.split("/").pop();
+
+// 2. 判断是否为 for_author.html
+if (pathname === "for_author.html") {
+ console.log("当前是 for_author.html 页面");
+
+ // 3. 获取 J_num 参数值
+ const urlParams = new URLSearchParams(window.location.search);
+ const J_num = urlParams.get("J_num");
+
+ initForAuthor(J_num)
}
initFooter()
\ No newline at end of file
diff --git a/js/forAuthor.js b/js/forAuthor.js
new file mode 100644
index 0000000..a29ea02
--- /dev/null
+++ b/js/forAuthor.js
@@ -0,0 +1,11 @@
+function initForAuthor() {
+ console.log('initForAuthor');
+ var apcStr = ``;
+ if ([1, 25, 11].includes(Jour_num)) {
+ apcStr = arr_jour.apc
+ } else {
+ apcStr = arr_jour.apc + `
( 2025 - 2026 ) `;
+ }
+
+ $('.for_mess div .fr_APC').html(apcStr);
+}
\ No newline at end of file
diff --git a/js/journal.js b/js/journal.js
index 5056d82..5e12d3d 100644
--- a/js/journal.js
+++ b/js/journal.js
@@ -331,7 +331,7 @@ function bf_list() {
if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) {
$('.current_list>h4').html('Current Volume
' + time_ + ' ');
- } else if (Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22|| Jour_num == 19) { // 合并期刊
+ } else if (Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22|| Jour_num == 19 ||Jour_num == 12) { // 合并期刊
$('.current_list>h4').html('Latest Issue
' + time_ + ' ');
} else {
$('.current_list>h4').html('Current Issue
' + time_ + ' ');
@@ -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|| Jour_num == 16|| Jour_num == 24|| Jour_num == 19) {
+ 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|| Jour_num == 19||Jour_num == 12) {
// 合并(替换)期刊
if (i == 0) { str += '
' + arr_stage[i].stage_year + ' ' }
diff --git a/js/side.js b/js/side.js
index 7bee1e0..e6005e2 100644
--- a/js/side.js
+++ b/js/side.js
@@ -725,13 +725,22 @@ function side_list() {
}
$('.jour_guest>a').attr('href', 'gue_edit.html?J_num=' + Jour_num);
$('.jour_guest h4 a').attr('href', 'guest.html?J_num=' + Jour_num);
+ $('.press-button .Gue_special').attr('href', 'gue_edit.html?J_num=' + Jour_num);
if (str == '') {
$('.gue_is_lis').css('display', 'none');
}
if (!result.data.is_show) {
$('.jour_guest h4 a').css('display', 'none');
- }
+
+ } console.log('result.data.is_show at line 535:', result)
+ //11 mdm
+ if (result.data.is_show == "false" || Jour_num == '11') {
+ // $('.jour_guest h4 a').css('display', 'none');
+ $('.press-button .Gue_special').each(function () {
+ this.style.setProperty('display', 'none', 'important');
+ });
+ }
// if(Jour_num!='1'){
// $('.jour_guest').css('display','none');
// $('.jour_sta_tp_left_border').css('display','none');
diff --git a/jstmr/side.js b/jstmr/side.js
index 8ce87c5..3fcd345 100644
--- a/jstmr/side.js
+++ b/jstmr/side.js
@@ -16,660 +16,670 @@ function side_list() {
success: function (result) {
if (result.code == 0) {
if (Jour_num == 1 && $('.FreeapplicationBox')) {
-
- $('.FreeapplicationBox').css('display', 'inline-block');
-
- }else{$('.FreeapplicationBox').css('display', 'none');
- }
-
- // 期刊基础信息
- var arr_jour = result.data.journal;
- $('h4.rgb_color').css('color', arr_jour.system_color);
- $('.home_logo>span').css('color', arr_jour.system_color);
- $('.whitebg h4').css('color', arr_jour.system_color);
- $('.whitebg h4 a').css('color', arr_jour.system_color);
- $('.guest_ .rgb_color').css('color', arr_jour.system_color);
- $('.jour_notice>a').css('color', arr_jour.system_color)
- $('.footer').css('background', arr_jour.system_color);
- $('.article .art_main .new_art h4, .article .art_main .high_light h4, .news_ment h4, .art_main_con_topic h4').css('color', arr_jour.system_color);
- $('.art_top_topic .topics').css('background-color', arr_jour.system_color);
- $('.rgb_color_background').css('background-color', arr_jour.system_color);
- $('.article .art_side .btn_system').css('background', arr_jour.system_color);
- $('.article .art_side .press-button-tmr a').css('background', arr_jour.system_color);
- $('.guest_content .gue_system a').css('background', arr_jour.system_color);
- $('.guest_content .gue_author a').css('background', arr_jour.system_color);
- $('.jour_ht_dy .topic_dingyue .topic_add').css('color', arr_jour.system_color);
- $('.jour_ht_dy .topic_ts .mainbox input[type="submit"]').css('background-color', arr_jour.system_color);
- $('.top .top_sea .search_for input[type="text"]').css('border-color', arr_jour.system_color)
- $('.top .top_sea .search_for input[type="button"]').css('border-color', arr_jour.system_color)
- $('.top .top_sea .search_for input[type="button"]').css('background-color', arr_jour.system_color)
- $('.top .top_sea>a').css('color', arr_jour.system_color)
- $('.jour_awaite > a').css('color', arr_jour.system_color)
- $('.hunt_for .hunt_inp').css('border-color', arr_jour.system_color)
- $('.hunt_for .hunt_btn').css('background-color', arr_jour.system_color)
- $('.mb_aform input.combox-box').css('border-color', arr_jour.system_color)
- $('.mb_aform input[type="submit"]').css('background-color', arr_jour.system_color)
- $('.mb_aform input[type="submit"]').css('border-color', arr_jour.system_color)
- $('.mb_aform input[type="text"]').css('border-color', arr_jour.system_color)
- $('.jour_ption input[type="submit"]').css('background-color', arr_jour.system_color)
- $('.jour_ption input[type="submit"]').css('border-color', arr_jour.system_color)
- $('.ncon_SCom .rgb_color').css('color', arr_jour.system_color)
- $('.footer .daohang .dh_by input[type="submit"]').css('background-color', arr_jour.system_color)
- $('.footpanel').css('background-color', arr_jour.system_color + 'cc')
- $('.footpanel .yue_addfp').css('background-color', arr_jour.system_color)
- $('.press-button a').css('background-color', arr_jour.system_color)
- $('.All_Issues').css('color', arr_jour.system_color);
+ $('.FreeapplicationBox').css('display', 'inline-block');
-
- // 左侧期刊搜索
- $('.hunt_for .hunt_btn').click(function () {
- window.open("jour_search.html?J_num=" + Jour_num + "&se_ch=" + $(".hunt_for .hunt_inp").val());
- })
- // $(".contbu_submit select[name='journal']").html('
'+arr_jour.title+' ');
- // $(".contbu_submit select[name='journal'] option[value='"+arr_jour.issn+"']").prop("selected", true);
-
-
- $('.top_sea .a_search').attr('href', 'preprint.html?J_num=' + Jour_num);
- $('.Subm_System').attr('href', arr_jour.submission_url);
- $('.jour_message>a').attr('href', '/' + arr_jour.usx);
- document.title = arr_jour.title;
- $('.jour_message>a img').attr("src", imgjourUrl + arr_jour.icon);
- $('.jour_message div .mes_issn').html(arr_jour.issn);
- //$('.top .top_sea').append('
Subscribe')//订阅
- $('.b_Sub').css('color', arr_jour.system_color);
- $('.b_Sub').attr('href', 'draw_up.html?issn=' + arr_jour.issn);
- $('.jour_message div .mes_edit').html(arr_jour.editorinchief);
- $('.jour_message div .mes_accep').html(arr_jour.acceptance);
- $('.jour_message div .mes_final').html(arr_jour.finaldecision);
- $('.jour_message div .mes_APC').html(arr_jour.apc);
- $('.jour_message div .mes_email').html(arr_jour.email);
- // 出版周期匹配
- if (arr_jour.cycle == 1) {
- arr_jour.cycle_ = 'Monthly'
- } else if (arr_jour.cycle == 2) {
- arr_jour.cycle_ = 'Bimonthly'
- } else if (arr_jour.cycle == 3) {
- arr_jour.cycle_ = 'Quarterly'
- }
- if (Jour_num == 2 || Jour_num == 17 || Jour_num == 18) {
- arr_jour.cycle_ = 'Continuities'
- }
- $('.jour_message div .mes_cycle').html(arr_jour.cycle_); // 出版周期
- $('.dingyue p b').html(arr_jour.title);//订阅
- $('.footpanel .ftp_paper .fpr_text b').html(arr_jour.title);//底栏订阅
- $('.nav_ban h1 a').html(arr_jour.title);
- $('.nav_ban>h1>a').attr('href', '/' + arr_jour.usx);
- $('.ncon_SCom > div > div:nth-child(4) > p> b').html(arr_jour.title)
- // $('.Join_Team').css('display', 'none');
- // $('.Tmr_lian_jie').css('display', 'block');
-
- // tmr单独
- $('.nav_ban h2').html('
');
- $('.sharethis_tmr').css('display', 'none');
- $('.art_top_topic').css('padding-top', '0');
- $('.line_sbil').css('display', 'block');
- $('.share_tmrtb').css('display', 'block');
- $('.jour_ht_dy_tmr').html(' ');
- $('.jour_ht_dy_tmr').css('display', 'none');
- $('.jour_correlate').css('margin-top', '-10px');
- $('.jour_correlate>h4').css('padding-top', '10px');
- // $('.jour_message>div').append('
E-Mail Address: tmr@tmrjournals.com
');
- $('.topic_add').addClass('topic_add_tmr');
- $('.tmr_style_new').addClass('overall_tmr');
-
- $('.nav_ban h2').css('display', 'inline-block')
-
- $('.Gue_special').css('display', 'none')
- // $('#kezuoB').css('display', 'block');
-
- if (Jour_num == 1 || Jour_num == 25) {
- $('#kezuoBLine').css('display', 'block');
- $('#kezuoB').css('display', 'block');
-
- }
- $('.Gue_special').css('display', 'block')
- console.log($('.Gue_special').length)
-
-
- // if (Jour_num == 1) {
-
- // $('.Join_Bord2').css('display', 'block')
- // }
- localStorage.setItem("Journals_title", arr_jour.title);
- localStorage.setItem("Journals_issn", arr_jour.issn);
- localStorage.setItem("Journals_color", arr_jour.system_color);
- localStorage.setItem("Journals_usx", arr_jour.usx);
- $('.About_Journal').attr('href', 'about_journal.html?J_num=' + Jour_num);
- $('.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').after('
CiteScore (Scopus): 1.8
');
- $('.edit_board_tmr').after('
Impact Factor (Clarivate): 0.9
');
- //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url);
-
-
- // 外链信息
- var arr_Abc = result.data.journalAbs;
- var str = "";
- for (var i = 0; i < arr_Abc.length; i++) {
- if (arr_Abc[i].is_show == 1) {
- str += '
» ' + arr_Abc[i].title + ' '
- }
- }
- if (result.data.journalAbs.length <= '10') {
- $('.mes_Abs').html(str);
- } else {
- $('.mes_Abs').html(str + '
more ');
- $('.mes_Abs li:gt(9)').hide();
- $(".wl_click").css('color', arr_jour.system_color);
- }
- $(".wl_click").bind('click', function () {
- if ($(".wl_click").html() == 'more
') {
- $('.mes_Abs li:gt(14)').hide();
- $('.wl_click').html('more
');
} else {
- $('.mes_Abs li:gt(14)').show();
- $('.wl_click').html('more
');
+ $('.FreeapplicationBox').css('display', 'none');
+
}
- });
+
+ // 期刊基础信息
+ var arr_jour = result.data.journal;
+ $('h4.rgb_color').css('color', arr_jour.system_color);
+ $('.home_logo>span').css('color', arr_jour.system_color);
+ $('.whitebg h4').css('color', arr_jour.system_color);
+ $('.whitebg h4 a').css('color', arr_jour.system_color);
+ $('.guest_ .rgb_color').css('color', arr_jour.system_color);
+ $('.jour_notice>a').css('color', arr_jour.system_color)
+ $('.footer').css('background', arr_jour.system_color);
+ $('.article .art_main .new_art h4, .article .art_main .high_light h4, .news_ment h4, .art_main_con_topic h4').css('color', arr_jour.system_color);
+ $('.art_top_topic .topics').css('background-color', arr_jour.system_color);
+ $('.rgb_color_background').css('background-color', arr_jour.system_color);
+ $('.article .art_side .btn_system').css('background', arr_jour.system_color);
+ $('.article .art_side .press-button-tmr a').css('background', arr_jour.system_color);
+ $('.guest_content .gue_system a').css('background', arr_jour.system_color);
+ $('.guest_content .gue_author a').css('background', arr_jour.system_color);
+ $('.jour_ht_dy .topic_dingyue .topic_add').css('color', arr_jour.system_color);
+ $('.jour_ht_dy .topic_ts .mainbox input[type="submit"]').css('background-color', arr_jour.system_color);
+ $('.top .top_sea .search_for input[type="text"]').css('border-color', arr_jour.system_color)
+ $('.top .top_sea .search_for input[type="button"]').css('border-color', arr_jour.system_color)
+ $('.top .top_sea .search_for input[type="button"]').css('background-color', arr_jour.system_color)
+ $('.top .top_sea>a').css('color', arr_jour.system_color)
+ $('.jour_awaite > a').css('color', arr_jour.system_color)
+ $('.hunt_for .hunt_inp').css('border-color', arr_jour.system_color)
+ $('.hunt_for .hunt_btn').css('background-color', arr_jour.system_color)
+ $('.mb_aform input.combox-box').css('border-color', arr_jour.system_color)
+ $('.mb_aform input[type="submit"]').css('background-color', arr_jour.system_color)
+ $('.mb_aform input[type="submit"]').css('border-color', arr_jour.system_color)
+ $('.mb_aform input[type="text"]').css('border-color', arr_jour.system_color)
+ $('.jour_ption input[type="submit"]').css('background-color', arr_jour.system_color)
+ $('.jour_ption input[type="submit"]').css('border-color', arr_jour.system_color)
+ $('.ncon_SCom .rgb_color').css('color', arr_jour.system_color)
+ $('.footer .daohang .dh_by input[type="submit"]').css('background-color', arr_jour.system_color)
+ $('.footpanel').css('background-color', arr_jour.system_color + 'cc')
+ $('.footpanel .yue_addfp').css('background-color', arr_jour.system_color)
+ $('.press-button a').css('background-color', arr_jour.system_color)
+ $('.All_Issues').css('color', arr_jour.system_color);
- // 相关期刊
- var corr = result.data.relats;
-
- $('.jour_correlate>a').attr('href', '/' + corr[0].usx);
- $('.jour_correlate>a>img').attr('src', imgjourUrl + corr[0].icon)
-
- // 感谢图片
- $('.jour_awaite').before('
');
+ // 左侧期刊搜索
+ $('.hunt_for .hunt_btn').click(function () {
+ window.open("jour_search.html?J_num=" + Jour_num + "&se_ch=" + $(".hunt_for .hunt_inp").val());
+ })
+ // $(".contbu_submit select[name='journal']").html('
'+arr_jour.title+' ');
+ // $(".contbu_submit select[name='journal'] option[value='"+arr_jour.issn+"']").prop("selected", true);
- } else {
- ShowDanger("请求失败!");
- }
- },
+ $('.top_sea .a_search').attr('href', 'preprint.html?J_num=' + Jour_num);
+ $('.Subm_System').attr('href', arr_jour.submission_url);
+ $('.jour_message>a').attr('href', '/' + arr_jour.usx);
+ document.title = arr_jour.title;
+ $('.jour_message>a img').attr("src", imgjourUrl + arr_jour.icon);
+ $('.jour_message div .mes_issn').html(arr_jour.issn);
+ //$('.top .top_sea').append('
Subscribe')//订阅
+ $('.b_Sub').css('color', arr_jour.system_color);
+ $('.b_Sub').attr('href', 'draw_up.html?issn=' + arr_jour.issn);
+ $('.jour_message div .mes_edit').html(arr_jour.editorinchief);
+ $('.jour_message div .mes_accep').html(arr_jour.acceptance);
+ $('.jour_message div .mes_final').html(arr_jour.finaldecision);
+ $('.jour_message div .mes_APC').html(arr_jour.apc);
+ $('.jour_message div .mes_email').html(arr_jour.email);
+ // 出版周期匹配
+ if (arr_jour.cycle == 1) {
+ arr_jour.cycle_ = 'Monthly'
+ } else if (arr_jour.cycle == 2) {
+ arr_jour.cycle_ = 'Bimonthly'
+ } else if (arr_jour.cycle == 3) {
+ arr_jour.cycle_ = 'Quarterly'
+ }
+ if (Jour_num == 2 || Jour_num == 17 || Jour_num == 18) {
+ arr_jour.cycle_ = 'Continuities'
+ }
+ $('.jour_message div .mes_cycle').html(arr_jour.cycle_); // 出版周期
+ $('.dingyue p b').html(arr_jour.title);//订阅
+ $('.footpanel .ftp_paper .fpr_text b').html(arr_jour.title);//底栏订阅
+ $('.nav_ban h1 a').html(arr_jour.title);
+ $('.nav_ban>h1>a').attr('href', '/' + arr_jour.usx);
+ $('.ncon_SCom > div > div:nth-child(4) > p> b').html(arr_jour.title)
+ // $('.Join_Team').css('display', 'none');
+ // $('.Tmr_lian_jie').css('display', 'block');
+
+ // tmr单独
+ $('.nav_ban h2').html('
');
+ $('.sharethis_tmr').css('display', 'none');
+ $('.art_top_topic').css('padding-top', '0');
+ $('.line_sbil').css('display', 'block');
+ $('.share_tmrtb').css('display', 'block');
+ $('.jour_ht_dy_tmr').html(' ');
+ $('.jour_ht_dy_tmr').css('display', 'none');
+ $('.jour_correlate').css('margin-top', '-10px');
+ $('.jour_correlate>h4').css('padding-top', '10px');
+ // $('.jour_message>div').append('
E-Mail Address: tmr@tmrjournals.com
');
+ $('.topic_add').addClass('topic_add_tmr');
+ $('.tmr_style_new').addClass('overall_tmr');
+
+ $('.nav_ban h2').css('display', 'inline-block')
+
+ $('.Gue_special').css('display', 'none')
+ // $('#kezuoB').css('display', 'block');
+
+ if (Jour_num == 1 || Jour_num == 25) {
+ $('#kezuoBLine').css('display', 'block');
+ $('#kezuoB').css('display', 'block');
+
+ }
+ $('.Gue_special').css('display', 'block')
+ console.log($('.Gue_special').length)
+
+
+ // if (Jour_num == 1) {
+
+ // $('.Join_Bord2').css('display', 'block')
+ // }
+ localStorage.setItem("Journals_title", arr_jour.title);
+ localStorage.setItem("Journals_issn", arr_jour.issn);
+ localStorage.setItem("Journals_color", arr_jour.system_color);
+ localStorage.setItem("Journals_usx", arr_jour.usx);
+ $('.About_Journal').attr('href', 'about_journal.html?J_num=' + Jour_num);
+ $('.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').after('
CiteScore (Scopus): 1.8
');
+ $('.edit_board_tmr').after('
Impact Factor (Clarivate): 0.9
');
+ //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url);
+
+
+ // 外链信息
+ var arr_Abc = result.data.journalAbs;
+ var str = "";
+ for (var i = 0; i < arr_Abc.length; i++) {
+ if (arr_Abc[i].is_show == 1) {
+ str += '
» ' + arr_Abc[i].title + ' '
+ }
+ }
+ if (result.data.journalAbs.length <= '10') {
+ $('.mes_Abs').html(str);
+ } else {
+ $('.mes_Abs').html(str + '
more ');
+ $('.mes_Abs li:gt(9)').hide();
+ $(".wl_click").css('color', arr_jour.system_color);
+ }
+ $(".wl_click").bind('click', function () {
+ if ($(".wl_click").html() == 'more
') {
+ $('.mes_Abs li:gt(14)').hide();
+ $('.wl_click').html('more
');
+ } else {
+ $('.mes_Abs li:gt(14)').show();
+ $('.wl_click').html('more
');
+ }
+ });
+
+
+ // 相关期刊
+ var corr = result.data.relats;
+
+ $('.jour_correlate>a').attr('href', '/' + corr[0].usx);
+ $('.jour_correlate>a>img').attr('src', imgjourUrl + corr[0].icon)
+
+ // 感谢图片
+ $('.jour_awaite').before('
');
+
+
+ } else {
+ ShowDanger("请求失败!");
+ }
+ },
error: function () {
ShowDanger("error!");
}
});
-// 左侧分期列表数据
-//$.ajax({
-// type: 'post', url: apiUrl + 'api/Journal/getMainPageStages',
-// data: {
-// "journal_id": Jour_num
-// },
-// success: function (result) {
-// if (result.code == 0) {
-//
-// // 分期信息
-// if (result.data.topic_show_type == 0) {
-// var arr_stage = result.data.stages;
-// var sty = "";
-// for (var i = 0; i < arr_stage.length; i++) {
-// if (arr_stage[i].stage_no == '0') {
-// var iss_ = ''
-// } else {
-// var iss_ = ' Issue.' + arr_stage[i].stage_no
-// }
-// sty += '
' +
-// '' + arr_stage[i].stage_year + ' Vol.' + arr_stage[i].stage_vol + iss_ + ' ' + arr_stage[i].stage_pagename + arr_stage[i].stage_page + ' '
-//
-// }
-// $('.jour_stage .jour_sta_wail').html(sty);
-// $('.All_Issues').attr('href', 'stages.html?J_num=' + Jour_num);
-// }else{
-// $('.jour_stage').css('display', 'none')
-// $('.jour_stage_bot').css('display', 'none')
-// }
-//
-// } else {
-// ShowDanger("请求失败!");
-// }
-// },
-// error: function () {
-// ShowDanger("error!");
-// }
-//})
+ // 左侧分期列表数据
+ //$.ajax({
+ // type: 'post', url: apiUrl + 'api/Journal/getMainPageStages',
+ // data: {
+ // "journal_id": Jour_num
+ // },
+ // success: function (result) {
+ // if (result.code == 0) {
+ //
+ // // 分期信息
+ // if (result.data.topic_show_type == 0) {
+ // var arr_stage = result.data.stages;
+ // var sty = "";
+ // for (var i = 0; i < arr_stage.length; i++) {
+ // if (arr_stage[i].stage_no == '0') {
+ // var iss_ = ''
+ // } else {
+ // var iss_ = ' Issue.' + arr_stage[i].stage_no
+ // }
+ // sty += '
' +
+ // '' + arr_stage[i].stage_year + ' Vol.' + arr_stage[i].stage_vol + iss_ + ' ' + arr_stage[i].stage_pagename + arr_stage[i].stage_page + ' '
+ //
+ // }
+ // $('.jour_stage .jour_sta_wail').html(sty);
+ // $('.All_Issues').attr('href', 'stages.html?J_num=' + Jour_num);
+ // }else{
+ // $('.jour_stage').css('display', 'none')
+ // $('.jour_stage_bot').css('display', 'none')
+ // }
+ //
+ // } else {
+ // ShowDanger("请求失败!");
+ // }
+ // },
+ // error: function () {
+ // ShowDanger("error!");
+ // }
+ //})
-// 左侧话题列表数据
-//$.ajax({
-// type: 'post', url: apiUrl + 'api/Journal/getJournalTopic',
-// data: {
-// "journal_id": Jour_num
-// },
-// success: function (result) {
-// if (result.code == 0) {
-//
-// // 话题列表
-// var arr_topic = result.data.topicList;
-//
-// var panduan = ''
-// for (var i = 0; i < arr_topic.length; i++) {
-// if (arr_topic[i].position == "left") {
-// panduan = '1';
-// var st_left = "";
-// $('.jour_sta_tp_left_title').html(arr_topic[i].title);
-// $('.jour_sta_tp_left_more').attr('href', 'topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id);
-// for (var j = 0; j < arr_topic[i].children.length; j++) {
-// if (j == 3) break;
-// var url_href = '';
-// if (arr_topic[i].children[j].is_final == '1') {
-// url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id='
-// } else (
-// url_href = 'topic.html?J_num=' + Jour_num + '&t_id='
-// )
-// st_left += '
' + arr_topic[i].children[j].title + ' ' +
-// ''
-// }
-// $('.jour_sta_tp_left').html(st_left);
-// if (st_left == '') {
-// $('.jour_sta_tp_left_more').css('display', 'none');
-// }
-// }
-// }
-// if (panduan == '') {
-// $('.jour_hauti_pd').css('display', 'none');
-// $('.jour_hauti_bot').css('display', 'none');
-// }
-// } else {
-// ShowDanger("请求失败!");
-// }
-// },
-// error: function () {
-// ShowDanger("error!");
-// }
-//})
+ // 左侧话题列表数据
+ //$.ajax({
+ // type: 'post', url: apiUrl + 'api/Journal/getJournalTopic',
+ // data: {
+ // "journal_id": Jour_num
+ // },
+ // success: function (result) {
+ // if (result.code == 0) {
+ //
+ // // 话题列表
+ // var arr_topic = result.data.topicList;
+ //
+ // var panduan = ''
+ // for (var i = 0; i < arr_topic.length; i++) {
+ // if (arr_topic[i].position == "left") {
+ // panduan = '1';
+ // var st_left = "";
+ // $('.jour_sta_tp_left_title').html(arr_topic[i].title);
+ // $('.jour_sta_tp_left_more').attr('href', 'topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id);
+ // for (var j = 0; j < arr_topic[i].children.length; j++) {
+ // if (j == 3) break;
+ // var url_href = '';
+ // if (arr_topic[i].children[j].is_final == '1') {
+ // url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id='
+ // } else (
+ // url_href = 'topic.html?J_num=' + Jour_num + '&t_id='
+ // )
+ // st_left += '
' + arr_topic[i].children[j].title + ' ' +
+ // ''
+ // }
+ // $('.jour_sta_tp_left').html(st_left);
+ // if (st_left == '') {
+ // $('.jour_sta_tp_left_more').css('display', 'none');
+ // }
+ // }
+ // }
+ // if (panduan == '') {
+ // $('.jour_hauti_pd').css('display', 'none');
+ // $('.jour_hauti_bot').css('display', 'none');
+ // }
+ // } else {
+ // ShowDanger("请求失败!");
+ // }
+ // },
+ // error: function () {
+ // ShowDanger("error!");
+ // }
+ //})
-// 左侧话题订阅下拉
-$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getTopicForSubscribe',
- data: {
- "journal_id": Jour_num
- },
- success: function (result) {
- if (result.code == 0) {
- var arr = result.data.topics;
- var data_3 = [];
- for (var i = 0; i < arr.length; i++) {
- data_3.push({
- id: arr[i].journal_topic_id,
- text: arr[i].title
- });
- }
- $("#combox3").combox({
- id: "id",
- name: "text",
- data: data_3,
- valueChange: function (data) {
- // debugger
- //返回data,filterData,selectData
+ // 左侧话题订阅下拉
+ $.ajax({
+ type: 'post', url: apiUrl + 'api/Journal/getTopicForSubscribe',
+ data: {
+ "journal_id": Jour_num
+ },
+ success: function (result) {
+ if (result.code == 0) {
+ var arr = result.data.topics;
+ var data_3 = [];
+ for (var i = 0; i < arr.length; i++) {
+ data_3.push({
+ id: arr[i].journal_topic_id,
+ text: arr[i].title
+ });
}
- })
- var cb3 = $("#combox3").data('combox');
-
-
- // 订阅提交
- $(".jour_ht_dy .topic_add").click(function () {
- $(".spa").text('');
-
- var add_mess = {};
- add_mess.email = $('#emajl').val();
- add_mess.topic_ids = [];
- var ar_mes = cb3.options.selectData
- for (var i = 0; i < ar_mes.length; i++) {
- add_mess.topic_ids.push(ar_mes[i]['id']);
- }
-
- var S_Dan = '0';
- var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
-
- if (Jour_num == '22') {
- if (cb3.options.selectData == "") {
- $(".spa1").text('请选择话题');
- S_Dan = '1';
- } else if ($("#emajl").val() == "") {
- $(".spa1").text('填写邮箱');
- S_Dan = '1';
- } else if (!reg.test($("#emajl").val())) {
- $(".spa1").text('填写正确格式的邮箱');
- S_Dan = '1';
+ $("#combox3").combox({
+ id: "id",
+ name: "text",
+ data: data_3,
+ valueChange: function (data) {
+ // debugger
+ //返回data,filterData,selectData
}
- } else {
- if (cb3.options.selectData == "") {
- $(".spa1").text('Please choose topic');
- S_Dan = '1';
- } else if ($("#emajl").val() == "") {
- $(".spa1").text('Please fill in E-mail');
- S_Dan = '1';
- } else if (!reg.test($("#emajl").val())) {
- $(".spa1").text('Please fill in properly formatted E-mail');
- S_Dan = '1';
+ })
+ var cb3 = $("#combox3").data('combox');
+
+
+ // 订阅提交
+ $(".jour_ht_dy .topic_add").click(function () {
+ $(".spa").text('');
+
+ var add_mess = {};
+ add_mess.email = $('#emajl').val();
+ add_mess.topic_ids = [];
+ var ar_mes = cb3.options.selectData
+ for (var i = 0; i < ar_mes.length; i++) {
+ add_mess.topic_ids.push(ar_mes[i]['id']);
+ }
+
+ var S_Dan = '0';
+ var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
+
+ if (Jour_num == '22') {
+ if (cb3.options.selectData == "") {
+ $(".spa1").text('请选择话题');
+ S_Dan = '1';
+ } else if ($("#emajl").val() == "") {
+ $(".spa1").text('填写邮箱');
+ S_Dan = '1';
+ } else if (!reg.test($("#emajl").val())) {
+ $(".spa1").text('填写正确格式的邮箱');
+ S_Dan = '1';
+ }
+ } else {
+ if (cb3.options.selectData == "") {
+ $(".spa1").text('Please choose topic');
+ S_Dan = '1';
+ } else if ($("#emajl").val() == "") {
+ $(".spa1").text('Please fill in E-mail');
+ S_Dan = '1';
+ } else if (!reg.test($("#emajl").val())) {
+ $(".spa1").text('Please fill in properly formatted E-mail');
+ S_Dan = '1';
+ }
}
- }
- if (S_Dan == '1') {
- ShowDanger("Incomplete information!");
- } else {
- $(".topic_add").addClass("disable");
- $.ajax({
- type: 'post', url: apiUrl + 'api/Journal/addSubscribeTopics',
- data: add_mess,
- success: function (result) {
- if (result.code == 0) {
- // $(".topic_dingyue input[type='text']").val('');
- $(".topic_add").removeClass("disable");
- $(".jour_ts").fadeIn();
- $(".jour_ts input.tishi_author").click(function () {
- $(".jour_ts").fadeOut();
- });
- // $("#mask").css("height",$(document).height());
- // $("#mask").css("width",$(document).width());
- // $("#mask").show();
- // document.body.addEventListener('touchmove',bodyScroll,false);
- // $('body').css({'position':'fixed',"width":"100%"});
- } else {
- ShowDanger(result.msg);
+ if (S_Dan == '1') {
+ ShowDanger("Incomplete information!");
+ } else {
+ $(".topic_add").addClass("disable");
+ $.ajax({
+ type: 'post', url: apiUrl + 'api/Journal/addSubscribeTopics',
+ data: add_mess,
+ success: function (result) {
+ if (result.code == 0) {
+ // $(".topic_dingyue input[type='text']").val('');
+ $(".topic_add").removeClass("disable");
+ $(".jour_ts").fadeIn();
+ $(".jour_ts input.tishi_author").click(function () {
+ $(".jour_ts").fadeOut();
+ });
+ // $("#mask").css("height",$(document).height());
+ // $("#mask").css("width",$(document).width());
+ // $("#mask").show();
+ // document.body.addEventListener('touchmove',bodyScroll,false);
+ // $('body').css({'position':'fixed',"width":"100%"});
+ } else {
+ ShowDanger(result.msg);
+ $(".topic_add").removeClass("disable");
+ }
+ },
+ error: function () {
+ ShowDanger("error!");
$(".topic_add").removeClass("disable");
}
- },
- error: function () {
- ShowDanger("error!");
- $(".topic_add").removeClass("disable");
- }
- })
- }
- })
+ })
+ }
+ })
- } else {
- ShowDanger("请求失败!");
- }
- },
- error: function () {
- ShowDanger("error!");
- }
-});
-
-
-// 左侧话题订阅下拉(新)
-$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getTopicForSubscribe',
- data: {
- "journal_id": Jour_num
- },
- success: function (result) {
- if (result.code == 0) {
- var arr = result.data.topics;
- var data_2 = [];
- for (var i = 0; i < arr.length; i++) {
- data_2.push({
- id: arr[i].journal_topic_id,
- text: arr[i].title
- });
+ } else {
+ ShowDanger("请求失败!");
}
- $("#combox2").combox({
- id: "id",
- name: "text",
- data: data_2,
- valueChange: function (data) {
- // debugger
- //返回data,filterData,selectData
+ },
+ error: function () {
+ ShowDanger("error!");
+ }
+ });
+
+
+ // 左侧话题订阅下拉(新)
+ $.ajax({
+ type: 'post', url: apiUrl + 'api/Journal/getTopicForSubscribe',
+ data: {
+ "journal_id": Jour_num
+ },
+ success: function (result) {
+ if (result.code == 0) {
+ var arr = result.data.topics;
+ var data_2 = [];
+ for (var i = 0; i < arr.length; i++) {
+ data_2.push({
+ id: arr[i].journal_topic_id,
+ text: arr[i].title
+ });
}
- })
- var cb2 = $("#combox2").data('combox');
+ $("#combox2").combox({
+ id: "id",
+ name: "text",
+ data: data_2,
+ valueChange: function (data) {
+ // debugger
+ //返回data,filterData,selectData
+ }
+ })
+ var cb2 = $("#combox2").data('combox');
- // 订阅期刊(提交新的)
- $(".yue_addk").click(function () {
- $(".spa198").text('');
+ // 订阅期刊(提交新的)
+ $(".yue_addk").click(function () {
+ $(".spa198").text('');
- var add_mess = {};
- add_mess.email = $('#emaplk').val();
- add_mess.topic_ids = [];
- var ar_mes = cb2.options.selectData
- for (var i = 0; i < ar_mes.length; i++) {
- add_mess.topic_ids.push(ar_mes[i]['id']);
- }
+ var add_mess = {};
+ add_mess.email = $('#emaplk').val();
+ add_mess.topic_ids = [];
+ var ar_mes = cb2.options.selectData
+ for (var i = 0; i < ar_mes.length; i++) {
+ add_mess.topic_ids.push(ar_mes[i]['id']);
+ }
- var S_Dan = '0';
- var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
+ var S_Dan = '0';
+ var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
- if (cb2.options.selectData == "") {
- $(".spa198").text('Please choose topic');
- S_Dan = '1';
- } else if ($("#emaplk").val() == "") {
- $(".spa198").text('Please fill in E-mail');
- S_Dan = '1';
- } else if (!(reg.test($("#emaplk").val()))) {
- $(".spa198").text('Please fill in properly formatted E-mail');
- S_Dan = '1';
- }
+ if (cb2.options.selectData == "") {
+ $(".spa198").text('Please choose topic');
+ S_Dan = '1';
+ } else if ($("#emaplk").val() == "") {
+ $(".spa198").text('Please fill in E-mail');
+ S_Dan = '1';
+ } else if (!(reg.test($("#emaplk").val()))) {
+ $(".spa198").text('Please fill in properly formatted E-mail');
+ S_Dan = '1';
+ }
- if (S_Dan == '1') {
- ShowDanger("Incomplete information!");
- } else {
- $(".yue_addk").addClass("disable");
- $.ajax({
- type: 'post', url: apiUrl + 'api/Journal/addSubscribeTopics',
- data: add_mess,
- success: function (result) {
- if (result.code == 0) {
- // $(".jour_ption input[type='text']").val('');
- $(".yue_addk").removeClass("disable");
- $(".jour_ts").fadeIn();
+ if (S_Dan == '1') {
+ ShowDanger("Incomplete information!");
+ } else {
+ $(".yue_addk").addClass("disable");
+ $.ajax({
+ type: 'post', url: apiUrl + 'api/Journal/addSubscribeTopics',
+ data: add_mess,
+ success: function (result) {
+ if (result.code == 0) {
+ // $(".jour_ption input[type='text']").val('');
+ $(".yue_addk").removeClass("disable");
+ $(".jour_ts").fadeIn();
- $(".jour_ts input.tishi_author").click(function () {
- $(".jour_ts").fadeOut();
- });
+ $(".jour_ts input.tishi_author").click(function () {
+ $(".jour_ts").fadeOut();
+ });
- } else {
- ShowDanger(result.msg);
+ } else {
+ ShowDanger(result.msg);
+ $(".yue_addk").removeClass("disable");
+ }
+ },
+ error: function () {
+ ShowDanger("error!");
$(".yue_addk").removeClass("disable");
}
- },
- error: function () {
- ShowDanger("error!");
- $(".yue_addk").removeClass("disable");
- }
- })
+ })
+ }
+ })
+
+ } else {
+ ShowDanger("请求失败!");
+ }
+ },
+ error: function () {
+ ShowDanger("error!");
+ }
+ });
+
+
+ // 左侧客座列表数据
+ $.ajax({
+ type: 'post', url: apiUrl + 'api/Special/getSpecials',
+ data: {
+ "journal_id": Jour_num
+ },
+ success: function (result) {
+ if (result.code == 0) {
+
+ // 客座列表
+ var arr = result.data.specials;
+ var str = '';
+
+ for (var i = 0; i < arr.length; i++) {
+ if (i == 3) break;
+ str += '
' + arr[i].title + ' ' +
+ 'Guest Editor: ' + arr[i].editor + ' ' +
+ 'Deadline: ' + arr[i].deadline + ' ' +
+ ''
}
- })
-
- } else {
- ShowDanger("请求失败!");
- }
- },
- error: function () {
- ShowDanger("error!");
- }
-});
-// 左侧客座列表数据
-$.ajax({
- type: 'post', url: apiUrl + 'api/Special/getSpecials',
- data: {
- "journal_id": Jour_num
- },
- success: function (result) {
- if (result.code == 0) {
+ $('.jour_guest ul').html('
Open Special Issues ' + str);
- // 客座列表
- var arr = result.data.specials;
- var str = '';
-
- for (var i = 0; i < arr.length; i++) {
- if (i == 3) break;
- str += '
' + arr[i].title + ' ' +
- 'Guest Editor: ' + arr[i].editor + ' ' +
- 'Deadline: ' + arr[i].deadline + ' ' +
- ''
- }
-
-
- $('.jour_guest ul').html('
Open Special Issues ' + str);
-
- $('.jour_guest>a').attr('href', 'gue_edit.html?J_num=' + Jour_num);
- $('.jour_guest h4 a').attr('href', 'guest.html?J_num=' + Jour_num);
- if (str == '') {
- $('.gue_is_lis').css('display', 'none');
- }
- if (!result.data.is_show) {
- $('.jour_guest h4 a').css('display', 'none');
- }
- // if(Jour_num!='1'){
- // $('.jour_guest').css('display','none');
- // $('.jour_sta_tp_left_border').css('display','none');
- // }
- $('.jour_guest ul li a.gue_submin').click(function () {
- // 判断是否有身份
- if ($.cookie("username") != undefined && $.cookie("user_id") != undefined) {
- window.open('contribu_list.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt'));
- } else {
- window.open('contribu_login.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt'));
+ $('.jour_guest>a').attr('href', 'gue_edit.html?J_num=' + Jour_num);
+ $('.jour_guest h4 a').attr('href', 'guest.html?J_num=' + Jour_num);
+ $('.press-button .Gue_special').attr('href', 'gue_edit.html?J_num=' + Jour_num);
+ if (str == '') {
+ $('.gue_is_lis').css('display', 'none');
}
- })
- $('.jour_guest ul li a.gue_appli').click(function () {
- window.open('gue_cont_gea.html?J_num=' + Jour_num + '&&Gu_num=' + $(this).attr('alt'));
- })
+ if (!result.data.is_show) {
+ $('.jour_guest h4 a').css('display', 'none');
- } else {
- ShowDanger("请求失败!");
- }
- },
- error: function () {
- ShowDanger("error!");
- }
-})
+ } console.log('result.data.is_show at line 535:', result)
+ if (result.data.is_show == "false") {
+ // $('.jour_guest h4 a').css('display', 'none');
+ $('.press-button .Gue_special').each(function () {
+ this.style.setProperty('display', 'none', 'important');
+ });
+ }
+ // if(Jour_num!='1'){
+ // $('.jour_guest').css('display','none');
+ // $('.jour_sta_tp_left_border').css('display','none');
+ // }
+ $('.jour_guest ul li a.gue_submin').click(function () {
+ // 判断是否有身份
+ if ($.cookie("username") != undefined && $.cookie("user_id") != undefined) {
+ window.open('contribu_list.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt'));
+ } else {
+ window.open('contribu_login.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt'));
+ }
+ })
+ $('.jour_guest ul li a.gue_appli').click(function () {
+ window.open('gue_cont_gea.html?J_num=' + Jour_num + '&&Gu_num=' + $(this).attr('alt'));
+ })
-// 左侧消息列表数据
-$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getNotices',
- data: {
- "journal_id": Jour_num
- },
- success: function (result) {
- if (result.code == 0) {
-
- // 消息列表
- var arr = result.data.notices;
- var str = '';
-
- for (var i = 0; i < arr.length; i++) {
- if (i == 6) break;
- str += '
» ' + formatTimeToDate4(arr[i].ctime * 1000) + ' ' +
- '' + arr[i].title + ' '
+ } else {
+ ShowDanger("请求失败!");
}
- $('.jour_notice ul').html(str);
- $('.jour_notice .more').attr('href', 'notice_list.html?J_num=' + Jour_num + '&n_id=' + Jour_num);
-
-
- // 时间轴
- // $.ajax({
- // type: 'post', url: apiUrl + 'api/Journal/getJournalLine',
- // data: {
- // "journal_id": Jour_num
- // },
- // success: function (result) {
- // if (result.code == 0) {
- // var arr = result.data.lines;
- // var str = "";
- // var dis_ = '20';
- //
- // for (var i = 0; i < arr.length; i++) {
- // if (i == arr.length - 1) {
- // if (i == 0) {
- // dis_ = '20'
- // } else {
- // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 150);
- // }
- // str += '
' + arr[i].time + ' ' +
- // '' +
- // '' + arr[i].title + ' ' +
- // ''
- // } else {
- // if (arr[i].time == arr[i + 1].time) {
- // if (i == 0) {
- // dis_ = '20'
- // } else {
- // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 150);
- // }
- // str += '
' + arr[i].time + ' ' +
- // '' +
- // '' + arr[i].title + ' ' +
- // ' ' +
- // '' +
- // '' + arr[i + 1].title + ' ' +
- // ''
- // i = i + 1;
- // } else {
- // if (i == 0) {
- // dis_ = '20'
- // } else {
- // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 150);
- // }
- // str += '
' + arr[i].time + ' ' +
- // '' +
- // '' + arr[i].title + ' ' +
- // ''
- // }
- // }
- //
- // }
- //
- // $('.overall_tmr .tmr_side_book ul').html(str);
- //
- // $(".book_click").bind('click', function () {
- // if ($(".book_click").html() == 'more
') {
- // $('.about3 ul').css('height','1370px');
- // $('.book_click').html('more
');
- // } else {
- // $('.about3 ul').css('height','2090px');
- // $('.book_click').html('more
');
- // }
- // });
- //
- //
- // if (window.location.pathname.indexOf("journals") <= 0) {
- // $('.tmr_side_map').css('display','none');
- // $('.tmr_side_book').css('display','none');
- // }
- //
- //
- //
- //
- // } else {
- // // ShowDanger("请求失败!");
- // }
- // },
- // error: function () {
- // ShowDanger("error!");
- // }
- // })
-
-
- } else {
- ShowDanger("请求失败!");
+ },
+ error: function () {
+ ShowDanger("error!");
}
- },
- error: function () {
- ShowDanger("error!");
- }
-})
+ })
+
+
+ // 左侧消息列表数据
+ $.ajax({
+ type: 'post', url: apiUrl + 'api/Journal/getNotices',
+ data: {
+ "journal_id": Jour_num
+ },
+ success: function (result) {
+ if (result.code == 0) {
+
+ // 消息列表
+ var arr = result.data.notices;
+ var str = '';
+
+ for (var i = 0; i < arr.length; i++) {
+ if (i == 6) break;
+ str += '
» ' + formatTimeToDate4(arr[i].ctime * 1000) + ' ' +
+ '' + arr[i].title + ' '
+ }
+ $('.jour_notice ul').html(str);
+ $('.jour_notice .more').attr('href', 'notice_list.html?J_num=' + Jour_num + '&n_id=' + Jour_num);
+
+
+ // 时间轴
+ // $.ajax({
+ // type: 'post', url: apiUrl + 'api/Journal/getJournalLine',
+ // data: {
+ // "journal_id": Jour_num
+ // },
+ // success: function (result) {
+ // if (result.code == 0) {
+ // var arr = result.data.lines;
+ // var str = "";
+ // var dis_ = '20';
+ //
+ // for (var i = 0; i < arr.length; i++) {
+ // if (i == arr.length - 1) {
+ // if (i == 0) {
+ // dis_ = '20'
+ // } else {
+ // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 150);
+ // }
+ // str += '
' + arr[i].time + ' ' +
+ // '' +
+ // '' + arr[i].title + ' ' +
+ // ''
+ // } else {
+ // if (arr[i].time == arr[i + 1].time) {
+ // if (i == 0) {
+ // dis_ = '20'
+ // } else {
+ // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 150);
+ // }
+ // str += '
' + arr[i].time + ' ' +
+ // '' +
+ // '' + arr[i].title + ' ' +
+ // ' ' +
+ // '' +
+ // '' + arr[i + 1].title + ' ' +
+ // ''
+ // i = i + 1;
+ // } else {
+ // if (i == 0) {
+ // dis_ = '20'
+ // } else {
+ // dis_ = parseInt(dis_) + parseInt(arr[i].dist * 150);
+ // }
+ // str += '
' + arr[i].time + ' ' +
+ // '' +
+ // '' + arr[i].title + ' ' +
+ // ''
+ // }
+ // }
+ //
+ // }
+ //
+ // $('.overall_tmr .tmr_side_book ul').html(str);
+ //
+ // $(".book_click").bind('click', function () {
+ // if ($(".book_click").html() == 'more
') {
+ // $('.about3 ul').css('height','1370px');
+ // $('.book_click').html('more
');
+ // } else {
+ // $('.about3 ul').css('height','2090px');
+ // $('.book_click').html('more
');
+ // }
+ // });
+ //
+ //
+ // if (window.location.pathname.indexOf("journals") <= 0) {
+ // $('.tmr_side_map').css('display','none');
+ // $('.tmr_side_book').css('display','none');
+ // }
+ //
+ //
+ //
+ //
+ // } else {
+ // // ShowDanger("请求失败!");
+ // }
+ // },
+ // error: function () {
+ // ShowDanger("error!");
+ // }
+ // })
+
+
+ } else {
+ ShowDanger("请求失败!");
+ }
+ },
+ error: function () {
+ ShowDanger("error!");
+ }
+ })
// 左侧待审稿件列表数据
// $.ajax({