ViewContentLeft.vue
735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
<div class="left">
<div class="top">
<view-sub-title title="集团客户总览" />
<view-tabs />
<view-pie-group />
</div>
<div class="bottom">
<view-sub-title title="销售数据总览" />
<view-line-group height="14.9vh" />
<view-pie-group />
</div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'ViewContentLeft',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.left {
display: flex;
flex-direction: column;
.top {
// height: 59%;
height: 53.3vh;
}
.bottom {
// height: calc(41% - 16px);
height: 35.9vh;
margin-top: auto;
}
}
</style>