ViewTabs.vue
1.11 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
<template>
<div class="tabs flex box">
<div class="tab" v-for="item in tabs" :key="item.key">
<div class="tab-title">{{ item.title }}</div>
<div class="tab-text">2,174443</div>
</div>
</div>
</template>
<script type="text/ecmascript-6">
import * as echarts from 'echarts'
export default {
name: 'ViewTabs',
data() {
return {
tabs: [
{
title: '总门店数',
key: 'wechat'
},
{
title: '当年新增',
key: 'wechatGroup'
},
{
title: '总门店数',
key: 'applet'
},
{
title: '总门店数',
key: 'publiccus'
}
]
}
},
mounted() {},
methods: {}
}
</script>
<style scoped lang="scss">
.tabs {
margin: 1.22vh 2.78vw 0.98vh 2.78vw;
height: 6.95vh;
justify-content: space-between;
.tab {
margin:0.61vh 0;
.tab-title {
font-weight: 400;
font-size: 12px;
color: #e8e8e8;
}
.tab-text {
font-weight: 700;
font-size: 24px;
color: #6578ff;
line-height: 30px;
}
}
}
</style>