123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <template>
- <div class="layout-404">
- <div class="_404">
- <img :src="`${$cdn}images/404.png`" alt="">
- <p>{{lang404.txt}}</p>
- <div @click="$router.push({name:'home'})">{{lang404.btn}}</div>
- </div>
- </div>
- </template>
- <script>
- import { mapState } from 'vuex'
- export default {
- computed: {
- ...mapState({
- language: state => state.language.current,
- lang404: state => state.language.home._404
- })
- }
- }
- </script>
- <style lang="scss" scoped>
- .layout-404{
- position: relative;
- min-height: 80vh;
- ._404{
- top: 50%;
- left: 50%;
- position: absolute;
- transform: translate(-50%,-50%);
- text-align: center;
- font-size: 16px;
- color: #2d2d2d;
- width: 90%;
- img{
- width:100%;
- }
- p{
- margin: 30px 0;
- }
- div{
- border: 1px solid #2d2d2d;
- border-radius: 8px;
- width: 120px;
- line-height: 40px;
- height: 40px;
- margin: 0 auto;
- cursor: pointer;
- }
- }
- }
- </style>
|