AreaSaas.vue 855 Bytes
<template>
  <div class="area">
    <div class="title-icon">
      <span class="title-bg">区域分布</span>
    </div>
    <div class="container">
      <BarChart domId="areaChart" :analysisList="areaList" :colorList="colorList"></BarChart>
    </div>
  </div>
</template>
<script>
import BarChart from './BarChart.vue'
export default {
  name: 'AreaSaas',
  components: {
    BarChart
  },
  data() {
    return {
      colorList: ['#22D8FF', '#223FA9', '#071735']
    }
  },
  props: {
    areaList: {
      type: Array,
      default: () => []
    }
  }
}
</script>
<style scoped lang="scss">
.area {
  width: 15.83vw;
  .title-icon {
    font-weight: 500;
    font-size: 10px;
    color: #ffffff;
    .title-bg {
      background-image: linear-gradient(90deg, #003f57 0%, #111056 54%, #071735 100%);
      padding-left: 0.83vw;
    }
  }
}
</style>