diff --git a/journalIndex/index.html b/journalIndex/index.html
index ae25634..77f2049 100644
--- a/journalIndex/index.html
+++ b/journalIndex/index.html
@@ -5,7 +5,7 @@
+ trad_tion = `
${arr[i].tradition_tag}: ${traditionText}
`;
- setTimeout(() => {
- let traditionElement = document.querySelector('.tradition-text:last-of-type');
- if (traditionElement.scrollHeight > maxTradHeight) {
- let words = traditionText.split(" ");
- let truncatedText = "";
+ setTimeout(() => {
+ let traditionElement = document.querySelector('.tradition-text:last-of-type');
+ if (traditionElement.scrollHeight > maxTradHeight) {
+ let words = traditionText.split(" ");
+ let truncatedText = "";
- for (let j = 0; j < words.length; j++) {
- truncatedText += words[j] + " ";
- traditionElement.innerText = truncatedText + "...";
- if (traditionElement.scrollHeight > maxTradHeight) {
- truncatedText = truncatedText.trim().split(" ").slice(0, -1).join(" ");
- traditionElement.innerText = truncatedText + " ...";
- break;
+ for (let j = 0; j < words.length; j++) {
+ truncatedText += words[j] + " ";
+ traditionElement.innerText = truncatedText + "...";
+ if (traditionElement.scrollHeight > maxTradHeight) {
+ truncatedText = truncatedText.trim().split(" ").slice(0, -1).join(" ");
+ traditionElement.innerText = truncatedText + " ...";
+ break;
+ }
}
}
- }
- }, 100); // 确保 DOM 渲染完成
+ }, 100); // 确保 DOM 渲染完成
+ }
+ } else {
+ if (arr[i].tradition_tag == '' || arr[i].tradition_tag == null) {
+ var textContent = arr[i].abstract;
+ } else {
+ var textContent = '
' + arr[i].tradition_tag + ': ' + arr[i].tradition;
+ }
+
+
+
+ trad_tion = `
`;
+
}
+
str += `
`
if (result.data.notices.length > 0) {
$('.ncon_SCom .Scientist_Community_box').html(jourNoticeStr);
+ }else{
+ $('.ncon_SCom .Scientist_Community_box').html(`
+ Scientist
Community
+
+
+ `);
}
diff --git a/journalIndex/style/commonJournalCSS_v6.css b/journalIndex/style/commonJournalCSS_v12.css
similarity index 98%
rename from journalIndex/style/commonJournalCSS_v6.css
rename to journalIndex/style/commonJournalCSS_v12.css
index de0858c..c934d8c 100644
--- a/journalIndex/style/commonJournalCSS_v6.css
+++ b/journalIndex/style/commonJournalCSS_v12.css
@@ -65,6 +65,7 @@ input.disable {
}
.rgb_color_background {
+ box-sizing: border-box;
/*background-color: #024393;*/
}
@@ -458,6 +459,53 @@ input.disable {
margin-bottom: 20px
}
+/******************弹窗******************/
+
+/* 遮罩层 */
+#common-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0,0,0,0.5);
+ display: none;
+ z-index: 100;
+}
+
+/* 弹窗主体 */
+#common-popup {
+ width: 600px;
+ min-height: 400px;
+ height: auto;
+ background: white;
+ border-radius: 8px;
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: -1;
+ opacity: 0;
+ transition: opacity 0.3s;
+ box-shadow: 0 0 20px rgba(0,0,0,0.2);
+}
+
+/* 关闭按钮 */
+.common-close-btn {
+ position: absolute;
+ right: 15px;
+ top: 10px;
+ font-size: 24px;
+ cursor: pointer;
+ color: #999;
+}
+
+.common-close-btn:hover {
+ color: #333;
+}
+
+
+/******************弹窗******************/
/******************导航******************/
.nav {
height: 60px;
@@ -573,9 +621,9 @@ input.disable {
.article_ .ncon_tcrd_tmr,
.article_ .Rel_ated,
.article_ .ncon_SCom {
- background: url(/img/home_0.jpg) no-repeat #f4fbff;
- background-blend-mode: multiply;
- background-size: 100% 100%;
+ /* background: url(/img/home_0.jpg) no-repeat #f4fbff; */
+ /* background-blend-mode: multiply;
+ background-size: 100% 100%; */
}
.article_ .ncon_fr_tmr li,
@@ -1689,7 +1737,7 @@ ul li .ab_tad {
display: inline-block;
/*width: 610px;*/
line-height: 62px;
- font-size: 58px;
+ font-size: 48px;
text-align: left;
}
@@ -2101,6 +2149,7 @@ padding-top: 0px !important;
}
.ncon_SCom>div {
padding: 15px 0;
+ padding-top:0 ;
display: flex;
}
@@ -2814,6 +2863,7 @@ padding-top: 0px !important;
.overall_tmr .Rel_ated h4,
.overall_tmr .hua_tpice h4,
.overall_tmr .Special_Issues_box h4,
+.overall_tmr .ncon_new_coment h4,
.overall_tmr .ncon_hl h4 {
width: 1102px;
margin: 0 auto;
@@ -2884,6 +2934,7 @@ padding-top: 0px !important;
.overall_tmr .hua_tpice ul,
.overall_tmr .ncon_hl ul,
.overall_tmr .Special_Issues_box ul,
+.overall_tmr .ncon_new_coment ul,
.overall_tmr .ncon_SCom>div {
width: 1098px;
margin: 15px auto 0;
@@ -3217,8 +3268,8 @@ padding-top: 0px !important;
/*搜索框*/
.ment_sousuo_kuang {
- margin-top: 28px;
- padding-bottom: 0px;
+ margin-top: 33px;
+
/*background: #006699;*/
}
@@ -3228,6 +3279,7 @@ padding-top: 0px !important;
/*background: url(../img/home_0.jpg) no-repeat #f4fbff;*/
/*background-blend-mode: multiply;*/
background-size: 100% 100%;
+ padding-bottom: 0px;
padding: 15px 0px;
/*border-radius: 75px 0 60px 0;*/
width: 1102px;
diff --git a/journals_tmr_v14.html b/journals_tmr_v21.html
similarity index 92%
rename from journals_tmr_v14.html
rename to journals_tmr_v21.html
index f88159a..5d48f1d 100644
--- a/journals_tmr_v14.html
+++ b/journals_tmr_v21.html
@@ -11,7 +11,7 @@
-
+