From 6b988bd582bfcd17fee48c476a5a6e5cc172b0d5 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 12 三月 2025 10:08:33 +0800 Subject: [PATCH] dev-2 --- src/views/error/401.vue | 41 ++++++++++++++++++++--------------------- 1 files changed, 20 insertions(+), 21 deletions(-) diff --git a/src/views/error/401.vue b/src/views/error/401.vue index e163a31..968550c 100644 --- a/src/views/error/401.vue +++ b/src/views/error/401.vue @@ -1,35 +1,34 @@ <template> - <div class="errPage-container"> - <el-button icon="arrow-left" class="pan-back-btn" @click="back"> 杩斿洖 </el-button> - <el-row> - <el-col :span="12"> - <h1 class="text-jumbo text-ginormous">401閿欒!</h1> - <h2>鎮ㄦ病鏈夎闂潈闄愶紒</h2> - <h6>瀵逛笉璧凤紝鎮ㄦ病鏈夎闂潈闄愶紝璇蜂笉瑕佽繘琛岄潪娉曟搷浣滐紒鎮ㄥ彲浠ヨ繑鍥炰富椤甸潰</h6> - <ul class="list-unstyled"> - <li class="link-type"> - <router-link to="/"> 鍥為椤� </router-link> - </li> - </ul> - </el-col> - <el-col :span="12"> - <img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream." /> - </el-col> - </el-row> - </div> + <div class="errPage-container"> + <el-button icon="arrow-left" class="pan-back-btn" @click="back"> 杩斿洖 </el-button> + <el-row> + <el-col :span="12"> + <h1 class="text-jumbo text-ginormous">401閿欒!</h1> + <h2>鎮ㄦ病鏈夎闂潈闄愶紒</h2> + <h6>瀵逛笉璧凤紝鎮ㄦ病鏈夎闂潈闄愶紝璇蜂笉瑕佽繘琛岄潪娉曟搷浣滐紒鎮ㄥ彲浠ヨ繑鍥炰富椤甸潰</h6> + <ul class="list-unstyled"> + <li class="link-type"> + <router-link to="/"> 鍥為椤� </router-link> + </li> + </ul> + </el-col> + <el-col :span="12"> + <img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream." /> + </el-col> + </el-row> + </div> </template> <script setup lang="ts"> import errImage from '@/assets/401_images/401.gif'; -import { ComponentInternalInstance } from "vue"; let { proxy } = getCurrentInstance() as ComponentInternalInstance; -const errGif = ref(errImage + "?" + +new Date()); +const errGif = ref(errImage + '?' + +new Date()); function back() { if (proxy?.$route.query.noGoBack) { - proxy.$router.push({ path: "/" }); + proxy.$router.push({ path: '/' }); } else { proxy?.$router.go(-1); } -- Gitblit v1.9.3