临时屏蔽讲解详情页查看位置入口
This commit is contained in:
@@ -7,7 +7,12 @@
|
||||
@back="handleBack"
|
||||
>
|
||||
<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
|
||||
v-if="heroImage"
|
||||
class="hero-image"
|
||||
@@ -67,7 +72,7 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<view class="action-bar">
|
||||
<view v-if="isLocationActionVisible" class="action-bar">
|
||||
<view
|
||||
class="location-btn"
|
||||
:class="{ disabled: !hallLocationId }"
|
||||
@@ -151,6 +156,8 @@ const textLoading = ref(false)
|
||||
const textExpanded = ref(false)
|
||||
const textError = ref('')
|
||||
const retryingAudio = ref(false)
|
||||
// 讲解详情页位置入口暂未开放,避免误导用户进入位置预览流程。
|
||||
const isLocationActionVisible = false
|
||||
|
||||
const heroImage = computed(() => exhibit.value.coverImages[0])
|
||||
const detailMeta = computed(() => [
|
||||
@@ -420,6 +427,10 @@ const handleBack = () => {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.content.without-location-action {
|
||||
padding-bottom: calc(28px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.hero-image,
|
||||
.hero-placeholder {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user