feat(新页面): bd中心新增邀请代理页

This commit is contained in:
hzj 2025-10-14 11:58:04 +08:00
parent 267a310063
commit 65f1c7cb49
4 changed files with 28 additions and 0 deletions

View File

@ -221,6 +221,12 @@ const router = createRouter({
component: () => import('../views/Ranking/Ranking.vue'),
meta: { requiresAuth: true },
},
{
path: '/invite-agency',
name: 'invite-agency',
component: () => import('../views/BDCenter/inviteAgency.vue'),
meta: { requiresAuth: true },
},
],
})

View File

@ -70,6 +70,7 @@ export const ROLE_PERMISSIONS = {
PAGES.EXCHANGE, // 兑换功能
PAGES.MESSAGE, // 消息功能
PAGES.RECHARGE_STANDARD, //普通转账功能
'/invite-agency', //邀请代理
'/team-member',
'/history-salary',
'/platform-salary',

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -69,6 +69,16 @@
</div>
</div>
<!-- 邀请代理 -->
<div class="team-member-section">
<div class="team-member-card" @click="goToInviteAgency">
<div class="card-content">
<span class="member-title"> Invite user to become agency </span>
<span class="arrow">></span>
</div>
</div>
</div>
<!-- 操作按钮 -->
<div class="action-buttons">
<button class="action-btn exchange-btn" @click="exchangeGoldCoins">Exchange</button>
@ -114,6 +124,10 @@ const goToTeamMember = () => {
})
}
const goToInviteAgency = () => {
router.push('/invite-agency')
}
const exchangeGoldCoins = () => {
router.push('/exchange-gold-coins')
}