Blame view

src/views/mainContainer.vue 1.64 KB
52c50939   liuqimichale   init
1
2
3
4
  <template>
    <div class="maincontainer">
      <ul class="containerwrap clearfix">
        <li>
841f35d2   liuqimichale   filter
5
6
7
8
          <pdasection class="sectionsmall"></pdasection>
  
          <div class="sectionsmall margin12-0"></div>
          <div class="sectionsmall"></div>
52c50939   liuqimichale   init
9
10
11
12
13
14
        </li>
        <li class="margin0-12">
          <div class="heightper-top"></div>
          <div class="heightper-bottom"></div>
        </li>
        <li>
841f35d2   liuqimichale   filter
15
16
17
          <div class="sectionsmall"></div>
          <div class="sectionsmall margin12-0"></div>
          <div class="sectionsmall"></div>
52c50939   liuqimichale   init
18
19
        </li>
      </ul>
7e22e0a3   liuqimichale   loading
20
      <loadinggif :showLoading="showLoaddingGif"></loadinggif>
52c50939   liuqimichale   init
21
22
23
24
    </div>
  </template>
  
  <script>
7e22e0a3   liuqimichale   loading
25
  import loadinggif from '../components/loading'
eb6d1150   liuqimichale   title 总计 简单封装
26
  import pdasection from '../views/pdasection'
52c50939   liuqimichale   init
27
  export default {
7e22e0a3   liuqimichale   loading
28
    name: 'mainContainer',
eb6d1150   liuqimichale   title 总计 简单封装
29
30
31
32
    components: {
      loadinggif,
      pdasection
    },
7e22e0a3   liuqimichale   loading
33
34
35
36
37
    data() {
      return {
        showLoaddingGif: false
      }
    }
52c50939   liuqimichale   init
38
39
40
41
42
43
  }
  </script>
  
  <style scoped>
    .maincontainer {
      padding: 12px 12px;
9808a4b6   liuqimichale   公用头部
44
      height:calc(100% - 101px);
52c50939   liuqimichale   init
45
    }
7e22e0a3   liuqimichale   loading
46
47
  
    .containerwrap {
52c50939   liuqimichale   init
48
49
50
51
52
53
54
55
56
57
58
59
60
      display: flex;
      height: 100%;
    }
  
    .containerwrap > li {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
  
    .containerwrap > li:nth-of-type(1) {
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
61
  
841f35d2   liuqimichale   filter
62
    .sectionsmall {
52c50939   liuqimichale   init
63
      flex: 1;
eb6d1150   liuqimichale   title 总计 简单封装
64
65
      display: flex;
      flex-direction: column;
841f35d2   liuqimichale   filter
66
67
      background: url("../assets/img/sectionsmall.png") no-repeat;
      background-size: 100% 100%;
52c50939   liuqimichale   init
68
69
70
71
72
    }
  
    .containerwrap > li:nth-of-type(2) {
      flex: 2;
    }
7e22e0a3   liuqimichale   loading
73
74
  
    .heightper-top {
52c50939   liuqimichale   init
75
76
77
      background: #f00;
      flex: 1;
    }
7e22e0a3   liuqimichale   loading
78
79
80
  
    .heightper-bottom {
      height: calc((100% - 24px) / 3);
52c50939   liuqimichale   init
81
82
83
84
85
86
87
88
89
      background: #f00;
      margin-top: 12px;
    }
  
    .containerwrap > li:nth-of-type(3) {
      flex: 1;
    }
  
  </style>