v26110278 百宝箱去掉白底面板,直接用页面背景,分隔线同广场虚线
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
@@ -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); }
|
||||
})();
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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)}
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user