From 3a97708bd7e07a8c66de504d8dcad6551f79bbfc Mon Sep 17 00:00:00 2001 From: deploy Date: Mon, 2 Nov 2026 23:35:07 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E4=B8=80=E6=B5=8B=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=92=91=E6=BB=A1=E4=B8=80=E5=B1=8F=EF=BC=9A=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E5=9D=87=E5=88=86=E5=88=B0=E5=90=84=E5=9D=97?= =?UTF-8?q?=E4=B9=8B=E9=97=B4=EF=BC=8C=E5=B1=8F=E8=B6=8A=E9=AB=98=E5=A4=B4?= =?UTF-8?q?=E5=9B=BE=E5=92=8C=E7=BB=93=E6=9E=9C=E5=9B=BE=E8=B6=8A=E5=A4=A7?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E5=86=8D=E5=BA=95=E9=83=A8=E7=95=99=E7=A9=BA?= =?UTF-8?q?=EF=BC=88v26110241=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 --- demo/gch/v4.js | 2 +- guangchang/ceshi/index.html | 43 +++++++++++++++++++++++++++++++++++-- guangchang/index.html | 10 ++++----- guangchang/mine/index.html | 2 +- index.html | 8 +++---- js/app.js | 2 +- topic/_shared/tools.js | 4 ++-- 7 files changed, 55 insertions(+), 16 deletions(-) diff --git a/demo/gch/v4.js b/demo/gch/v4.js index a5c659c..6d55636 100644 --- a/demo/gch/v4.js +++ b/demo/gch/v4.js @@ -188,5 +188,5 @@ } /* feed.js 首页默认不加载(index.html 只引了 topics.js),这里按需拉一次 */ if (window.GC_FEED) init(); - else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110240'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } + else { var fs = document.createElement('script'); fs.src = 'guangchang/feed.js?v=26110241'; fs.onload = fs.onerror = init; document.body.appendChild(fs); } })(); diff --git a/guangchang/ceshi/index.html b/guangchang/ceshi/index.html index 3100725..8252445 100644 --- a/guangchang/ceshi/index.html +++ b/guangchang/ceshi/index.html @@ -83,6 +83,45 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd .tcard small{display:none} .startbox{position:sticky;bottom:0;z-index:5;margin:6px -20px 0;padding:12px 20px calc(4px + env(safe-area-inset-bottom));text-align:center;background:linear-gradient(rgba(255,255,255,0),#fff 14px)} .startbox .note{margin-top:7px;font-size:12px;color:var(--sub)} +/* 11-03 用户:一屏放下后底下空太多 → 开始页撑满一屏(减去底部免责一行),多出的高度均分到各块之间;屏越高图越大 */ +#vStart.on{display:flex;flex-direction:column;min-height:calc(100vh - 69px);min-height:calc(100dvh - 69px - env(safe-area-inset-bottom))} +#vStart .wrap{flex:1;display:flex;flex-direction:column;width:100%} +#vStart .lead{margin-top:clamp(4px,(100dvh - 640px) * .12 + 4px,22px)} +#vStart .types{margin-top:auto;padding-top:16px} +#vStart .startbox{margin-top:auto} +#vStart .types + .startbox{padding-top:clamp(12px,(100dvh - 640px) * .25 + 12px,40px)} +@media (min-height:680px){ + .hero{padding-top:66px;padding-bottom:22px} + .hero h1{padding-right:132px;font-size:24px} + .hero .pic{top:70px;width:116px;height:116px;border-radius:28px} + .hero .meta{margin-top:16px} + .lead{padding:14px 16px;font-size:14px;line-height:1.8} + .tcard img{width:56px;height:56px} + .tcard b{font-size:12.5px} + .tgrid{gap:12px 6px} +} +@media (min-height:760px){ + .hero{padding-top:74px;padding-bottom:28px} + .hero h1{padding-right:146px;font-size:26px} + .hero h1 small{font-size:15px;margin-bottom:2px} + .hero .pic{top:76px;width:130px;height:130px} + .hero .meta{margin-top:20px} + .hero .meta span{font-size:13.5px} + .types .sh2 b{font-size:17px} + .tcard img{width:64px;height:64px} + .tcard b{font-size:13px} + .tgrid{gap:16px 6px} + .startbox .note{margin-top:10px;font-size:12.5px} +} +@media (min-height:790px){ + .hero{padding-top:80px;padding-bottom:32px} + .hero h1{padding-right:160px;font-size:28px} + .hero .pic{top:80px;width:146px;height:146px;border-radius:32px} + .lead{padding:16px 18px;font-size:14.5px} + .tcard{gap:6px} + .tcard img{width:70px;height:70px} + .tcard small{display:block;font-size:11.5px;color:var(--sub);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +} /* ---------- ② 答题 ---------- */ #vQuiz{padding-top:4px} @@ -328,8 +367,8 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd
- - + + - - - + + + + + - +