From 9c6b8138d2dfdf272e3afa933181f35d91934ed1 Mon Sep 17 00:00:00 2001 From: deploy Date: Wed, 4 Nov 2026 02:19:32 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=88=97=E8=A1=A8=E7=83=AD?= =?UTF-8?q?=E9=97=B9=EF=BC=9A=E6=AD=A4=E5=88=BB=E5=9C=A8=E6=B5=8B+?= =?UTF-8?q?=E6=88=98=E6=8A=A5=E6=BB=9A=E5=8A=A8+=E6=89=8B=E6=B0=94?= =?UTF-8?q?=E6=B5=8B+=E5=8D=A1=E7=89=87=E5=9C=A8=E6=B5=8B/TOP=E8=A7=92?= =?UTF-8?q?=E6=A0=87/=E5=BC=B9=E5=85=A5=E6=89=AB=E5=85=89=EF=BC=88v2611029?= =?UTF-8?q?1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- guangchang/ceshi/index.html | 4 +- guangchang/index.html | 125 +++++++++++++++++++++++++++++++++--- guangchang/mine/index.html | 2 +- index.html | 16 ++--- js/app.js | 2 +- js/gch/v4.js | 2 +- js/gch/v6.js | 4 +- js/kit.js | 2 +- topic/_shared/tools.js | 4 +- 9 files changed, 135 insertions(+), 26 deletions(-) diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index 1737f54..11a4f8e 100644 --- a/guangchang/ceshi/index.html +++ b/guangchang/ceshi/index.html @@ -320,8 +320,8 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd
- - + + - - - + + + + + @@ -2580,17 +2580,17 @@ - + - - + + - + diff --git a/js/app.js b/js/app.js index c62ad7e..0fb292b 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110290'; + var VER = '26110291'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); diff --git a/js/gch/v4.js b/js/gch/v4.js index b205702..bbe2cb9 100644 --- a/js/gch/v4.js +++ b/js/gch/v4.js @@ -231,5 +231,5 @@ } /* feed.js 首页默认不加载(index.html 只引了 topics.js),这里按需拉一次 */ if (window.GC_FEED) init(); - else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110290'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110291'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/js/gch/v6.js b/js/gch/v6.js index 17725be..d1e924f 100644 --- a/js/gch/v6.js +++ b/js/gch/v6.js @@ -6,9 +6,9 @@ (function () { var sec = document.getElementById('gcHome'); if (!sec) return; - var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110290'; + var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110291'; document.head.appendChild(l); - var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110290'; + var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110291'; s.onload = function () { if (sec.querySelector('.g4-foot')) merge(); else sec.addEventListener('gc4-ready', merge, { once: true }); }; /* v4 要先拉 feed.js 才渲染 */ document.body.appendChild(s); diff --git a/js/kit.js b/js/kit.js index fc86a66..b43519d 100644 --- a/js/kit.js +++ b/js/kit.js @@ -9,7 +9,7 @@ if (/[?&]kit=0(?:&|$)/.test(location.search)) return; var box = document.getElementById('kit'), sec = document.getElementById('kitHome'); if (!box || !sec) return; - var V = '26110290'; + var V = '26110291'; var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/kit.css?v=' + V; document.head.appendChild(l); document.documentElement.classList.add('has-kit'); diff --git a/topic/_shared/tools.js b/topic/_shared/tools.js index f29f18d..ded83c2 100644 --- a/topic/_shared/tools.js +++ b/topic/_shared/tools.js @@ -68,7 +68,7 @@ function getJSON(u) { return fetch(u, { cache: 'no-cache' }).then(function (r) { if (!r.ok) throw r.status; return r.json(); }); } function related(box) { - getJSON('../_shared/idx.json?v=26110290').then(function (idx) { + getJSON('../_shared/idx.json?v=26110291').then(function (idx) { var me = null; idx.forEach(function (x) { if (x[0] === SLUG) me = x; }); var tag = me ? me[2] : '', h = 0; for (var i = 0; i < SLUG.length; i++) h = (h * 31 + SLUG.charCodeAt(i)) >>> 0; var rest = idx.filter(function (x) { return x[0] !== SLUG; }); @@ -175,7 +175,7 @@ } fetch(API + '/comments?kind=topic&target=' + encodeURIComponent(SLUG) + (OID ? '&openid=' + encodeURIComponent(OID) : '')) .then(function (r) { return r.json(); }).then(function (j) { if (j && j.code === 200) { RC = j.result; paint(); } }).catch(function () {}); - getJSON('../_shared/cm/' + SLUG + '.json?v=26110290').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); + getJSON('../_shared/cm/' + SLUG + '.json?v=26110291').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); } function extras(el) {