初始化 ui.

This commit is contained in:
lijiahang
2023-07-24 10:05:07 +08:00
parent 99725eb97a
commit f01f696d37
235 changed files with 39010 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<template>
<div class="container">
<Breadcrumb :items="['menu.exception', 'menu.exception.500']" />
<div class="content">
<a-result
class="result"
status="500"
:subtitle="$t('exception.result.500.description')"
/>
<a-button key="back" type="primary">
{{ $t('exception.result.500.back') }}
</a-button>
</div>
</div>
</template>
<script lang="ts" setup></script>
<script lang="ts">
export default {
name: '500',
};
</script>
<style scoped lang="less">
.container {
padding: 0 20px 20px 20px;
height: calc(100% - 40px);
:deep(.content) {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
background-color: var(--color-bg-1);
border-radius: 4px;
}
}
</style>

View File

@@ -0,0 +1,5 @@
export default {
'menu.exception.500': '500',
'exception.result.500.description': 'Internal server error',
'exception.result.500.back': 'Back',
};

View File

@@ -0,0 +1,5 @@
export default {
'menu.exception.500': '500',
'exception.result.500.description': '抱歉,服务器出了点问题~',
'exception.result.500.back': '返回',
};