hostcenter 修改

This commit is contained in:
tianfeng 2025-08-18 19:25:27 +08:00
parent a2b8aa1c23
commit b45bb649f1

View File

@ -12,10 +12,6 @@
<div class="status-indicator"></div>
<span>正在连接APP...</span>
</div>
<div v-else-if="isInApp() && appConnected" class="app-status connected">
<div class="status-indicator"></div>
<span>已连接</span>
</div>
<div class="user-info">
<div class="avatar">
@ -38,7 +34,6 @@
<!-- 账户状态标签 -->
<div class="account-tags">
<span class="tag host-tag">👑 Host</span>
<span class="tag salary-tag">💰 Salary</span>
</div>
</div>
@ -270,7 +265,7 @@ const progressInfo = reactive({
})
const showDatePicker = () => {
router.push('/history-salary')
router.push('/platform-policy')
}
const goToNotification = () => {
@ -339,10 +334,10 @@ const checkUserIdentity = async (userId) => {
if (freightAgent) {
console.log('跳转到 coin-seller')
router.replace('/coin-seller')
} else if (anchor) {
} else if (agent) {
console.log('跳转到 agency-center')
router.replace('/agency-center')
} else if (agent) {
} else if (anchor) {
// Host
console.log('保持在 host-center')
currentIdentity.value = 'host'