AIMerchant.vue
1.1 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
<!--
* @Description:
* @Author: huyue
* @Date: 2024-07-09 10:35:58
* @LastEditors: huyue
* @LastEditTime: 2024-07-10 14:16:38
-->
<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: 19.97vw;
height: 23.94vh;
padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/AI-bg.png);
background-size: 100% 100%;
.bottom-line {
width: 17.92vw;
height: 0.38vh;
}
}
</style>