AIMerchant.vue 1.1 KB
<!--
 * @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>