This commit is contained in:
2026-01-07 19:51:27 +08:00
parent 5947beb244
commit 94d00ac822

View File

@@ -267,8 +267,8 @@
<BindPhoneDialog @bind-success="handleBindSuccess" />
<LoginDialog @login-success="handleLoginSuccess" />
<!-- 历史查询按钮 - 仅推广查询显示 -->
<div v-if="props.type === 'promotion'" @click="toHistory"
<!-- 历史查询按钮 - 仅推广查询且已登录时显示 -->
<div v-if="props.type === 'promotion' && isLoggedIn" @click="toHistory"
class="fixed right-2 top-3/4 px-4 py-2 text-sm bg-primary rounded-xl cursor-pointer text-white font-bold shadow active:bg-blue-500">
历史查询
</div>