From 99d5ec018eeefac88a8a1bdd8182f1a7a1b02463 Mon Sep 17 00:00:00 2001 From: deploy Date: Wed, 4 Nov 2026 03:03:51 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=88=97=E8=A1=A8=EF=BC=9A?= =?UTF-8?q?=E6=89=8B=E6=B0=94=E6=B5=8B=E5=81=9A=E6=88=90=E6=91=87=E9=AA=B0?= =?UTF-8?q?=E5=AD=90=E8=80=81=E8=99=8E=E6=9C=BA=E6=A8=A1=E5=9D=97=EF=BC=8C?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8D=A1=E7=89=87=E5=9C=A8=E6=B5=8B=E6=95=B0?= =?UTF-8?q?=EF=BC=8C=E5=B0=81=E9=9D=A2=E6=A0=87=E9=A2=98=E5=8A=A0=E5=A4=A7?= =?UTF-8?q?=EF=BC=88v26110292=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 | 105 ++++++++++++++++++++++-------------- 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, 83 insertions(+), 58 deletions(-) diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index 11a4f8e..03df10b 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 0fb292b..15af2ce 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110291'; + var VER = '26110292'; 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 bbe2cb9..f6b11e9 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=26110291'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110292'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/js/gch/v6.js b/js/gch/v6.js index d1e924f..16e405d 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=26110291'; + var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110292'; document.head.appendChild(l); - var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110291'; + var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110292'; 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 b43519d..087a68f 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 = '26110291'; + var V = '26110292'; 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 ded83c2..a592b80 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=26110291').then(function (idx) { + getJSON('../_shared/idx.json?v=26110292').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=26110291').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); + getJSON('../_shared/cm/' + SLUG + '.json?v=26110292').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); } function extras(el) {