huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
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
73
74
75
76
77
78
79
80
81
82
83
<template>
  <!--
        作者:luoyiming
        时间:2019-10-24
        描述:后台系统首页
    -->
    <div class="home-container">
      <h1 class="home-title">
            Saas运营管理系统
      </h1>
      <p class="home-des">
        尊敬的 {{username}}  用户,欢迎使用商城管理员系统
      </p>
 
    </div>
</template>
 
<script>
  import { delCookie, getCookie } from '@/utils/base.js';
  import UserApi from '@/api/user.js';
  export default {
    data() {
      return {
        username:'',
          version:'',
      };
    },
    created() {
      /*获取登录用户名*/
      this.username= getCookie('userinfo');
      /*获取数据*/
      this.getTableList();
    },
      methods: {
        /*获取数据*/
          getTableList() {
              let self = this;
              let Params = {};
              UserApi.getVersion(Params, true).then(data => {
                      self.loading = false;
                      self.version=data.data.version;
                  })
                  .catch(error => {
                      self.loading = false;
                  });
          },
      }
  }
</script>
 
<style lang="scss">
  .home-container {
    height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-content:center;
    flex-direction: column;
    // background: url(/static/imgs/home_bg.jpg) center center no-repeat;
  }
.home-container .home-title{
  padding: 20px;
  text-align: center;
 white-space: nowrap;
  text-align: center;
  font-size: 40px; color:#409EFF;}
.home-container .home-des{color: #888888;}
 
  .home-index{
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      min-width: 1000px;
      overflow-x: auto;
  }
</style>