罗广辉
2026-06-18 44dd9c4eb8a2489c63a5eb53fd4254bbb3510e95
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
<!--
 * @Author       : yuan
 * @Date         : 2025-09-28 09:31:16
 * @LastEditors  : yuan
 * @LastEditTime : 2025-12-16 11:02:27
 * @FilePath     : \src\subPackages\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="errorImage"
      width="380"
      height="380"
    />
  </div>
</template>
 
<script setup>
import { getAssetsImage } from "@/utils/index.js";
import { HOME_PATH } from "@/router";
 
const errorImage = getAssetsImage("/images/404.png");
 
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>