liudong
2024-08-07 3d9996841bfb96e143062b46bfedeb906f50df58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
  <div class="container">
    <Breadcrumb :items="['menu.result', 'menu.result.error']" />
    <div class="wrapper">
      <a-result
        class="result"
        status="error"
        :title="$t('error.result.title')"
        :subtitle="$t('error.result.subTitle')"
      >
        <template #extra>
          <a-space class="operation-wrap" :size="16">
            <a-button key="again" type="secondary">
              {{ $t('error.result.goBack') }}
            </a-button>
            <a-button key="back" type="primary">
              {{ $t('error.result.retry') }}
            </a-button>
          </a-space>
        </template>
      </a-result>
 
      <div class="details-wrapper">
        <a-typography-title :heading="6" style="margin-top: 0">
          {{ $t('error.detailTitle') }}
        </a-typography-title>
        <a-typography-paragraph style="margin-bottom: 0">
          <ol>
            <li>
              {{ $t('error.detailLine.record') }}
              <a-link>
                <IconLink />
                {{ $t('error.detailLine.record.link') }}
              </a-link>
            </li>
            <li>{{ $t('error.detailLine.auth') }}</li>
          </ol>
        </a-typography-paragraph>
      </div>
    </div>
  </div>
</template>
 
<script lang="ts" setup></script>
 
<script lang="ts">
  export default {
    name: 'Error',
  };
</script>
 
<style scoped lang="less">
  .container {
    padding: 0 20px 20px 20px;
  }
  .wrapper {
    padding: 24px 150px;
    background-color: var(--color-bg-2);
    border-radius: 4px;
  }
 
  .result {
    margin: 150px 0 36px 0;
  }
 
  .operation-wrap {
    margin-bottom: 40px;
    text-align: center;
  }
 
  .details-wrapper {
    width: 100%;
    margin-bottom: 150px;
    padding: 20px;
    background-color: rgb(var(--gray-1));
  }
</style>