优化讲解列表展示样式
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-09 19:27:18 +08:00
parent 8f6ff3c3f5
commit 305f83dfa4

View File

@@ -10,7 +10,11 @@
<scroll-view <scroll-view
class="explain-scroll" class="explain-scroll"
:class="{ 'hall-stage': stage === 'hall' }" :class="{
'hall-stage': stage === 'hall',
'unit-stage': stage === 'unit',
'stop-stage': stage === 'stop'
}"
scroll-y scroll-y
:show-scrollbar="false" :show-scrollbar="false"
> >
@@ -344,10 +348,15 @@ const handleBack = () => {
} }
.explain-scroll.hall-stage { .explain-scroll.hall-stage {
padding: 58px 12px calc(74px + env(safe-area-inset-bottom)); padding: 58px 12px 0;
overflow: hidden; overflow: hidden;
} }
.explain-scroll.unit-stage,
.explain-scroll.stop-stage {
padding-bottom: 0;
}
.state-title, .state-title,
.state-desc, .state-desc,
.hall-name, .hall-name,
@@ -440,6 +449,11 @@ const handleBack = () => {
gap: 5px; gap: 5px;
} }
.explain-scroll.unit-stage .hall-list,
.explain-scroll.stop-stage .hall-list {
gap: 0;
}
.hall-card { .hall-card {
min-height: 96px; min-height: 96px;
padding: 10px 11px 10px 12px; padding: 10px 11px 10px 12px;
@@ -480,8 +494,8 @@ const handleBack = () => {
} }
.hall-overview-card .hall-thumb { .hall-overview-card .hall-thumb {
width: 48px; width: 82px;
height: 48px; height: 56px;
} }
.hall-thumb-shell.is-image-loaded { .hall-thumb-shell.is-image-loaded {