shuishen
2025-10-11 3fc27febccd04e2fcffbd2cdd16d2daafd0b3ca3
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
<!--
 * @Author       : yuan
 * @Date         : 2025-09-28 09:31:16
 * @LastEditors  : yuan
 * @LastEditTime : 2025-09-28 09:50:32
 * @FilePath     : \src\pages\common\404\index.vue
 * @Description  : 
 * Copyright 2025 OBKoro1, All Rights Reserved. 
 * 2025-09-28 09:31:16
-->
<template>
  <div class="not-found">
    <u-navbar left-icon-size="40rpx" @left-click="handleBack" />
    <u-empty
      mode="page"
      text-size="20"
      text="页面不存在"
      icon="/static/images/404.png"
      width="380"
      height="380"
    />
  </div>
</template>
 
<script setup>
import { HOME_PATH } from "@/router";
 
function handleBack() {
  uni.$u.route({
    type: "switchTab",
    url: HOME_PATH,
  });
}
</script>
 
<style lang="scss" scoped>
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: auto;
}
</style>