Files
Lucky_Wheel/apps/admin/src/views/errors/ForbiddenView.vue
T

44 lines
1003 B
Vue
Raw Normal View History

<script setup lang="ts">
import { useRouter } from 'vue-router';
const router = useRouter();
function goHome() {
router.push('/dashboard');
}
</script>
<template>
<div class="forbidden-page">
<a-card :bordered="false" class="forbidden-card">
<a-result
status="403"
title="۴۰۳ — دسترسی غیرمجاز"
sub-title="شما مجوز لازم برای مشاهده این بخش یا انجام این عملیات را در سامانه ندارید."
>
<template #extra>
<a-button type="primary" @click="goHome">
بازگشت به داشبورد
</a-button>
</template>
</a-result>
</a-card>
</div>
</template>
<style scoped>
.forbidden-page {
padding: 40px 24px;
display: flex;
justify-content: center;
align-items: center;
min-height: 70vh;
}
.forbidden-card {
max-width: 600px;
width: 100%;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
</style>