<!--
 * @Descripttion: 当前组件信息
 * @version: 1.0.0
 * @Author: 无尘
 * @Date: 2019-11-12 10:59:45
 * @LastEditors: 无尘
 * @LastEditTime: 2019-11-14 17:32:00
 -->
<template>
  <div class="share-index">
    <data-statistics-child :barChartData="barChartData"></data-statistics-child>
    <funnel-chart :funnelData="funnelData"></funnel-chart>
    <bar-chart
      :barChartData="barChartData"
      :charHeight="charHeight"
    ></bar-chart>
    <data-statistics></data-statistics>

  </div>
</template>
<script>


import dataStatisticsChild from '@/components/active/data-statistics-child.vue';
import dataStatistics from '@/components/active/data-statistics.vue';
import barChart from '@/components/active/bar-chart.vue';
import funnelChart from '@/components/active/funnel-chart.vue';
export default {
  name: 'share-index',
  components: {
    funnelChart,
    barChart,
    dataStatistics,
    dataStatisticsChild
  },
  data() {
    return {
      charHeight: '239px',
      funnelData: [],
      barChartData: {
        columns: ['日期', '访问用户', '下单用户', '传播系数'],
        rows: [
          { '日期': '1/1', '访问用户': 1393, '下单用户': 1093, '传播系数': 0.32 },
          { '日期': '1/2', '访问用户': 3530, '下单用户': 3230, '传播系数': 0.26 },
          { '日期': '1/3', '访问用户': 2923, '下单用户': 2623, '传播系数': 0.76 },
          { '日期': '1/4', '访问用户': 1723, '下单用户': 1423, '传播系数': 0.49 },
          { '日期': '1/5', '访问用户': 3192, '下单用户': 3192, '传播系数': 0.323 },
          { '日期': '1/6', '访问用户': 3593, '下单用户': 3293, '传播系数': 0.78 }
        ]
      }
    }
  },
  methods: {

  },
}
</script>
<style lang="less" scoped>
.share-index {
}
</style>
