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