Files
sykl-sm/pages/404/404.vue
2022-07-15 10:49:55 +08:00

47 lines
878 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="content vertical">
<image src="@/static/404/404.png" mode="widthFix"></image>
<view class="text">出错了</view>
<view class="text">你访问的页面以离开了地球~</view>
<button type="default" size="mini" @click="$Router.replaceAll({name: 'Index'})">返回首页</button>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss" scoped>
.content{
height: 100vh;
width: 100vw;
text-align: center;
padding-bottom: 20vh;
background: #2e065f;
.text{
color: #dbb6ec;
line-height: 60rpx;
font-size: $title-size-m;
}
button{
height: 80rpx;
line-height: 80rpx;
width: 60vw;
font-size: $title-size-lg;
border-radius: 0;
margin-top: $margin*2;
background: white;
color: #2e065f;
&::after{
border: none;
}
}
}
</style>