forked from drone/command-center-dashboard

chenyao
2025-04-12 6807f79a2a1e8aafc2458af47229f795b56cd12e
src/views/Home/EventOverviewDetail/EventOverviewDetailLeft/EventDataAnalysis.vue
@@ -1,9 +1,12 @@
<template>
   <common-title title="行业数据分析" />
   <div class="chart" ref="echartsRef"></div>
   <!-- <common-title title="行业数据分析" /> -->
   <div class="event-data-analysis">
      <div class="little-title">行业数据分析</div>
      <div class="chart" ref="echartsRef"></div>
   </div>
</template>
<script setup>
import CommonTitle from '@/components/CommonTitle.vue'
// import CommonTitle from '@/components/CommonTitle.vue'
import { getEventIndustryData } from '@/api/home/event'
import * as echarts from 'echarts'
@@ -108,8 +111,20 @@
})
</script>
<style scoped lang="scss">
.chart {
   width: 356px;
   height: 190px;
.event-data-analysis {
   height: 330px;
   .little-title {
      background: url('@/assets/images/little-title-bg.png') no-repeat center / 100% 100%;
      width: 372px;
      height: 28px;
      line-height: 28px;
      padding-left: 16px;
   }
   .chart {
      margin-top: 10px;
      width: 356px;
      height: 240px;
   }
}
</style>