临时屏蔽讲解详情页查看位置入口

This commit is contained in:
lyf
2026-07-03 02:38:23 +08:00
parent db7a14329f
commit c26713ebf3

View File

@@ -7,7 +7,12 @@
@back="handleBack" @back="handleBack"
> >
<view class="explain-detail-page" :class="{ 'with-audio-player': showAudioPlayer }"> <view class="explain-detail-page" :class="{ 'with-audio-player': showAudioPlayer }">
<scroll-view class="content" scroll-y :show-scrollbar="false"> <scroll-view
class="content"
:class="{ 'without-location-action': !isLocationActionVisible }"
scroll-y
:show-scrollbar="false"
>
<image <image
v-if="heroImage" v-if="heroImage"
class="hero-image" class="hero-image"
@@ -67,7 +72,7 @@
</view> </view>
</scroll-view> </scroll-view>
<view class="action-bar"> <view v-if="isLocationActionVisible" class="action-bar">
<view <view
class="location-btn" class="location-btn"
:class="{ disabled: !hallLocationId }" :class="{ disabled: !hallLocationId }"
@@ -151,6 +156,8 @@ const textLoading = ref(false)
const textExpanded = ref(false) const textExpanded = ref(false)
const textError = ref('') const textError = ref('')
const retryingAudio = ref(false) const retryingAudio = ref(false)
// 讲解详情页位置入口暂未开放,避免误导用户进入位置预览流程。
const isLocationActionVisible = false
const heroImage = computed(() => exhibit.value.coverImages[0]) const heroImage = computed(() => exhibit.value.coverImages[0])
const detailMeta = computed(() => [ const detailMeta = computed(() => [
@@ -420,6 +427,10 @@ const handleBack = () => {
box-sizing: border-box; box-sizing: border-box;
} }
.content.without-location-action {
padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.hero-image, .hero-image,
.hero-placeholder { .hero-placeholder {
width: 100%; width: 100%;