Files
DecomEval/web/src/features/auth/DeniedView.vue
T

25 lines
955 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { NButton } from "naive-ui";
import { platformHome } from "../../shared/base";
import { goPlatformLogin } from "../../shared/platform";
import ThemeButton from "../../shell/ThemeButton.vue";
</script>
<template>
<div class="gate">
<ThemeButton placement="left" />
<section class="gate-card" aria-labelledby="denied-title">
<div class="gate-brand">
<div class="brand-mark" aria-hidden="true">D</div>
<h1>DecomEval</h1>
</div>
<h2 id="denied-title" class="gate-title">无权使用</h2>
<p class="gate-text">当前平台账号没有使用 DecomEval 的权限。请联系平台管理员开通,或换一个有权限的账号登录。</p>
<div class="gate-actions">
<n-button @click="goPlatformLogin()">重新登录</n-button>
<n-button type="primary" tag="a" :href="platformHome">返回平台</n-button>
</div>
</section>
</div>
</template>