首页显示8本刊

This commit is contained in:
2025-11-06 09:14:22 +08:00
parent 6cd7d254f6
commit eba8364b92
6 changed files with 115 additions and 503 deletions

View File

@@ -50,6 +50,27 @@ var Jour_num = localStorage.Journals_num;
// tab选项卡
$(document).ready(function () {
const style = document.createElement('style');
style.innerHTML = `
#index_top .nav ul a:nth-child(1) li {
width: 225px !important;
}
#index_top .nav ul a:nth-child(2) li {
width: 110px !important;
}
#index_top .nav ul a:nth-child(3) li {
width: 195px !important;
}
#index_top .nav ul a:nth-child(4) li {
width: 110px !important;
}
#index_top.nav ul a:nth-child(5) li {
width: 90px !important;
}`
document.head.appendChild(style);
// 检查 URL 是否包含参数 pre
const urlParams = new URLSearchParams(window.location.search);
const isPre = urlParams.has('preview');
@@ -198,7 +219,6 @@ $('#top_bar').load('header.html')
$('#index_top').load('header_in.html')
// 高度一致
function whit_color() {
// if($(".art_side").height() > $(".art_main").height()){