Blame view

src/views/page404.vue 1.34 KB
c1b532ad   梁保满   权限配置,路由基础设置
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
  <template>
    <div class="page404">
      <div class="i404">
        <img src="../assets/img404/i404.png"/>
        <p>您的访问页面可能被删除或者不存在</p>
        <a href="/">返回首页</a>
      </div>
      <div class="sign">
        <img src="../assets/img404/sign.png" />
      </div>
    </div>
  </template>
  
  <script>
  export default {
    name: "page404",
    mounted () {
    }
  }
  </script>
  
  <style lang="scss">
    .page404{
      width: 100%;
      height: 100%;
      background: url("../assets/img404/bg404.jpg") no-repeat;
      background-size: cover;
      overflow: hidden;
      & >div{
        width: 50%;
        height: 100%;
       }
      .i404{
        float: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        img{
          width: 500px;
          height: 200px;
          margin-top: -100px;
        }
        p{
          font-size: 20px;
          color: #3d95ff;
          margin-top: 2px;
        }
        a{
          display: block;
          width: 150px;
          height: 50px;
          color: #ffffff;
          background: #56a9ff;
          margin-top: 35px;
          line-height: 50px;
          text-align: center;
          border-radius: 50px;
          font-size: 18px;
        }
      }
      .sign{
        float: right;
        img{
          width: 600px;
          margin-top: 50px;
          margin-left: 50px;
        }
      }
    }
  
  </style>