-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
63 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,35 @@ | ||
<template> | ||
<SZBlockContainer class=""> | ||
<p>尚未進行驗證</p> | ||
|
||
<n-button>前往認證</n-button> | ||
</SZBlockContainer> | ||
<ActionBlock title="避難者驗證" actionName="前往驗證" @action="goVerify"> | ||
<template #icon><FingerprintRecognition /></template> | ||
<div> | ||
<p> | ||
進行身分驗證將會創建 SZ 避難者身分資料,正式取得進入 SZ | ||
的通行證,才可看到所有伺服器中的頻道,且可使用 SZ 的相關服務與應用 | ||
</p> | ||
</div> | ||
</ActionBlock> | ||
</template> | ||
|
||
<script setup> | ||
import { SZBlockContainer } from '@shelter-zone/shelter-ui' | ||
import { NButton } from 'naive-ui' | ||
import { ref } from 'vue' | ||
import { NButton, NAlert } from 'naive-ui' | ||
import { AirlineRapidBoard, FingerprintRecognition } from '@vicons/carbon' | ||
import { SZInviteLink } from '@/configs/links' | ||
import { useOauthStore } from '@/stores/oauth' | ||
import AreaBlock from '@/components/AreaBlock.vue' | ||
import ActionBlock from '@/components/ActionBlock.vue' | ||
import { useRouter } from 'vue-router' | ||
const { findMeGuilds, szJoined } = useOauthStore() | ||
const router = useRouter() | ||
const goVerify = () => { | ||
router.push({ name: 'home' }) | ||
} | ||
</script> | ||
|
||
<style scoped lang="postcss"></style> | ||
<style lang="postcss" scoped> | ||
.join-server-warning { | ||
@apply border-2 border-primary-bg p-[10px] rounded-sub; | ||
} | ||
</style> |