From 105c0f95bf01c91fb6e024677a21e1a6ba45824a Mon Sep 17 00:00:00 2001 From: deploy Date: Wed, 4 Nov 2026 00:09:08 +0000 Subject: [PATCH] =?UTF-8?q?v26110278=20=E7=99=BE=E5=AE=9D=E7=AE=B1?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=99=BD=E5=BA=95=E9=9D=A2=E6=9D=BF=EF=BC=8C?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E7=94=A8=E9=A1=B5=E9=9D=A2=E8=83=8C=E6=99=AF?= =?UTF-8?q?=EF=BC=8C=E5=88=86=E9=9A=94=E7=BA=BF=E5=90=8C=E5=B9=BF=E5=9C=BA?= =?UTF-8?q?=E8=99=9A=E7=BA=BF?= 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 | 10 +++++----- guangchang/mine/index.html | 2 +- index.html | 16 ++++++++-------- js/app.js | 2 +- js/gch/v4.js | 2 +- js/gch/v6.js | 4 ++-- js/kit.css | 8 ++++++++ js/kit.js | 2 +- topic/_shared/tools.js | 4 ++-- 10 files changed, 31 insertions(+), 23 deletions(-) diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index ac26304..1a707e4 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
- - + + - - - + + + + + @@ -2559,17 +2559,17 @@ - + - - + + - + diff --git a/js/app.js b/js/app.js index 1fbab3a..48a529b 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110277'; + var VER = '26110278'; 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 3395f16..52913af 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=26110277'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110278'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/js/gch/v6.js b/js/gch/v6.js index 1a52b2f..f998b16 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=26110277'; + var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110278'; document.head.appendChild(l); - var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110277'; + var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110278'; 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.css b/js/kit.css index 51e49c2..6f6b7f1 100644 --- a/js/kit.css +++ b/js/kit.css @@ -69,3 +69,11 @@ html.night .kit-pn{background:#2F2737;box-shadow:none} html.night .kit-pn .kit-rows{background:none} html.night .kit-pn .kit-rows .kr:first-child{border-top-color:#3C3345} .kit-pn .kit-g{gap:7px} +/* 11-04 用户:「别用白底把它框住,跟孕妈广场一样直接用页面背景」→ 去掉面板白底和阴影,分隔线换成和广场列表一样的浅色虚线 */ +.kit-pn,html.night .kit-pn{padding:0;border-radius:0;background:none;box-shadow:none} +.kit-pn .kit-g{gap:9px} +.kit-pn .kit-rows{margin:8px 0 0;padding:0 2px} +.kit-pn .kit-rows .kr{border-bottom:1px dashed #F1DDD6} +.kit-pn .kit-rows .kr:first-child{border-top:0;margin-top:0} +.kit-pn .kit-rows .kr:last-child{border-bottom:0} +html.night .kit-pn .kit-rows .kr{border-bottom-color:rgba(255,255,255,.1)} diff --git a/js/kit.js b/js/kit.js index f719a3b..01ad83d 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 = '26110277'; + var V = '26110278'; 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 b8229de..cd3f66d 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=26110277').then(function (idx) { + getJSON('../_shared/idx.json?v=26110278').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=26110277').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); + getJSON('../_shared/cm/' + SLUG + '.json?v=26110278').then(function (d) { L = d.c || []; paint(); }).catch(function () { paint(); }); } function extras(el) {