mirror of
https://github.com/schroinerxy/cloud-mail.git
synced 2026-06-21 19:35:50 +08:00
优化移动端404图片大小
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
<script setup>
|
||||
import router from "@/router/index.js";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="box-404">
|
||||
<el-empty class="empty" description="404错误, 找不到页面" >
|
||||
<el-button type="primary" @click="router.replace({name: 'layout'})">返回首页</el-button>
|
||||
<el-empty :image-size="isPhone ? 120 : 0" class="empty" description="404错误, 找不到页面" >
|
||||
<el-button type="primary" @click="router.replace({name: 'layout'})">返回首页</el-button>
|
||||
</el-empty>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="js" setup>
|
||||
import router from "@/router/index.js";
|
||||
|
||||
let isPhone = window.innerWidth < 1025
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.box-404 {
|
||||
display: flex;
|
||||
|
||||
@@ -260,7 +260,7 @@
|
||||
<Icon icon="logos:telegram" width="30" height="30"/>
|
||||
</template>
|
||||
</el-button>
|
||||
<el-button @click="jump('https://github.com/LaziestRen/cloud-mail')">
|
||||
<el-button @click="jump('https://github.com/eoao/cloud-mail')">
|
||||
github
|
||||
<template #icon>
|
||||
<Icon icon="codicon:github-inverted" width="22" height="22" />
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -6,8 +6,8 @@
|
||||
<title></title>
|
||||
<link rel="icon" href="/assets/favicon-C5dAZutX.svg" type="image/svg+xml">
|
||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||
<script type="module" crossorigin src="/assets/index-Cv-M2b0c.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DIaq3OYL.css">
|
||||
<script type="module" crossorigin src="/assets/index-l4FdKzLy.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-QP0e2lOY.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="loading-first">
|
||||
|
||||
Reference in New Issue
Block a user