Blame view

src/views/mainContainer.vue 2.41 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
          <div class="heightper-bottom">
            <outsection style="width: 50%;float: left"></outsection>
feb955a5   liuqimichale   车流量section
13
            <vehiclesection style="width: 50%;float: left"></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'
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
      newssection,
feb955a5   liuqimichale   车流量section
47
48
      outsection,
      vehiclesection
eb6d1150   liuqimichale   title 总计 简单封装
49
    },
7e22e0a3   liuqimichale   loading
50
51
52
53
54
    data() {
      return {
        showLoaddingGif: false
      }
    }
52c50939   liuqimichale   init
55
56
57
58
59
60
  }
  </script>
  
  <style scoped>
    .maincontainer {
      padding: 12px 12px;
667dd190   liuqimichale   地磁
61
      height:calc(100% - 77px);
52c50939   liuqimichale   init
62
    }
7e22e0a3   liuqimichale   loading
63
64
  
    .containerwrap {
52c50939   liuqimichale   init
65
66
67
68
69
70
71
72
73
74
75
76
77
      display: flex;
      height: 100%;
    }
  
    .containerwrap > li {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
  
    .containerwrap > li:nth-of-type(1) {
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
78
  
841f35d2   liuqimichale   filter
79
    .sectionsmall {
52c50939   liuqimichale   init
80
      flex: 1;
eb6d1150   liuqimichale   title 总计 简单封装
81
82
      display: flex;
      flex-direction: column;
841f35d2   liuqimichale   filter
83
84
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
85
86
87
88
89
    }
  
    .containerwrap > li:nth-of-type(2) {
      flex: 2;
    }
7e22e0a3   liuqimichale   loading
90
91
  
    .heightper-top {
52c50939   liuqimichale   init
92
93
94
      background: #f00;
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
95
96
97
  
    .heightper-bottom {
      height: calc((100% - 24px) / 3);
52c50939   liuqimichale   init
98
      margin-top: 12px;
9ce9cfea   liuqimichale   进出场
99
100
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
101
102
103
104
105
106
107
    }
  
    .containerwrap > li:nth-of-type(3) {
      flex: 1;
    }
  
  </style>