Newer
Older
safe_production_front / src / views / noPage.vue
dutingting on 30 Oct 882 bytes 网关集成开发
<route lang="yaml">
name: NoPage
meta:
  title: 找不到页面
  constant: true
  layout: false
</route>

<script lang="ts" setup>
</script>

<template>
  <div class="notfound">
    <svg-icon name="404" class="icon" />
    <div class="content">
      <h1>404</h1>
      <div class="desc">
        抱歉,你访问的页面不存在
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
  .notfound {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 700px;

    @include position-center(xy);

    .icon {
      width: 400px;
      height: 400px;
    }

    .content {
      h1 {
        margin: 0;
        font-size: 72px;
        color: var(--el-text-color-primary);
      }

      .desc {
        margin: 20px 0 30px;
        font-size: 20px;
        color: var(--el-text-color-secondary);
      }
    }
  }
</style>