Blame view

src/views/mainContainer.vue 2.72 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
  }
  </script>
  
  <style scoped>
    .maincontainer {
2ca6d27d   liuqimichale   正式地址
62
      padding: 0 12px 12px;
667dd190   liuqimichale   地磁
63
      height:calc(100% - 77px);
b5eb431c   liuqimichale   地图覆盖物
64
      height:-webkit-calc(100% - 77px);
52c50939   liuqimichale   init
65
    }
7e22e0a3   liuqimichale   loading
66
67
  
    .containerwrap {
52c50939   liuqimichale   init
68
69
70
71
72
73
74
75
76
77
78
79
80
      display: flex;
      height: 100%;
    }
  
    .containerwrap > li {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
  
    .containerwrap > li:nth-of-type(1) {
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
81
  
841f35d2   liuqimichale   filter
82
    .sectionsmall {
52c50939   liuqimichale   init
83
      flex: 1;
eb6d1150   liuqimichale   title 总计 简单封装
84
85
      display: flex;
      flex-direction: column;
841f35d2   liuqimichale   filter
86
87
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
159ba68d   liuqimichale   火狐兼容性
88
      overflow: hidden;
52c50939   liuqimichale   init
89
90
91
92
93
    }
  
    .containerwrap > li:nth-of-type(2) {
      flex: 2;
    }
7e22e0a3   liuqimichale   loading
94
95
  
    .heightper-top {
c4542a56   liuqimichale   车流量section
96
      border: 1px solid #2391FA;
52c50939   liuqimichale   init
97
      flex: 1;
0e3a2706   liuqimichale   地图 title
98
99
100
      display: flex;
      flex-direction: column;
      position: relative;
52c50939   liuqimichale   init
101
    }
7e22e0a3   liuqimichale   loading
102
103
104
  
    .heightper-bottom {
      height: calc((100% - 24px) / 3);
52c50939   liuqimichale   init
105
      margin-top: 12px;
9ce9cfea   liuqimichale   进出场
106
107
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
108
109
110
111
112
113
114
    }
  
    .containerwrap > li:nth-of-type(3) {
      flex: 1;
    }
  
  </style>