Ver a proveniência

fix: 修复首页 Footer 无法完整下滑的问题

- 添加 home-snap-section 类让 Footer 参与 scroll snap
- 覆盖 min-height 和 height 为 auto,允许内容自适应

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat/alipay-payment
fengsilin há 1 mês
ascendente
cometimento
061423d21c
2 ficheiros alterados com 5 adições e 1 eliminações
  1. +4
    -0
      web/src/index.css
  2. +1
    -1
      web/src/pages/Home/components/HomePageFooter.jsx

+ 4
- 0
web/src/index.css Ver ficheiro

@@ -1299,6 +1299,10 @@ html:not(.dark) .hero-blur-ball-2 {
padding: 48px 24px;
background-color: var(--semi-color-bg-0);
border-top: 1px solid var(--semi-color-border);
/* Footer 不需要强制全屏高度 */
min-height: auto !important;
/* 内容高度自适应,允许超出 */
height: auto !important;
}

@media (min-width: 768px) {


+ 1
- 1
web/src/pages/Home/components/HomePageFooter.jsx Ver ficheiro

@@ -35,7 +35,7 @@ const HomePageFooter = () => {
];

return (
<footer className="home-footer">
<footer className="home-snap-section home-footer">
<div className="mx-auto w-full max-w-[1110px]">
{/* 链接区域 */}
<div className="mb-6 flex flex-col items-center justify-center gap-3 md:flex-row md:gap-4">


Carregando…
Cancelar
Guardar