feat(新页面): bd中心新增邀请代理页
This commit is contained in:
parent
267a310063
commit
65f1c7cb49
@ -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 },
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
@ -70,6 +70,7 @@ export const ROLE_PERMISSIONS = {
|
||||
PAGES.EXCHANGE, // 兑换功能
|
||||
PAGES.MESSAGE, // 消息功能
|
||||
PAGES.RECHARGE_STANDARD, //普通转账功能
|
||||
'/invite-agency', //邀请代理
|
||||
'/team-member',
|
||||
'/history-salary',
|
||||
'/platform-salary',
|
||||
|
||||
7
src/views/BDCenter/inviteAgency.vue
Normal file
7
src/views/BDCenter/inviteAgency.vue
Normal file
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script setup></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@ -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')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user