Merge branch 'feature/task1.0.0' of http://internel-git.mashibing.cn/yanxuan-frontend/shop-pc into feature/task1.0.0

merge-requests/90/head
张征 3 years ago
commit 971784c627

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

@ -9,7 +9,9 @@
<div class="layout"> <div class="layout">
<BsLogin :visible.sync="loginVisible" /> <BsLogin :visible.sync="loginVisible" />
<Header :is-sticky="isSticky" /> <Header :is-sticky="isSticky" />
<div class="layout-content">
<Nuxt /> <Nuxt />
</div>
<Footer /> <Footer />
</div> </div>
</template> </template>
@ -50,3 +52,10 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped>
.layout {
.layout-content {
min-height: calc(100vh - 400px);
}
}
</style>

@ -0,0 +1,51 @@
<template>
<div class="error-page flex flex-middle flex-center">
<img class="error-page-cover" src="~/assets/img/layout/error.png" />
<div class="error-page-content">
<div>此页面不存在或找不到</div>
<div class="error-page-content__tip">
<p>检查您的网址是否拼写正确</p>
<p>检查您是否使用了错误的网址转接</p>
</div>
<UiButton :radius="true" type="yellow_gradual" @click="onJumpHomePage"
>回到首页</UiButton
>
</div>
</div>
</template>
<script>
import UiButton from "@/components/UiButton";
export default {
name: "ErrorPage",
components: { UiButton },
methods: {
onJumpHomePage() {
this.$router.replace("/");
},
},
};
</script>
<style lang="scss" scoped>
.error-page {
height: calc(100vh - 400px);
.error-page-cover {
width: 286px;
height: 254px;
margin-right: 109px;
}
.error-page-content {
font-size: 20px;
color: #666666;
}
.error-page-content__tip {
font-size: 14px;
line-height: 20px;
color: #999999;
margin: 30px 0;
}
/deep/.ui-button {
width: 121px;
height: 30px;
}
}
</style>
Loading…
Cancel
Save