OperationalLeft.vue
2.13 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!--
* @Description: 运营数据左侧
* @Author: huyue
* @Date: 2023-02-27 11:29:02
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 22:27:55
-->
<template>
<div class="left">
<div class="top">
<box-title title="企业客户总览" :textAlign="'center'"></box-title>
<view-tabs />
<view-surface />
<view-pie-group>
<div slot="1"><Area :height="defaultHeight"></Area></div>
<div slot="2"><Brand :height="defaultHeight"></Brand></div>
<div slot="3"><Store :height="defaultHeight"></Store></div>
</view-pie-group>
</div>
<div class="bottom">
<box-title title="客户数字化业务" :textAlign="'center'"></box-title>
<OverSize></OverSize>
</div>
</div>
</template>
<script type="text/ecmascript-6">
import datas from '../../utils/data'
import Area from './components/Area.vue'
import Store from './components/Store.vue'
import Brand from './components/Brand.vue'
import OverSize from './components/Overview.vue'
import ViewTabs from './components/ViewTabs.vue'
import ViewSurface from './components/ViewSurface.vue'
import ViewPieGroup from './components/ViewPieGroup.vue'
import { clientMixin } from '../../mixins/index'
export default {
name: 'OperationalLeft',
mixins: [clientMixin],
components: {
Area,
Store,
Brand,
OverSize,
ViewTabs,
ViewSurface,
ViewPieGroup
},
data() {
return {
defaultHeight: datas.DefaultData.defaultPieHeight
}
},
created() {
this.getClientData()
},
mounted() {},
methods: {}
}
</script>
<style scoped lang="scss">
.left {
display: flex;
flex-direction: column;
width: 41.67vw;
overflow: hidden;
.top {
height: 544px;
width: 100%;
// padding: 0 16px;
box-sizing: border-box;
background: url(../../assets/images/operation/bg-1.png) no-repeat;
background-size: 100% 544px;
}
.bottom {
height: 338px;
margin-top: 20px;
box-sizing: content-box;
background: url(../../assets/images/operation/bg-3.png) no-repeat;
background-size: 100% 100%;
}
}
</style>