Blame view

src/views/mainContainer.vue 1.9 KB
52c50939   liuqimichale   init
1
2
3
4
  <template>
    <div class="maincontainer">
      <ul class="containerwrap clearfix">
        <li>
841f35d2   liuqimichale   filter
5
          <pdasection class="sectionsmall"></pdasection>
667dd190   liuqimichale   地磁
6
          <dicisection class="sectionsmall margin12-0"></dicisection>
e00e4982   liuqimichale   道闸 诱导屏
7
          <youdaopingsection class="sectionsmall"></youdaopingsection>
52c50939   liuqimichale   init
8
9
10
11
12
13
        </li>
        <li class="margin0-12">
          <div class="heightper-top"></div>
          <div class="heightper-bottom"></div>
        </li>
        <li>
fafdedae   liuqimichale   道闸 诱导屏
14
          <sfysection class="sectionsmall"></sfysection>
841f35d2   liuqimichale   filter
15
16
          <div class="sectionsmall margin12-0"></div>
          <div class="sectionsmall"></div>
52c50939   liuqimichale   init
17
18
        </li>
      </ul>
7e22e0a3   liuqimichale   loading
19
      <loadinggif :showLoading="showLoaddingGif"></loadinggif>
52c50939   liuqimichale   init
20
21
22
23
    </div>
  </template>
  
  <script>
7e22e0a3   liuqimichale   loading
24
  import loadinggif from '../components/loading'
eb6d1150   liuqimichale   title 总计 简单封装
25
  import pdasection from '../views/pdasection'
667dd190   liuqimichale   地磁
26
  import dicisection from '../views/dicisection'
e00e4982   liuqimichale   道闸 诱导屏
27
  import youdaopingsection from '../views/youdaopingsection'
fafdedae   liuqimichale   道闸 诱导屏
28
29
  import sfysection from '../views/sfysection'
  
52c50939   liuqimichale   init
30
  export default {
7e22e0a3   liuqimichale   loading
31
    name: 'mainContainer',
eb6d1150   liuqimichale   title 总计 简单封装
32
33
    components: {
      loadinggif,
667dd190   liuqimichale   地磁
34
      pdasection,
e00e4982   liuqimichale   道闸 诱导屏
35
      dicisection,
fafdedae   liuqimichale   道闸 诱导屏
36
37
      youdaopingsection,
      sfysection
eb6d1150   liuqimichale   title 总计 简单封装
38
    },
7e22e0a3   liuqimichale   loading
39
40
41
42
43
    data() {
      return {
        showLoaddingGif: false
      }
    }
52c50939   liuqimichale   init
44
45
46
47
48
49
  }
  </script>
  
  <style scoped>
    .maincontainer {
      padding: 12px 12px;
667dd190   liuqimichale   地磁
50
      height:calc(100% - 77px);
52c50939   liuqimichale   init
51
    }
7e22e0a3   liuqimichale   loading
52
53
  
    .containerwrap {
52c50939   liuqimichale   init
54
55
56
57
58
59
60
61
62
63
64
65
66
      display: flex;
      height: 100%;
    }
  
    .containerwrap > li {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
  
    .containerwrap > li:nth-of-type(1) {
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
67
  
841f35d2   liuqimichale   filter
68
    .sectionsmall {
52c50939   liuqimichale   init
69
      flex: 1;
eb6d1150   liuqimichale   title 总计 简单封装
70
71
      display: flex;
      flex-direction: column;
841f35d2   liuqimichale   filter
72
73
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
74
75
76
77
78
    }
  
    .containerwrap > li:nth-of-type(2) {
      flex: 2;
    }
7e22e0a3   liuqimichale   loading
79
80
  
    .heightper-top {
52c50939   liuqimichale   init
81
82
83
      background: #f00;
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
84
85
86
  
    .heightper-bottom {
      height: calc((100% - 24px) / 3);
52c50939   liuqimichale   init
87
88
89
90
91
92
93
94
95
      background: #f00;
      margin-top: 12px;
    }
  
    .containerwrap > li:nth-of-type(3) {
      flex: 1;
    }
  
  </style>