diff --git a/src/router/index.js b/src/router/index.js index cee757e..4723ce3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -257,6 +257,12 @@ const router = createRouter({ component: () => import('../views/Wallet/CashOut/CashOut.vue'), meta: { requiresAuth: true }, }, + { + path: '/cash-out-details', + name: 'cash-out-details', + component: () => import('../views/Wallet/CashOut/Details.vue'), + meta: { requiresAuth: true }, + }, ], }) diff --git a/src/utils/permissionManager.js b/src/utils/permissionManager.js index d1e7d8a..a8c7317 100644 --- a/src/utils/permissionManager.js +++ b/src/utils/permissionManager.js @@ -121,6 +121,7 @@ export const ROLE_PERMISSIONS = { '/invitation-to-register', //邀请新用户注册页面 '/lottery', // 抽奖活动页面 '/cash-out', // 提现页面 + '/cash-out-details', //提现详情页面 ], // 加载页面 diff --git a/src/utils/routeGuard.js b/src/utils/routeGuard.js index ff9e275..6c93dd7 100644 --- a/src/utils/routeGuard.js +++ b/src/utils/routeGuard.js @@ -412,6 +412,7 @@ class RouteGuard { '/invitation-to-register', //邀请新用户注册页面 '/lottery', // 抽奖活动页面 '/cash-out', // 提现页面 + '/cash-out-details', //提现详情页面 ] return publicPages.includes(path) } diff --git a/src/views/Wallet/CashOut/CashOut.vue b/src/views/Wallet/CashOut/CashOut.vue index e7efc79..559720f 100644 --- a/src/views/Wallet/CashOut/CashOut.vue +++ b/src/views/Wallet/CashOut/CashOut.vue @@ -7,7 +7,7 @@ backImg="/src/assets/icon/arrowBackBlack.png" /> -
+
import GeneralHeader from '@/components/GeneralHeader.vue' import maskLayer from '@/components/MaskLayer.vue' - import { ref, onMounted, computed } from 'vue' +import { useRouter } from 'vue-router' +const router = useRouter() const maskLayerShow = ref(false) @@ -191,7 +192,11 @@ const hasBankCard = computed(() => { return Object.keys(bankCardInfo.value).length > 0 }) -// 点击按钮 +const lookDetails = () => { + router.push('/cash-out-details') +} + +// 提现按钮 const CashOut = () => { if (hasBankCard.value) { } else { diff --git a/src/views/Wallet/CashOut/Details.vue b/src/views/Wallet/CashOut/Details.vue new file mode 100644 index 0000000..9b72334 --- /dev/null +++ b/src/views/Wallet/CashOut/Details.vue @@ -0,0 +1,113 @@ + + + + +