Blame view

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