25 lines
955 B
Vue
25 lines
955 B
Vue
<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>
|