diff --git a/guangchang/ceshi/cv/SOURCES.txt b/guangchang/ceshi/cv/SOURCES.txt new file mode 100644 index 0000000..c48633b --- /dev/null +++ b/guangchang/ceshi/cv/SOURCES.txt @@ -0,0 +1,31 @@ +# 测试封面风景照(11-04 换,全部 CC0,来自 Openverse:StockSnap / WordPress Photos) +t01 https://stocksnap.io/photo/sunrise-morning-CD2134E2DD Sunrise Morning +t02 https://stocksnap.io/photo/sunrise-morning-NNEZM4UXE6 Sunrise Morning +t03 https://stocksnap.io/photo/sunrise-morning-ZJE4KHCDWE Sunrise Morning +t04 https://stocksnap.io/photo/sunrise-morning-FIOJB60WHW Sunrise Morning +t05 https://stocksnap.io/photo/sunrise-morning-LS018JTVBT Sunrise Morning +t06 https://stocksnap.io/photo/sunrise-mountains-HLQSR4VMVA Sunrise Mountains +t07 https://stocksnap.io/photo/sunrise-morning-Y3V6KY127X Sunrise Morning +t08 https://stocksnap.io/photo/sunrise-dawn-VSZGUL6UIN Sunrise Dawn +t09 https://stocksnap.io/photo/sunrise-sky-V54OB96DMN Sunrise Sky +t10 https://stocksnap.io/photo/flowers-peach-FJPQF5LY0H Flowers Peach +t11 https://stocksnap.io/photo/lavender-field-G1Z1H18HCQ Lavender Field +t12 https://stocksnap.io/photo/lavender-field-T5J75YI5H0 Lavender Field +t13 https://stocksnap.io/photo/lavender-flower-WGKUOVFTHP Lavender Flower +t14 https://stocksnap.io/photo/lavender-flowers-POJBN5GI7U Lavender Flowers +t15 https://stocksnap.io/photo/lavender-field-MA1RNOBHJ6 Lavender Field +t16 https://stocksnap.io/photo/lavender-field-R642Q1P0QG Lavender Field +t17 https://stocksnap.io/photo/lavender-flower-3502LSPSY6 Lavender Flower +t18 https://wordpress.org/photos/photo/6896636407/ French Lavender Flowers +t19 https://stocksnap.io/photo/purple-sky-51ZSVLMWRO Purple Sky +t20 https://stocksnap.io/photo/purple-sky-8AJACV2YDX Purple Sky +t21 https://wordpress.org/photos/photo/44267d07fb/ A vibrant green meadow under a blue sky dotted with fluffy white clouds in Zug, Switzerland. A line of trees borders the meadow in the mid-ground, and a forested hill rises in the background. +t22 https://wordpress.org/photos/photo/627668d5c9/ A scenic view of a stone path leading towards a hilltop surrounded by lush green meadows, with a backdrop of majestic mountains and a clear blue sky. The horizon is dotted with distant snow-capped peaks under fluffy white clouds. +t23 https://wordpress.org/photos/photo/1156a73ff5/ A peaceful forest clearing framed by towering trees, where sunlight filters through the canopy and opens to a wide green meadow beneath a bright blue sky +t24 https://wordpress.org/photos/photo/84665c508b/ A lush green meadow with a solitary tree in the foreground and a majestic flat-topped mountain under a cloudy sky. +t25 https://stocksnap.io/photo/forest-path-AXOFGKXCSI Forest Path +t26 https://wordpress.org/photos/photo/5536464f83/ Countryside landscape featuring a blue sky, clouds and unworked farm ground +t27 https://stocksnap.io/photo/beautiful-landscape-970HTFRR9U Beautiful Landscape +t28 https://stocksnap.io/photo/dock-lake-MES5X81ZYI Dock Lake +t29 https://stocksnap.io/photo/grass-trees-4OJDSDOEKU Grass Trees +t30 https://stocksnap.io/photo/blue-ocean-GJ7GTXIJZ2 Blue Ocean diff --git a/guangchang/ceshi/cv/t01.webp b/guangchang/ceshi/cv/t01.webp index 7616c9b..1e89f5f 100644 Binary files a/guangchang/ceshi/cv/t01.webp and b/guangchang/ceshi/cv/t01.webp differ diff --git a/guangchang/ceshi/cv/t02.webp b/guangchang/ceshi/cv/t02.webp index e91263a..0e0654c 100644 Binary files a/guangchang/ceshi/cv/t02.webp and b/guangchang/ceshi/cv/t02.webp differ diff --git a/guangchang/ceshi/cv/t03.webp b/guangchang/ceshi/cv/t03.webp index c76999e..ea9dc4a 100644 Binary files a/guangchang/ceshi/cv/t03.webp and b/guangchang/ceshi/cv/t03.webp differ diff --git a/guangchang/ceshi/cv/t04.webp b/guangchang/ceshi/cv/t04.webp index 7ef735f..ce4c590 100644 Binary files a/guangchang/ceshi/cv/t04.webp and b/guangchang/ceshi/cv/t04.webp differ diff --git a/guangchang/ceshi/cv/t05.webp b/guangchang/ceshi/cv/t05.webp index 92a83d0..ecfe44d 100644 Binary files a/guangchang/ceshi/cv/t05.webp and b/guangchang/ceshi/cv/t05.webp differ diff --git a/guangchang/ceshi/cv/t06.webp b/guangchang/ceshi/cv/t06.webp index 47f8112..994ef73 100644 Binary files a/guangchang/ceshi/cv/t06.webp and b/guangchang/ceshi/cv/t06.webp differ diff --git a/guangchang/ceshi/cv/t07.webp b/guangchang/ceshi/cv/t07.webp index 6888f82..dc18d4b 100644 Binary files a/guangchang/ceshi/cv/t07.webp and b/guangchang/ceshi/cv/t07.webp differ diff --git a/guangchang/ceshi/cv/t08.webp b/guangchang/ceshi/cv/t08.webp index cc37389..437634d 100644 Binary files a/guangchang/ceshi/cv/t08.webp and b/guangchang/ceshi/cv/t08.webp differ diff --git a/guangchang/ceshi/cv/t09.webp b/guangchang/ceshi/cv/t09.webp index f9713a9..ab98b51 100644 Binary files a/guangchang/ceshi/cv/t09.webp and b/guangchang/ceshi/cv/t09.webp differ diff --git a/guangchang/ceshi/cv/t10.webp b/guangchang/ceshi/cv/t10.webp index 4cc3fe4..67e54ef 100644 Binary files a/guangchang/ceshi/cv/t10.webp and b/guangchang/ceshi/cv/t10.webp differ diff --git a/guangchang/ceshi/cv/t11.webp b/guangchang/ceshi/cv/t11.webp index c304dd1..de9015c 100644 Binary files a/guangchang/ceshi/cv/t11.webp and b/guangchang/ceshi/cv/t11.webp differ diff --git a/guangchang/ceshi/cv/t12.webp b/guangchang/ceshi/cv/t12.webp index 3ec4fd8..e48e715 100644 Binary files a/guangchang/ceshi/cv/t12.webp and b/guangchang/ceshi/cv/t12.webp differ diff --git a/guangchang/ceshi/cv/t13.webp b/guangchang/ceshi/cv/t13.webp index be0d408..237949b 100644 Binary files a/guangchang/ceshi/cv/t13.webp and b/guangchang/ceshi/cv/t13.webp differ diff --git a/guangchang/ceshi/cv/t14.webp b/guangchang/ceshi/cv/t14.webp index 6074204..2e3db5f 100644 Binary files a/guangchang/ceshi/cv/t14.webp and b/guangchang/ceshi/cv/t14.webp differ diff --git a/guangchang/ceshi/cv/t15.webp b/guangchang/ceshi/cv/t15.webp index 2e2d3db..2fe8d47 100644 Binary files a/guangchang/ceshi/cv/t15.webp and b/guangchang/ceshi/cv/t15.webp differ diff --git a/guangchang/ceshi/cv/t16.webp b/guangchang/ceshi/cv/t16.webp index 48cb4d8..85432d3 100644 Binary files a/guangchang/ceshi/cv/t16.webp and b/guangchang/ceshi/cv/t16.webp differ diff --git a/guangchang/ceshi/cv/t17.webp b/guangchang/ceshi/cv/t17.webp index 35492f8..f80a833 100644 Binary files a/guangchang/ceshi/cv/t17.webp and b/guangchang/ceshi/cv/t17.webp differ diff --git a/guangchang/ceshi/cv/t18.webp b/guangchang/ceshi/cv/t18.webp index bd0830a..7e3adf9 100644 Binary files a/guangchang/ceshi/cv/t18.webp and b/guangchang/ceshi/cv/t18.webp differ diff --git a/guangchang/ceshi/cv/t19.webp b/guangchang/ceshi/cv/t19.webp index 47c2020..71ced77 100644 Binary files a/guangchang/ceshi/cv/t19.webp and b/guangchang/ceshi/cv/t19.webp differ diff --git a/guangchang/ceshi/cv/t20.webp b/guangchang/ceshi/cv/t20.webp index c610cb5..cce2341 100644 Binary files a/guangchang/ceshi/cv/t20.webp and b/guangchang/ceshi/cv/t20.webp differ diff --git a/guangchang/ceshi/cv/t21.webp b/guangchang/ceshi/cv/t21.webp index 887a296..c3943f5 100644 Binary files a/guangchang/ceshi/cv/t21.webp and b/guangchang/ceshi/cv/t21.webp differ diff --git a/guangchang/ceshi/cv/t22.webp b/guangchang/ceshi/cv/t22.webp index e52124c..ee092ad 100644 Binary files a/guangchang/ceshi/cv/t22.webp and b/guangchang/ceshi/cv/t22.webp differ diff --git a/guangchang/ceshi/cv/t23.webp b/guangchang/ceshi/cv/t23.webp index 8702ccd..ef286d5 100644 Binary files a/guangchang/ceshi/cv/t23.webp and b/guangchang/ceshi/cv/t23.webp differ diff --git a/guangchang/ceshi/cv/t24.webp b/guangchang/ceshi/cv/t24.webp index 56d7725..d3effe3 100644 Binary files a/guangchang/ceshi/cv/t24.webp and b/guangchang/ceshi/cv/t24.webp differ diff --git a/guangchang/ceshi/cv/t25.webp b/guangchang/ceshi/cv/t25.webp index df449bc..f925569 100644 Binary files a/guangchang/ceshi/cv/t25.webp and b/guangchang/ceshi/cv/t25.webp differ diff --git a/guangchang/ceshi/cv/t26.webp b/guangchang/ceshi/cv/t26.webp index 767af6b..1352008 100644 Binary files a/guangchang/ceshi/cv/t26.webp and b/guangchang/ceshi/cv/t26.webp differ diff --git a/guangchang/ceshi/cv/t27.webp b/guangchang/ceshi/cv/t27.webp index a16f9d9..9fd31f8 100644 Binary files a/guangchang/ceshi/cv/t27.webp and b/guangchang/ceshi/cv/t27.webp differ diff --git a/guangchang/ceshi/cv/t28.webp b/guangchang/ceshi/cv/t28.webp index 6f763aa..ea8da64 100644 Binary files a/guangchang/ceshi/cv/t28.webp and b/guangchang/ceshi/cv/t28.webp differ diff --git a/guangchang/ceshi/cv/t29.webp b/guangchang/ceshi/cv/t29.webp index 5ef6efe..e0d509e 100644 Binary files a/guangchang/ceshi/cv/t29.webp and b/guangchang/ceshi/cv/t29.webp differ diff --git a/guangchang/ceshi/cv/t30.webp b/guangchang/ceshi/cv/t30.webp index 5e240fc..076e9b2 100644 Binary files a/guangchang/ceshi/cv/t30.webp and b/guangchang/ceshi/cv/t30.webp differ diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index a68fa2e..56ca0c7 100644 --- a/guangchang/ceshi/index.html +++ b/guangchang/ceshi/index.html @@ -320,9 +320,9 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd
- - - + + + - - - - + + + + + + @@ -2591,17 +2591,17 @@ - + - - + + - + diff --git a/js/app.js b/js/app.js index 77efddd..35ec6fd 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110411'; + var VER = '26110412'; 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 9b13729..b950be2 100644 --- a/js/gch/v4.js +++ b/js/gch/v4.js @@ -244,5 +244,5 @@ } /* feed.js 首页默认不加载(index.html 只引了 topics.js),这里按需拉一次 */ if (window.GC_FEED) init(); - else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110411'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110412'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/js/gch/v6.css b/js/gch/v6.css index 73cf7a6..c2ade52 100644 --- a/js/gch/v6.css +++ b/js/gch/v6.css @@ -111,3 +111,7 @@ html.night #gcHome.gv4.gv6 .g6-avs img{border-color:#2F2737} #gcHome.gv4.gv6 .g6-hz{flex:none;width:12px;height:12px;color:#E8BFC0} #gcHome.gv4.gv6 .ms-h b{font-weight:600;color:#A08A85} html.night #gcHome.gv4.gv6 .ms-h b{color:#B9A9AE} +/* 11-04 二改:前 3 条小头像 6~8 个,缩到 14px、叠得更紧,不抢标题 */ +#gcHome.gv4.gv6 .g6-avs{margin-right:4px} +#gcHome.gv4.gv6 .g6-avs img{width:14px;height:14px;margin-left:-5px;border-width:1px} +#gcHome.gv4.gv6 .g6-avs img:first-child{margin-left:0} diff --git a/js/gch/v6.js b/js/gch/v6.js index 8e088db..61f5834 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=26110411'; + var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = 'js/gch/v4.css?v=26110412'; document.head.appendChild(l); - var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110411'; + var s = document.createElement('script'); s.src = 'js/gch/v4.js?v=26110412'; s.onload = function () { if (sec.querySelector('.g4-foot')) merge(); else sec.addEventListener('gc4-ready', merge, { once: true }); }; /* v4 要先拉 feed.js 才渲染 */ document.body.appendChild(s); @@ -87,7 +87,7 @@ var l6 = pick6(); if (!l6.length) { box.style.display = 'none'; return; } list.innerHTML = l6.map(function (x, i) { - var n = x.likes || 0, heat = '' + (n >= 1e4 ? Math.round(n / 1e3) / 10 + '万' : n) + ' 人点赞' + esc(x.stage || '') + ''; + var n = x.likes || 0, heat = '' + (i < 3 ? avs(i) : '') + '' + (n >= 1e4 ? Math.round(n / 1e3) / 10 + '万' : n) + ' 人点赞' + esc(x.stage || '') + ''; var q = new URLSearchParams(location.search); q.set('n', x.id); return '' + (i + 1) + '' + '' + esc(x.title) + '' + heat + '' + @@ -95,7 +95,8 @@ }).join(''); all.textContent = '去广场看更多 ›'; all.classList.remove('hide'); - /* 11-04 用户:点赞前的小头像去掉(抢标题)、点赞数别用红字 → 换成浅灰小心形 + 灰字,likeTick 不再跑 */ + /* 11-04 用户:点赞数别用红字 → 浅灰小心形 + 灰字;同日二改:前 3 条点赞前加回小头像(每条 6~8 个、更小),后 3 条不带 */ + likeTick(); } /* 11-03 用户:「点赞数前面放几个小头像,偶尔换一个,相当于有人新点赞进来」 → 火苗换成 3~6 个叠放小头像;每 4~7 秒随机挑一行:其中一个头像原地换成别人(点赞数不动)。 @@ -113,7 +114,7 @@ var avaAt = 0; function avaEl(n) { return '依据《育儿补贴制度实施方案》(2025)估算,月数折算以当地核定为准。
- + - +