找回密码
 注册
搜索
免费空间 免费域名 免费AI 老牌主机商首月仅1美分!27美元/年!Namecheap优惠码Spaceship优惠码
楼主: patriotic

[建站交流] BeGet這是限制什麼? 不讓重新安裝了~

[复制链接]
发表于 2026-2-2 17:07:10 | 显示全部楼层
shim 发表于 2026-2-2 16:59
xrea服务器经常无法访问,要不就是数据库无法链接

前一段时间s270出过问题
发表于 2026-2-7 23:27:12 | 显示全部楼层
歌亿民 发表于 2026-2-2 14:57
我的偶而发不了文章(WP),403,过2天就好。
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>葛亦民网 - 现代化重构版</title>
  7.     <meta name="description" content="基督教共产主义,紫薇圣人,大同世界">
  8.     <meta name="keywords" content="基督教共产主义,紫微圣人,神网,神经,神教,网哲">
  9.     <!-- 所有链接默认在新窗口打开 -->
  10.     <base target="_blank">
  11.    
  12.     <style>
  13.         /* --- 核心变量 (配色方案) --- */
  14.         :root {
  15.             --primary: #2c3e50;    /* 主色:深蓝灰,稳重 */
  16.             --accent: #c0392b;     /* 强调色:深红,醒目 */
  17.             --bg-body: #f4f6f8;    /* 背景色:浅灰,护眼 */
  18.             --bg-card: #ffffff;
  19.             --text-main: #2c3e50;
  20.             --text-sub: #7f8c8d;
  21.             --border-radius: 8px;
  22.             --shadow: 0 4px 12px rgba(0,0,0,0.05);
  23.             --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  24.         }

  25.         /* --- 基础重置 --- */
  26.         * { box-sizing: border-box; margin: 0; padding: 0; }
  27.         
  28.         body {
  29.             font-family: var(--font-stack);
  30.             background-color: var(--bg-body);
  31.             color: var(--text-main);
  32.             line-height: 1.6;
  33.             font-size: 15px;
  34.             padding-bottom: 2rem;
  35.         }

  36.         a { color: #2980b9; text-decoration: none; transition: color 0.2s; }
  37.         a:hover { color: var(--accent); }

  38.         /* --- 布局容器 --- */
  39.         .container {
  40.             max-width: 1000px;
  41.             margin: 0 auto;
  42.             padding: 0 1rem;
  43.         }

  44.         /* --- 头部 Header --- */
  45.         header {
  46.             background: var(--bg-card);
  47.             padding: 1.5rem 0;
  48.             text-align: center;
  49.             box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  50.             margin-bottom: 1.5rem;
  51.         }
  52.         
  53.         .logo-area img { max-height: 80px; width: auto; max-width: 100%; }
  54.         
  55.         /* --- 导航栏 --- */
  56.         .main-nav {
  57.             background: #fff;
  58.             position: sticky;
  59.             top: 0;
  60.             z-index: 100;
  61.             border-bottom: 1px solid #eee;
  62.             box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  63.             margin-bottom: 2rem;
  64.         }

  65.         .nav-list {
  66.             display: flex;
  67.             justify-content: center;
  68.             flex-wrap: wrap;
  69.             list-style: none;
  70.             padding: 0.8rem 0;
  71.             gap: 10px;
  72.         }
  73.         
  74.         .nav-list a {
  75.             padding: 0.5rem 1.2rem;
  76.             border-radius: 20px;
  77.             font-weight: 600;
  78.             color: var(--text-main);
  79.             background: #f1f2f6;
  80.             font-size: 0.95rem;
  81.         }

  82.         .nav-list a:hover {
  83.             background: var(--primary);
  84.             color: #fff;
  85.         }

  86.         /* --- 通用卡片样式 --- */
  87.         .card {
  88.             background: var(--bg-card);
  89.             border-radius: var(--border-radius);
  90.             padding: 1.5rem;
  91.             margin-bottom: 1.5rem;
  92.             box-shadow: var(--shadow);
  93.         }

  94.         .section-title {
  95.             font-size: 1.2rem;
  96.             border-left: 4px solid var(--accent);
  97.             padding-left: 0.8rem;
  98.             margin-bottom: 1rem;
  99.             color: var(--primary);
  100.             font-weight: 700;
  101.         }

  102.         /* --- 选项卡系统 (Tabs) --- */
  103.         .resource-tabs {
  104.             background: #fff;
  105.             border-radius: var(--border-radius);
  106.             box-shadow: var(--shadow);
  107.             overflow: hidden;
  108.             margin-bottom: 2rem;
  109.         }

  110.         .tabs-header {
  111.             display: flex;
  112.             background: #f8f9fa;
  113.             border-bottom: 1px solid #eee;
  114.             overflow-x: auto;
  115.             white-space: nowrap;
  116.             -webkit-overflow-scrolling: touch;
  117.         }

  118.         .tabs-header::-webkit-scrollbar { display: none; } /* 隐藏滚动条 */

  119.         .tab-btn {
  120.             padding: 1rem 1.5rem;
  121.             border: none;
  122.             background: none;
  123.             font-size: 1rem;
  124.             font-weight: 600;
  125.             color: var(--text-sub);
  126.             cursor: pointer;
  127.             position: relative;
  128.             flex-shrink: 0;
  129.             transition: color 0.3s;
  130.         }

  131.         .tab-btn.active { color: var(--primary); background: #fff; }
  132.         
  133.         .tab-btn.active::after {
  134.             content: '';
  135.             position: absolute;
  136.             bottom: 0; left: 0; right: 0;
  137.             height: 3px;
  138.             background-color: var(--accent);
  139.         }

  140.         .tab-content {
  141.             padding: 1.5rem;
  142.             display: none; /* 默认隐藏 */
  143.             animation: fadeIn 0.3s ease;
  144.         }
  145.         
  146.         .tab-content.active { display: block; }

  147.         @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

  148.         /* --- 链接标签样式 (Grid) --- */
  149.         .link-grid {
  150.             display: flex;
  151.             flex-wrap: wrap;
  152.             gap: 10px;
  153.         }

  154.         .link-tag {
  155.             display: inline-flex;
  156.             align-items: center;
  157.             padding: 6px 14px;
  158.             background: #f8f9fa;
  159.             border: 1px solid #e9ecef;
  160.             border-radius: 4px;
  161.             font-size: 0.9rem;
  162.             color: var(--text-main);
  163.             transition: all 0.2s;
  164.         }

  165.         .link-tag:hover {
  166.             border-color: var(--primary);
  167.             color: #fff;
  168.             background: var(--primary);
  169.             text-decoration: none;
  170.         }
  171.         
  172.         .link-tag.important {
  173.             background: #eaf2f8;
  174.             color: #2980b9;
  175.             font-weight: bold;
  176.             border-color: #d6eaf8;
  177.         }
  178.         .link-tag.important:hover { background: #2980b9; color: #fff; }

  179.         .group-title {
  180.             font-size: 0.85rem;
  181.             color: #95a5a6;
  182.             text-transform: uppercase;
  183.             letter-spacing: 1px;
  184.             margin: 0 0 0.8rem 0;
  185.             font-weight: 700;
  186.         }

  187.         .group-block { margin-bottom: 1.5rem; }
  188.         .group-block:last-child { margin-bottom: 0; }

  189.         /* --- 折叠目录 (Accordion) --- */
  190.         details.volume-section {
  191.             background: #fff;
  192.             border: 1px solid #eee;
  193.             border-radius: var(--border-radius);
  194.             margin-bottom: 0.8rem;
  195.             overflow: hidden;
  196.         }

  197.         details.volume-section summary {
  198.             padding: 1rem;
  199.             background: #fdfdfd;
  200.             cursor: pointer;
  201.             font-weight: 600;
  202.             color: var(--primary);
  203.             list-style: none;
  204.             display: flex;
  205.             justify-content: space-between;
  206.             align-items: center;
  207.         }
  208.         
  209.         details.volume-section summary::-webkit-details-marker { display: none; }
  210.         details.volume-section summary::after { content: '+'; font-size: 1.2rem; color: #ccc; }
  211.         details.volume-section[open] summary::after { content: '-'; }
  212.         details.volume-section[open] summary { border-bottom: 1px solid #eee; background: #fafafa; }

  213.         .volume-content {
  214.             padding: 1.5rem;
  215.             display: grid;
  216.             grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  217.             gap: 10px;
  218.         }
  219.         
  220.         .chapter-link {
  221.             text-align: center;
  222.             padding: 5px;
  223.             background: #fff;
  224.             border: 1px solid #eee;
  225.             border-radius: 4px;
  226.             font-size: 0.85rem;
  227.             color: #555;
  228.         }
  229.         .chapter-link:hover { border-color: var(--accent); color: var(--accent); }

  230.         /* --- 新闻列表 --- */
  231.         .news-list { list-style: none; }
  232.         .news-list li {
  233.             padding: 0.8rem 0;
  234.             border-bottom: 1px solid #eee;
  235.         }
  236.         .news-list li:last-child { border-bottom: none; }
  237.         .news-title { display: block; font-weight: 600; margin-bottom: 0.2rem; }
  238.         .news-meta { font-size: 0.85rem; color: #999; }

  239.         /* --- 倒计时 --- */
  240.         .countdown-box {
  241.             background: linear-gradient(135deg, #2c3e50, #4ca1af);
  242.             color: white;
  243.             text-align: center;
  244.             padding: 2rem;
  245.             border-radius: var(--border-radius);
  246.             margin-top: 2rem;
  247.         }
  248.         .timer-display {
  249.             font-family: monospace;
  250.             font-size: 1.8rem;
  251.             font-weight: bold;
  252.             color: #ffeaa7;
  253.             margin-top: 0.5rem;
  254.         }

  255.         /* --- 页脚 --- */
  256.         footer {
  257.             margin-top: 3rem;
  258.             padding: 2rem 0;
  259.             border-top: 1px solid #ddd;
  260.             text-align: center;
  261.             font-size: 0.85rem;
  262.             color: var(--text-sub);
  263.         }
  264.         
  265.         /* --- 移动端适配 --- */
  266.         @media (max-width: 600px) {
  267.             .nav-list a { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
  268.             .volume-content { grid-template-columns: repeat(3, 1fr); }
  269.             .timer-display { font-size: 1.2rem; }
  270.         }
  271.     </style>
  272. </head>
  273. <body>

  274.     <!-- 1. 头部区域 -->
  275.     <header>
  276.         <div class="container">
  277.             <div class="logo-area">
  278.                 <a href="https://web.geyimin.net/bbs"><img src="pic/ban.jpg" alt="葛亦民网 Banner"></a>
  279.             </div>
  280.         </div>
  281.     </header>

  282.     <!-- 2. 导航栏 -->
  283.     <nav class="main-nav">
  284.         <div class="container">
  285.             <ul class="nav-list">
  286.                 <li><a href="xw.html">文化</a></li>
  287.                 <li><a href="wx.html">文学</a></li>
  288.                 <li><a href="gzly/zp.htm">照片墙</a></li>
  289.                 <li><a href="nszz/gymsp.htm">视频</a></li>
  290.                 <li><a href="https://web.geyimin.net/bbs">社区</a></li>
  291.                 <li><a href="https://web.geyimin.net/club">论坛</a></li>
  292.             </ul>
  293.         </div>
  294.     </nav>

  295.     <main class="container">

  296.         <!-- 3. 资源下载中心 (Tab 布局 - 核心优化部分) -->
  297.         <section class="resource-tabs">
  298.             <!-- Tab 头部按钮 -->
  299.             <div class="tabs-header">
  300.                 <button class="tab-btn active" onclick="openTab(event, 'tab-neuro')">神经下载 (Neuro)</button>
  301.                 <button class="tab-btn" onclick="openTab(event, 'tab-multi')">多语言 (Languages)</button>
  302.                 <button class="tab-btn" onclick="openTab(event, 'tab-anecdotes')">异闻录 (Anecdotes)</button>
  303.                 <button class="tab-btn" onclick="openTab(event, 'tab-others')">其他刊物</button>
  304.             </div>

  305.             <!-- Tab 1: 神经中英文 -->
  306.             <div id="tab-neuro" class="tab-content active">
  307.                 <div class="group-block">
  308.                     <h3 class="group-title">中文版本 (Chinese)</h3>
  309.                     <div class="link-grid">
  310.                         <a href="word.html" class="link-tag important">在线阅读</a>
  311.                         <a href="pic/sj.rar" class="link-tag">TXT 打包下载</a>
  312.                         <a href="pic/sj.doc" class="link-tag">DOC</a>
  313.                         <a href="pic/sj.pdf" class="link-tag">PDF</a>
  314.                         <a href="pic/sj.txt" class="link-tag">纯文本 TXT</a>
  315.                     </div>
  316.                 </div>
  317.                 <hr style="border:0; border-top:1px dashed #eee; margin: 1rem 0;">
  318.                 <div class="group-block">
  319.                     <h3 class="group-title">英文版本 (English)</h3>
  320.                     <div class="link-grid">
  321.                         <a href="wordusa.docx" class="link-tag">Word of God (doc)</a>
  322.                         <a href="dxly/wordusa.txt" class="link-tag">TXT</a>
  323.                         <a href="dxly/wordusa.rar" class="link-tag">RAR</a>
  324.                         <a href="dxly/wordusa.pdf" class="link-tag">PDF</a>
  325.                         <a href="dxly/wordusa.html" class="link-tag">HTML</a>
  326.                     </div>
  327.                 </div>
  328.             </div>

  329.             <!-- Tab 2: 多语言 -->
  330.             <div id="tab-multi" class="tab-content">
  331.                 <div class="group-block">
  332.                     <h3 class="group-title">全球译本 (Translations)</h3>
  333.                     <div class="link-grid">
  334.                         <a href="dxly/fy.htm" class="link-tag">Française (法語)</a>
  335.                         <a href="dxly/xby.htm" class="link-tag">Español (西語)</a>
  336.                         <a href="dxly/pty.htm" class="link-tag">Português (葡語)</a>
  337.                         <a href="dxly/ey.htm" class="link-tag">Русский (俄語)</a>
  338.                         <a href="dxly/alb.htm" class="link-tag">الله (阿拉伯語)</a>
  339.                         <a href="dxly/ft.htm" class="link-tag">繁体中文</a>
  340.                         <a href="dxly/rw.htm" class="link-tag">日本語</a>
  341.                         <a href="dxly/hy.htm" class="link-tag">한국어 (韓語)</a>
  342.                     </div>
  343.                 </div>
  344.             </div>

  345.             <!-- Tab 3: 异闻录 -->
  346.             <div id="tab-anecdotes" class="tab-content">
  347.                 <div class="group-block">
  348.                     <h3 class="group-title">葛亦民异闻录 (中文)</h3>
  349.                     <div class="link-grid">
  350.                         <a href="pic/gsywl.html" class="link-tag">HTML</a>
  351.                         <a href="pic/gsywl.txt" class="link-tag">TXT</a>
  352.                         <a href="pic/gsywl.rar" class="link-tag">RAR</a>
  353.                         <a href="pic/gsywl.docx" class="link-tag">DOC</a>
  354.                         <a href="pic/gsywl.pdf" class="link-tag">PDF</a>
  355.                     </div>
  356.                 </div>
  357.                 <hr style="border:0; border-top:1px dashed #eee; margin: 1rem 0;">
  358.                 <div class="group-block">
  359.                     <h3 class="group-title">Anecdote of Geyimin (English)</h3>
  360.                     <div class="link-grid">
  361.                         <a href="pic/anecdoteofgeyimin.html" class="link-tag">HTML</a>
  362.                         <a href="pic/anecdoteofgeyimin.txt" class="link-tag">TXT</a>
  363.                         <a href="pic/anecdoteofgeyimin.rar" class="link-tag">RAR</a>
  364.                         <a href="pic/anecdoteofgeyimin.docx" class="link-tag">DOC</a>
  365.                         <a href="pic/anecdoteofgeyimin.pdf" class="link-tag">PDF</a>
  366.                     </div>
  367.                 </div>
  368.             </div>

  369.             <!-- Tab 4: 其他刊物 -->
  370.             <div id="tab-others" class="tab-content">
  371.                 <div class="group-block">
  372.                     <h3 class="group-title">报刊与杂志</h3>
  373.                     <div class="link-grid">
  374.                         <a href="scsl/jg.htm" class="link-tag important" style="background:#fff3e0; color:#d35400; border-color:#ffe0b2;">
  375.                             📰 基督教共产主义快报
  376.                         </a>
  377.                     </div>
  378.                 </div>
  379.             </div>
  380.         </section>

  381.         <!-- 4. 六大卷内容 (使用折叠面板,大量节省空间) -->
  382.         <h2 style="font-size:1.1rem; color:#aaa; margin-bottom:1rem; padding-left:0.5rem;">著作章节目录:</h2>

  383.         <!-- 第1卷 -->
  384.         <details class="volume-section" open>
  385.             <summary>第一卷:葛亦民异闻录之纯真年代(1969年1月–1990年7月)</summary>
  386.             <div class="volume-content" id="vol1-links">
  387.                 <!-- JS生成链接 -->
  388.             </div>
  389.         </details>

  390.         <!-- 第2卷 -->
  391.         <details class="volume-section">
  392.             <summary>第二卷:葛亦民异闻录之江湖岁月(1989年6月–1990年7月)</summary>
  393.             <div class="volume-content" id="vol2-links"></div>
  394.         </details>

  395.         <!-- 第3卷 -->
  396.         <details class="volume-section">
  397.             <summary>第三卷:葛亦民异闻录之飞越疯人院(1990年12月–今)</summary>
  398.             <div class="volume-content" id="vol3-links"></div>
  399.         </details>

  400.         <!-- 第4卷 -->
  401.         <details class="volume-section">
  402.             <summary>第四卷:葛亦民异闻录之葛亦民和他的女人们(1990年8月–今)</summary>
  403.             <div class="volume-content" id="vol4-links"></div>
  404.         </details>

  405.         <!-- 第5卷 -->
  406.         <details class="volume-section">
  407.             <summary>第五卷:葛亦民异闻录之网络生涯(2001年3月–今)</summary>
  408.             <div class="volume-content" id="vol5-links"></div>
  409.         </details>

  410.         <!-- 第6卷 -->
  411.         <details class="volume-section">
  412.             <summary>第六卷:葛亦民异闻录之成圣之路(2001年4月–今)</summary>
  413.             <div class="volume-content" id="vol6-links"></div>
  414.         </details>


  415.         <!-- 5. 新闻与评论 -->
  416.         <div class="card">
  417.             <h2 class="section-title">新闻动态与神学评论</h2>
  418.             <ul class="news-list">
  419.                 <li>
  420.                     <a href="http://www.cnki.com.cn/Article/CJFDTotal-QNWJ201511133.htm" class="news-title">中国知网《青年文学家》2015年4月11期</a>
  421.                     <div class="news-meta">收录论文:《当代基督教共产主义—葛亦民的&lt;神经&gt;》</div>
  422.                 </li>
  423.                 <li>
  424.                     <a href="../gzly/qqxw.jpg" class="news-title">腾讯新闻 - 天天快报</a>
  425.                     <div class="news-meta">报道:社会化大生产和互联网大革命</div>
  426.                 </li>
  427.                 <li>
  428.                     <a href="../gzly/163xw.jpg" class="news-title">网易新闻</a>
  429.                     <div class="news-meta">评论:和其他意大利或者西班牙的报纸一样,毕竟不是《耶梅经》</div>
  430.                 </li>
  431.                 <li>
  432.                     <a href="../gzly/pcpopxw.jpg" class="news-title">泡泡网 (PCPOP)</a>
  433.                     <div class="news-meta">报道:恰巧验证了《耶梅经》中有关世界末日的预言</div>
  434.                 </li>
  435.                 <li>
  436.                     <a href="fygc/gcsj.htm" class="news-title">神学定义:葛亦民神</a>
  437.                     <div class="news-meta">“比上帝高二层,比人类高三层。上帝: ‘葛亦民创造了造物主,造物主创造了上帝,上帝创造了人类。’”</div>
  438.                 </li>
  439.                 <li>
  440.                     <a href="fygc/4tq.htm" class="news-title">人物百科:葛亦民</a>
  441.                     <div class="news-meta">伟大的互联网宗教家思想家活动家,香港四季出版社签约作家。紫薇圣人,神,共产主义领袖。</div>
  442.                 </li>
  443.             </ul>
  444.         </div>

  445.         <!-- 6. 视频库与联系方式 -->
  446.         <div class="card" style="background-color: #f8fcfd;">
  447.             <h2 class="section-title">视频资源与联系</h2>
  448.             
  449.             <div style="margin-bottom: 1.5rem;">
  450.                 <strong style="color:#666;">视频矩阵:</strong>
  451.                 <div class="link-grid" style="margin-top: 0.5rem;">
  452.                     <a href="https://v.geyimin.top/index.html" class="link-tag important">Blaze 视频库</a>
  453.                     <a href="http://v.20331126.xyz:8080" class="link-tag">官方视频库</a>
  454.                     <a href="http://fr.geyimin.net:8080" class="link-tag">Free 视频库</a>
  455.                     <a href="http://v.geyimin.net:8080" class="link-tag">镜像视频库</a>
  456.                 </div>
  457.             </div>

  458.             <div>
  459.                 <strong style="color:#666;">联系与互动:</strong>
  460.                 <div class="link-grid" style="margin-top: 0.5rem;">
  461.                     <a href="mailto:[email protected]" class="link-tag">Email: [email protected]</a>
  462.                     <span class="link-tag">微信/支付宝: 13952819473</span>
  463.                     <a href="lj.html" class="link-tag">网站群</a>
  464.                     <a href="scsl/wx.html" class="link-tag important" style="background: #27ae60; color:white; border:none;">加入葛亦民</a>
  465.                     <a href="dxly/gwmfx.htm" class="link-tag" style="color: #c0392b;">功德箱</a>
  466.                 </div>
  467.                 <div style="margin-top: 10px; font-size: 0.85rem; color: #7f8c8d;">
  468.                     微信公众号:geyimin2033 / xyz20331126
  469.                 </div>
  470.             </div>
  471.         </div>

  472.         <!-- 7. 倒计时区域 -->
  473.         <div class="countdown-box">
  474.             <div style="font-size: 1.1rem; opacity: 0.9;">距离 2033年11月26日 世界大同还有:</div>
  475.             <div class="timer-display">
  476.                 <span id="t_d">0</span>天 <span id="t_h">00</span>时 <span id="t_m">00</span>分 <span id="t_s">00</span>秒
  477.             </div>
  478.         </div>

  479.     </main>

  480.     <!-- 8. 页脚与统计 -->
  481.     <footer>
  482.         <div class="container">
  483.             <div style="display:flex; justify-content:center; align-items:center; gap:15px; margin-bottom:1rem;">
  484.                 <a href="pic/sj.txt"><img src="gzly/bzz.png" width="24" height="24" border="0" alt="icon"></a>
  485.                 <span style="display:flex; align-items:center;">
  486.                     <img src="pic/beian.png" width="13" height="16" alt="备案" style="margin-right:5px;"/>
  487.                     苏公网安备 32110202000012号
  488.                 </span>
  489.             </div>
  490.             <p>&copy; 2033 Geyimin.net All Rights Reserved.</p>
  491.         </div>
  492.         
  493.         <!-- 广告位 -->
  494.         <div style="margin-top: 2rem;">
  495.             <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  496.             <ins class="adsbygoogle"
  497.                  style="display:block"
  498.                  data-ad-client="ca-pub-4478354601389172"
  499.                  data-ad-slot="2825366864"
  500.                  data-ad-format="auto"
  501.                  data-full-width-responsive="true"></ins>
  502.             <script>
  503.                  (adsbygoogle = window.adsbygoogle || []).push({});
  504.             </script>
  505.         </div>
  506.     </footer>

  507.     <!-- 逻辑脚本 -->
  508.     <script>
  509.         // --- 1. 选项卡切换逻辑 ---
  510.         function openTab(evt, tabName) {
  511.             // 隐藏所有内容
  512.             var tabcontent = document.getElementsByClassName("tab-content");
  513.             for (var i = 0; i < tabcontent.length; i++) {
  514.                 tabcontent[i].style.display = "none";
  515.                 tabcontent[i].classList.remove("active");
  516.             }
  517.             // 移除按钮激活状态
  518.             var tablinks = document.getElementsByClassName("tab-btn");
  519.             for (var i = 0; i < tablinks.length; i++) {
  520.                 tablinks[i].classList.remove("active");
  521.             }
  522.             // 显示目标内容
  523.             var target = document.getElementById(tabName);
  524.             target.style.display = "block";
  525.             // 延时添加class触发动画
  526.             setTimeout(function() {
  527.                 target.classList.add("active");
  528.             }, 10);
  529.             
  530.             evt.currentTarget.classList.add("active");
  531.         }

  532.         // --- 2. 自动生成大量章节链接 (避免代码冗余) ---
  533.         function generateLinks(containerId, folder, prefix, start, end) {
  534.             const container = document.getElementById(containerId);
  535.             let html = '';
  536.             for (let i = start; i <= end; i++) {
  537.                 let chapterName = `第${i}章`;
  538.                 if(i > 100) chapterName = `第一百${i===100?'':(i-100<10?'0':'') + (i-100)}章`.replace('百10', '百十').replace('百0', '百零'); // 简单处理中文数字习惯
  539.                 if(i == 100) chapterName = "第一百章";
  540.                
  541.                 // 统一使用阿拉伯数字显示以保持整洁,或保持原样
  542.                 html += `<a href="${folder}/${prefix}${i}.htm" class="chapter-link">第 ${i} 章</a>`;
  543.             }
  544.             container.innerHTML = html;
  545.         }

  546.         // 生成各卷链接
  547.         generateLinks('vol1-links', 'dxly', 'cz', 1, 107);
  548.         generateLinks('vol2-links', 'dxly', 'jhsy', 1, 10);
  549.         generateLinks('vol3-links', 'dxly', 'fyfry', 1, 22);
  550.         generateLinks('vol4-links', 'dxly', 'nrm', 1, 18);
  551.         generateLinks('vol5-links', 'dxly', 'wl', 1, 40);
  552.         generateLinks('vol6-links', 'dxly', 'cs', 1, 39);

  553.         // --- 3. 倒计时逻辑 ---
  554.         function updateCountdown(){
  555.             const endTime = new Date('2033/11/26 00:00:00').getTime();
  556.             const nowTime = new Date().getTime();
  557.             const t = endTime - nowTime;
  558.             
  559.             if (t >= 0) {
  560.                 const d = Math.floor(t / 1000 / 60 / 60 / 24);
  561.                 const h = Math.floor(t / 1000 / 60 / 60 % 24);
  562.                 const m = Math.floor(t / 1000 / 60 % 60);
  563.                 const s = Math.floor(t / 1000 % 60);
  564.                
  565.                 document.getElementById("t_d").innerText = d;
  566.                 document.getElementById("t_h").innerText = h.toString().padStart(2, '0');
  567.                 document.getElementById("t_m").innerText = m.toString().padStart(2, '0');
  568.                 document.getElementById("t_s").innerText = s.toString().padStart(2, '0');
  569.             }
  570.         }
  571.         setInterval(updateCountdown, 1000);
  572.         updateCountdown();

  573.         // --- 4. 百度统计 ---
  574.         var _hmt = _hmt || [];
  575.         (function() {
  576.           var hm = document.createElement("script");
  577.           hm.src = "https://hm.baidu.com/hm.js?f38239c7d50e7f84a6ee8876da0304f7";
  578.           var s = document.getElementsByTagName("script")[0];
  579.           s.parentNode.insertBefore(hm, s);
  580.         })();
  581.     </script>
  582. </body>
  583. </html>
复制代码
 楼主| 发表于 2026-2-8 11:17:08 | 显示全部楼层

不懂代碼~這個幹什麼用? 放在哪個文件中? 有演示否? !
发表于 2026-2-8 12:40:10 | 显示全部楼层
发表于 2026-2-8 16:56:38 | 显示全部楼层
本帖最后由 歌亿民 于 2026-2-8 18:29 编辑

做的非常好,谢谢,已替换。

支付宝发我,我转你50


这个再看看


https://web.geyimin.net/
发表于 2026-2-8 16:57:20 | 显示全部楼层
patriotic 发表于 2026-2-8 11:17
不懂代碼~這個幹什麼用? 放在哪個文件中? 有演示否? !

我的网站首页
发表于 2026-2-8 16:58:12 | 显示全部楼层

我的网站主页
发表于 2026-2-8 17:11:03 | 显示全部楼层
本帖最后由 歌亿民 于 2026-2-8 18:29 编辑

做的非常好,谢谢,已替换。

支付宝发我,我转你50


这个再看看


https://web.geyimin.net/
发表于 2026-2-8 17:35:33 | 显示全部楼层

直接上传就能使用吗
发表于 2026-2-8 18:07:52 | 显示全部楼层
efc88ff45580620 发表于 2026-2-8 17:35
直接上传就能使用吗

是的
命个文件名
我是INDEX
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|免费吧论坛

GMT+8, 2026-6-5 00:39 , Processed in 0.071798 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表