Blame view

src/views/mainContainer.vue 2.66 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
        </li>
        <li class="margin0-12">
0e3a2706   liuqimichale   地图 title
10
          <mapsection class="heightper-top"></mapsection>
9ce9cfea   liuqimichale   进出场
11
          <div class="heightper-bottom">
8a59623c   liuqimichale   进出场
12
13
            <outsection style="width: 50%;float: left;height: 100%;display: flex;flex-direction: column"></outsection>
            <vehiclesection style="width: 50%;float: left;height: 100%;display: flex;flex-direction: column"></vehiclesection>
9ce9cfea   liuqimichale   进出场
14
          </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
  import outsection from '../views/outsection'
feb955a5   liuqimichale   车流量section
35
  import vehiclesection from '../views/vehiclesection'
0e3a2706   liuqimichale   地图 title
36
  import mapsection from '../views/mapsection'
fafdedae   liuqimichale   道闸 诱导屏
37
  
52c50939   liuqimichale   init
38
  export default {
7e22e0a3   liuqimichale   loading
39
    name: 'mainContainer',
eb6d1150   liuqimichale   title 总计 简单封装
40
41
    components: {
      loadinggif,
667dd190   liuqimichale   地磁
42
      pdasection,
e00e4982   liuqimichale   道闸 诱导屏
43
      dicisection,
fafdedae   liuqimichale   道闸 诱导屏
44
      youdaopingsection,
a390d377   liuqimichale   泊位
45
      sfysection,
2241e670   liuqimichale   消息
46
      berthsection,
9ce9cfea   liuqimichale   进出场
47
      newssection,
feb955a5   liuqimichale   车流量section
48
      outsection,
0e3a2706   liuqimichale   地图 title
49
50
      vehiclesection,
      mapsection
eb6d1150   liuqimichale   title 总计 简单封装
51
    },
7e22e0a3   liuqimichale   loading
52
53
54
55
56
    data() {
      return {
        showLoaddingGif: false
      }
    }
52c50939   liuqimichale   init
57
58
59
60
61
62
  }
  </script>
  
  <style scoped>
    .maincontainer {
      padding: 12px 12px;
667dd190   liuqimichale   地磁
63
      height:calc(100% - 77px);
52c50939   liuqimichale   init
64
    }
7e22e0a3   liuqimichale   loading
65
66
  
    .containerwrap {
52c50939   liuqimichale   init
67
68
69
70
71
72
73
74
75
76
77
78
79
      display: flex;
      height: 100%;
    }
  
    .containerwrap > li {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
  
    .containerwrap > li:nth-of-type(1) {
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
80
  
841f35d2   liuqimichale   filter
81
    .sectionsmall {
52c50939   liuqimichale   init
82
      flex: 1;
eb6d1150   liuqimichale   title 总计 简单封装
83
84
      display: flex;
      flex-direction: column;
841f35d2   liuqimichale   filter
85
86
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
87
88
89
90
91
    }
  
    .containerwrap > li:nth-of-type(2) {
      flex: 2;
    }
7e22e0a3   liuqimichale   loading
92
93
  
    .heightper-top {
c4542a56   liuqimichale   车流量section
94
      border: 1px solid #2391FA;
52c50939   liuqimichale   init
95
      flex: 1;
0e3a2706   liuqimichale   地图 title
96
97
98
      display: flex;
      flex-direction: column;
      position: relative;
52c50939   liuqimichale   init
99
    }
7e22e0a3   liuqimichale   loading
100
101
102
  
    .heightper-bottom {
      height: calc((100% - 24px) / 3);
52c50939   liuqimichale   init
103
      margin-top: 12px;
9ce9cfea   liuqimichale   进出场
104
105
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
106
107
108
109
110
111
112
    }
  
    .containerwrap > li:nth-of-type(3) {
      flex: 1;
    }
  
  </style>