AIMerchant.vue
993 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
<template>
<div class="AI-box">
<BoxTitle :title="'AI对话调用次数及覆盖门店'" :fontSize="18"></BoxTitle>
<img class="bottom-line" src="@/assets/images/bottomLine.png" alt="" />
<BarLineChart ref="AITalkRef" height="15.83vh" domId="AITalk" :dataList.sync="AIBarLineData"></BarLineChart>
</div>
</template>
<script>
import { AIBarLineData } from '../const/index'
import BoxTitle from '../../../components/BoxTitle.vue'
import BarLineChart from './BarLineChart.vue'
export default {
name: 'AIMerchant',
components: { BoxTitle, BarLineChart },
data() {
return {
AIBarLineData
}
},
mounted() {
this.$refs.AITalkRef.drawBarLine()
},
methods: {}
}
</script>
<style lang="scss" scoped>
.AI-box {
width: 21.04vw;
height: 23.8vh;
padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/AI-bg.png);
background-size: 100% 100%;
.bottom-line {
width: 16.28vw;
height: 0.23vh;
}
}
</style>