fix(viewer): 去除头部下方残留的旧广告位实例(位置迁移漏删)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-29 10:14:55 +08:00
parent 7e5c550fb3
commit 7f8cda1cd3
-3
View File
@@ -370,9 +370,6 @@ onBeforeUnmount(() => {
</template>
</AlbumHeader>
<!-- 广告位轮播(Task 10):相册头部之下;拉取失败/会话级关闭时整块缺席。 -->
<AdCarousel v-if="ads.length > 0" :ads="ads" @close="dismissAds" />
<!-- 深链目标不可见(404 防枚举同码):页内本地化提示 + 返回相册。 -->
<div v-if="deepLinkNotFound || deepLinkErrorKey !== null" class="deep-link-notice" role="alert">
<p>{{ deepLinkNotFound ? t('viewer.photoUnavailable') : t(deepLinkErrorKey ?? 'errors.unknown') }}</p>