Blame view

juvenile-prosecution-vue/src/components/layouts/UserLayout.vue 1.46 KB
6c637641   wxy   no message
1
2
3
4
  <template>
    <div id="userLayout" :class="['user-layout-wrapper', device]">
      <div class="container">
        <div class="header">
7848a244   lifengge   修改登录页样式
5
          <a href="/"><span class="title">阳新检察大数据平台</span></a>
6c637641   wxy   no message
6
7
8
9
        </div>
        <route-view></route-view>
        <div class="footer">
          <div class="copyright">
7848a244   lifengge   修改登录页样式
10
            Copyright &copy; 2022 弘新智能科技(武汉)有限公司
6c637641   wxy   no message
11
12
13
14
15
16
17
          </div>
        </div>
      </div>
    </div>
  </template>
  
  <script>
7848a244   lifengge   修改登录页样式
18
19
  import RouteView from '@/components/layouts/RouteView'
  import { mixinDevice } from '@/utils/mixin.js'
6c637641   wxy   no message
20
  
7848a244   lifengge   修改登录页样式
21
22
23
24
25
26
27
28
29
30
31
32
  export default {
    name: 'UserLayout',
    components: { RouteView },
    mixins: [mixinDevice],
    data() {
      return {}
    },
    mounted() {
      document.body.classList.add('userLayout')
    },
    beforeDestroy() {
      document.body.classList.remove('userLayout')
6c637641   wxy   no message
33
    }
7848a244   lifengge   修改登录页样式
34
  }
6c637641   wxy   no message
35
36
37
  </script>
  
  <style lang="less" scoped>
7848a244   lifengge   修改登录页样式
38
39
40
41
42
43
44
45
  .user-layout-wrapper {
    width: 100%;
    height: 100%;
    background: url("../../assets/loginbg.jpg") center center no-repeat;
    background-size: auto;
    display: flex;
    align-items: center;
  }
6c637641   wxy   no message
46
  
7848a244   lifengge   修改登录页样式
47
48
49
50
51
52
53
  .container {
    margin-left: 60%;
    padding: 0 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px #e8e8e8;
  }
6c637641   wxy   no message
54
  
7848a244   lifengge   修改登录页样式
55
56
57
  .header {
    text-align: center;
  }
6c637641   wxy   no message
58
  
7848a244   lifengge   修改登录页样式
59
60
61
62
63
64
  .title {
    color: #1890FF;
    font-size: 30px;
    font-weight: bold;
    line-height: 100px;
  }
6c637641   wxy   no message
65
  
7848a244   lifengge   修改登录页样式
66
67
68
69
  .main {
    width: 340px;
    margin: 0 auto;
  }
6c637641   wxy   no message
70
  
7848a244   lifengge   修改登录页样式
71
72
73
74
75
  .footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }
6c637641   wxy   no message
76
  
7848a244   lifengge   修改登录页样式
77
78
79
80
  .copyright {
    color: #b4b4b4;
    font-size: 14px;
  }
6c637641   wxy   no message
81
82
  
  </style>