AIMerchant.vue 993 Bytes
<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>