<!--
 * @Author: daidai
 * @Date: 2022-03-04 09:23:59
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-05-07 11:05:02
 * @FilePath: \web-pc\src\pages\big-screen\view\indexs\index.vue
-->
<template>
  <div class="contents">
    <div class="contetn_left">
      <div class="pagetab">
        <div class="item" @click="toPage">﹤加盟商/产品分析</div>
      </div>
      <ItemWrap class="contetn_left-top contetn_lr-item" title="区域销售金额占比">
        <LeftTop />
      </ItemWrap>
      <ItemWrap class="contetn_left-bottom contetn_lr-bitem" title="销售金额TOP15">
		<LeftBottom />
      </ItemWrap>
    </div>
    <div class="contetn_center">
	  <dv-border-box-8 class="contetn_center-top">
		  <CenterTop />
	  </dv-border-box-8>
      <CenterMap class="contetn_center_topMap" />
      <ItemWrap class="contetn_center-bottom" title="品类销售分布">
        <CenterBottom />
      </ItemWrap>
    </div>
    <div class="contetn_right">
      <ItemWrap
        class="contetn_right-top contetn_lr-item"
        title="销售趋势分析"
      >
        <RightTop style="height: 94%;"/>
      </ItemWrap>
      <ItemWrap
        class="contetn_right-bottom contetn_lr-bitem"
        title="本月/周/日销售"
      >
        <RightBottom />
      </ItemWrap>
    </div>
  </div>
</template>

<script>
import LeftTop from "./left-top.vue";
import LeftBottom from "./left-bottom.vue";
import CenterTop from "./center-top.vue"
import CenterMap from "./center-map.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightBottom from "./right-bottom.vue";

export default {
  components: {
    LeftTop,
    LeftBottom,
	CenterTop,
    CenterMap,
    RightTop,
    RightBottom,
    CenterBottom,
  },
  data() {
    return {
    
    };
  },
  filters: {
    numsFilter(msg) {
      return msg || 0;
    },
  },
  created() {
  },

  mounted() {},
  methods: {
	toPage(){
		this.$router.push({name:'analyse'})
	}
  },
};
</script>
<style lang="scss" scoped>
// 内容
.contents {
  .contetn_left,
  .contetn_right {
    width: 540px;
    box-sizing: border-box;
    // padding: 16px 0;
  }

  .contetn_center {
    width: 760px;
  }

  //左右两侧 三个块
  .contetn_left-top, .contetn_right-top{
	  margin-top: 15px;
  }
  .contetn_lr-item {
    height: 400px;
  }
  .contetn_lr-bitem {
    height: 560px;
  }

  .contetn_center_top, .contetn_center_topMap {
    width: 100%;
  }

  // 中间
  .contetn_center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .contetn_center-top{
	height: 110px;
	margin-top: 10px;
  }
  .contetn_center-bottom {
    height: 310px;
  }

  //左边 右边 结构一样
  .contetn_left,
  .contetn_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }
}


@keyframes rotating {
    0% {
        -webkit-transform: rotate(0) scale(1);
        transform: rotate(0) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(1.1);
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}
</style>
