Blame view

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