brand.vue
919 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
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-10-31 14:03:21
* @FilePath: \dj-data-view\src\views\user\brand.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="brand">
<div class="title title-icon">
<span class="icon"></span>
<span>品牌分布</span>
</div>
<div class="container">
<bar-chart domId="brandChart" :rotate="30" :analysisList="brandList"></bar-chart>
</div>
</div>
</template>
<script>
export default {
name: 'Brand',
data() {
return {}
},
props: {
brandList: {
type: Array,
default: () => []
}
}
}
</script>
<style scoped lang="scss">
.brand {
width: 15.42vw;
}
</style>