Blame view

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