You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
2.3 KiB
87 lines
2.3 KiB
<!--
|
|
* @Author: your name
|
|
* @Date: 2021-10-13 16:54:12
|
|
* @LastEditTime: 2021-11-08 17:19:36
|
|
* @LastEditors: Please set LastEditors
|
|
* @Description: In User Settings Edit
|
|
* @FilePath: /data-show/src/views/TailInsightDetails/mediaDistribution/index.vue
|
|
-->
|
|
<template>
|
|
<div class="md-outter" v-loading="load">
|
|
<v-label-div title="媒体分布"></v-label-div>
|
|
<div class="md-inner">
|
|
<v-echarts :opt="opt"></v-echarts>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
// import createOpt from "./opt";
|
|
// import {getSourcetype0528} from "@/api/TailInsightdetails"
|
|
// export default {
|
|
// name: "mediaDistribution",
|
|
// data() {
|
|
// return {
|
|
// load: false,
|
|
// opt: {},
|
|
// form: {
|
|
// sBrand: "",
|
|
// token: "",
|
|
// },
|
|
// colors: [
|
|
// "#54BF93",
|
|
// "#3373CC",
|
|
// "#CC9D12",
|
|
// "#f15c80",
|
|
// "#e4d354",
|
|
// "#8085e8",
|
|
// "#8d4653",
|
|
// "#91e8e1",
|
|
// "#f7a35c",
|
|
// "#90ed7d",
|
|
// "#54BF93",
|
|
// "#3373CC",
|
|
// "#CC9D12",
|
|
// "#f15c80",
|
|
// "#e4d354",
|
|
// "#8085e8",
|
|
// "#8d4653",
|
|
// "#91e8e1",
|
|
// "#f7a35c",
|
|
// "#90ed7d",
|
|
// ],
|
|
// }
|
|
// },
|
|
// created() {
|
|
// this.form.token = this.getToken;
|
|
// this.form.sBrand = this.getBrand.brandname || '奥迪';
|
|
// this.getDdta();
|
|
// },
|
|
// methods: {
|
|
// getDdta(){
|
|
// let obj = Object.assign({}, this.getCtime2, this.form);
|
|
// this.load = true;
|
|
// getSourcetype0528(obj).then(res => {
|
|
// let data = res.data || [];
|
|
// this.labelData = data;
|
|
// this.opt = createOpt(data, this.colors);
|
|
// this.load = false;
|
|
// })
|
|
// },
|
|
// },
|
|
// };
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.md-outter {
|
|
width: 460px;
|
|
height: 460px;
|
|
border: 2px solid #0f2a4d;
|
|
margin-left: 16px;
|
|
.md-inner {
|
|
width: 100%;
|
|
height: calc(100% - 48px);
|
|
}
|
|
}
|
|
</style>
|