-
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
7 changed files
with
61 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<template> | ||
<div class="p-12 bg-red-100 border-red-400 border"> | ||
<div | ||
class="text-2xl py-3 my-3 items-center flex border-b border-red-600"> | ||
<ExclamationCircleOutlined /> | ||
<div class="px-3">錯誤</div> | ||
</div> | ||
<div class="text-md"> | ||
{{ message }} | ||
</div> | ||
<div class="flex my-3 justify-center"> | ||
<router-link | ||
to="/" | ||
class="bg-red-300 p-3 rounded-lg hover:bg-red-400 duration-200"> | ||
回首頁 | ||
</router-link> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { ExclamationCircleOutlined } from "@ant-design/icons-vue"; | ||
import { ref } from "vue"; | ||
const props = defineProps({ | ||
error: String, | ||
}); | ||
const message = ref(props.error); | ||
</script> |
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<script setup> | ||
import Navbar from "@components/layout/navbar.vue"; | ||
import Foot from "@components/layout/footer.vue"; | ||
import ErrorBox from "@components/common/error_box.vue"; | ||
</script> | ||
|
||
<template> | ||
<div id="main"> | ||
<Navbar /> | ||
<div | ||
style="height: calc(100vh - 8rem)" | ||
class="flex items-center justify-center"> | ||
<ErrorBox | ||
error="本分享連結已過期,請聯絡擁有者重新產生。"></ErrorBox> | ||
</div> | ||
<Foot /> | ||
</div> | ||
</template> | ||
> |