From 9057e04efad1b7d61c77a72e5c37a504d0aee935 Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期五, 26 九月 2025 09:24:03 +0800 Subject: [PATCH] H5静态化 --- admin/src/views/not-found.vue | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diff --git a/admin/src/views/not-found.vue b/admin/src/views/not-found.vue new file mode 100644 index 0000000..33f8d28 --- /dev/null +++ b/admin/src/views/not-found.vue @@ -0,0 +1,69 @@ +<template> + <div class="error-404"> + <div> + <div class="left"> + <img src="../assets/images/404.png"> + <h1>鎵句笉鍒扮綉椤�</h1> + <p></p> + <div class="opera"> + <el-button @click="$router.back()">杩斿洖</el-button> + <el-button type="primary" @click="$router.push('/index')">鍓嶅線棣栭〉</el-button> + </div> + </div> + <div class="right"> + <h2>浣犲彲浠ュ皾璇曚互涓嬫搷浣�</h2> + <p>1. 濡傛灉鏄墜鍔ㄦ洿鏀圭殑缃戦〉鍦板潃锛岃妫�鏌ョ綉椤靛湴鍧�鏄惁姝g‘</p> + <p>2. 鐐瑰嚮銆愯繑鍥炪�戞寜閽埛鏂伴〉闈㈠悗閲嶈瘯</p> + <p>3. 鑱旂郴绯荤粺绠$悊鍛�</p> + </div> + </div> + </div> +</template> + +<script> +export default { + name: 'NotFound' +} +</script> + +<style scoped lang="scss"> +.error-404 { + height: 100%; + text-align: center; + display: flex; + align-items: center; + justify-content: center; + & > div { + margin-top: -100px; + display: flex; + } + .left { + h1 { + font-size: 26px; + } + .opera { + margin-top: 30px; + } + } + .right { + text-align: left; + margin-top: 16px; + margin-left: 40px; + padding: 30px 50px; + border-radius: 16px; + background: url("../assets/images/404-tip.png") no-repeat; + background-size: 100% 100%; + box-sizing: border-box; + h2 { + font-size: 16px; + margin-bottom: 16px; + } + p { + margin: 0; + padding: 0; + font-size: 14px; + line-height: 26px; + } + } +} +</style> -- Gitblit v1.9.3