\n \n
{{$parent.dataChart}}\n
\n\n\n"
}
}
}, {
label: '定时器',
option: {
name: "定时器",
title: "定时器",
icon: 'icon-datetime',
img: '/img/assets/time.png',
echartFormatter: "(refs)=>{\n console.log(refs)\n}",
component: {
width: 100,
height: 100,
name: 'time',
prop: 'time',
},
option: {
time: 0
}
}
}, {
label: '数据集',
option: {
name: "数据集",
title: "数据集",
icon: 'icon-text',
img: '/img/assets/time.png',
component: {
width: 100,
height: 100,
name: 'data',
prop: 'data',
},
option: {
}
}
}]
}, {
label: '文字',
icon: 'icon-text',
children: [{
label: '文本框',
option: {
title: "文本框",
name: "文本框",
icon: 'icon-text',
img: '/img/assets/text.png',
dataType: 0,
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
child: {
index: [],
paramName: ""
},
data: {
value: '文本框'
},
component: {
width: 100,
height: 40,
name: "text",
prop: "text"
},
option: {
textAlign: "center",
fontSize: 26,
fontWeight: "normal",
color: "#fff"
},
},
}, {
label: '跑马灯',
option: {
title: "跑马灯",
name: "跑马灯",
icon: 'icon-scroll',
img: '/img/assets/text2.png',
top: 0,
left: 0,
dataType: 0,
data: {
value: "跑马灯"
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 100,
height: 50,
name: "text",
prop: "text"
},
option: {
scroll: true,
speed: 70,
textAlign: "center",
fontSize: 26,
fontWeight: "normal",
color: "#fff"
},
},
}, {
label: '超链接',
option: {
title: "超链接",
name: "超链接",
icon: 'icon-link',
img: '/img/assets/text3.png',
top: 0,
left: 0,
data: {
value: "超链接"
},
dataType: 0,
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 100,
height: 50,
name: "text",
prop: "text"
},
option: {
link: true,
linkHref: 'https://avue.top',
linkTarget: '_self',
textAlign: "center",
fontSize: 26,
fontWeight: "normal",
color: "#fff"
},
},
}, {
label: '实时时间',
option: {
name: "实时时间",
title: "实时时间",
icon: 'icon-datetime',
img: '/img/assets/datetime.png',
top: 78,
left: 1604,
component: {
width: 250,
height: 50,
name: "datetime",
prop: "datetime",
},
option: {
format: 'yyyy-MM-dd hh:mm:ss',
color: "#fff",
textAlign: 'left',
fontSize: 24,
fontWeight: "normal"
}
},
}]
}, {
label: '媒体',
icon: 'icon-img',
children: [{
label: '图片',
option: {
title: "图片",
name: "图片",
icon: 'icon-img',
img: '/img/assets/img.png',
top: 0,
left: 0,
dataType: 0,
data: {
value: '/img/img-default.png'
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 180,
height: 120,
name: 'img',
prop: 'img',
},
option: {
duration: '1000',
}
}
}, {
label: '图片框',
option: {
title: "图片框",
name: "图片框",
icon: 'icon-img',
img: '/img/assets/imgborder.png',
top: 0,
left: 0,
dataType: 0,
data: "/img/border/border1.png",
component: {
width: 140,
height: 140,
name: "imgborder",
prop: "imgborder",
},
option: {
backgroundColor: 'rgba(180, 181, 198, 0.1)',
}
}
}, {
label: '轮播图',
option: {
title: "轮播图",
name: "轮播图",
icon: 'icon-banner',
img: '/img/assets/swiper.png',
top: 0,
left: 0,
dataType: 0,
data: [{
value: 'https://img.alicdn.com/tfs/TB1v28TC8v0gK0jSZKbXXbK2FXa-1880-640.jpg',
}, {
value: 'https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg',
}, {
value: 'https://www.w3school.com.cn/i/movie.ogg'
}],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 670,
height: 370,
name: "swiper",
prop: "swiper"
},
option: {
type: '',
interval: 5000,
opacity: 100,
indicator: 'none',
autoplay: true,
controls: true,
loop: true
},
}
}, {
label: 'iframe',
option: {
title: "iframe",
name: "iframe",
icon: 'icon-iframe',
img: '/img/assets/iframe.png',
top: 0,
left: 0,
component: {
width: 670,
height: 370,
option: {},
name: "iframe",
prop: "iframe"
},
dataType: 0,
data: {
value: 'https://avuejs.com'
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
option: {},
}
}, {
label: 'video播放器',
option: {
title: "video",
name: "video",
icon: 'icon-video',
img: '/img/assets/video.png',
top: 0,
left: 0,
dataType: 0,
data: {
value: 'https://www.w3school.com.cn/i/movie.ogg'
},
option: {
autoplay: false,
controls: true,
loop: true,
poster: ''
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 670,
height: 370,
name: "video",
prop: "video"
},
}
}, {
label: 'hls播放器',
option: {
title: "hls",
name: "hls",
icon: 'icon-video',
img: '/img/assets/video.png',
top: 0,
left: 0,
dataType: 0,
data: {
value: 'https://open.ys7.com/v3/openlive/E10668433_1_1.m3u8?expire=1664027961&id=363444666731335680&t=346b970f0d5cb5d5b5e4734d966275a61fb9efd5038c7a75b7435423c5716908&ev=100'
},
option: {
autoplay: true
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 670,
height: 370,
option: {},
name: "clapper",
prop: "clapper"
},
}
}]
}, {
label: '指标',
icon: 'icon-flop',
children: [{
label: '翻牌器',
option: {
title: "翻牌器",
name: "翻牌器",
icon: 'icon-flop',
img: '/img/assets/flop.png',
top: 0,
left: 0,
dataType: 0,
child: {
index: [],
paramName: ""
},
data: {
value: '12345'
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 445.6,
height: 86.56,
name: "flop",
prop: "flop",
},
option: {
textAlign: 'center',
paddingLeft: 10,
marginLeft: 10,
border: true,
borderColor: "#fff",
borderWidth: 10,
backgroundBorder: "/img/border/border1.png",
fontSize: 50,
color: "#afdef2",
backgroundColor: "#132d4f"
},
}
}, {
label: '颜色块',
option: {
title: "颜色块",
name: "颜色块",
icon: 'icon-flop',
img: '/img/assets/flop2.png',
"child": {
"index": [],
"paramName": ""
},
top: 0,
left: 0,
dataType: 0,
data: [{
backgroundColor: '#67C23A',
prefixText: "某某某总人数",
value: '12345',
suffixText: '人',
}, {
backgroundColor: '#409EFF',
prefixText: "某某某总人数",
value: '12345',
suffixText: '人',
}, {
backgroundColor: '#E6A23C',
prefixText: "某某某总人数",
value: '12345',
suffixText: '人',
}, {
backgroundColor: '#F56C6C',
prefixText: "某某某总人数",
value: '12345',
suffixText: '人',
}, {
backgroundColor: '#7232dd',
prefixText: "某某某总人数",
value: '12345',
suffixText: '人',
}, {
backgroundColor: 'blue',
prefixText: "某某某总人数",
value: '12345',
suffixText: '人',
}],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 543.04,
height: 196.28,
name: "flop",
prop: "flop",
},
option: {
width: 180,
whole: true,
fontSize: 28,
prefixFontSize: 13,
backgroundColor: "#F56C6C",
suffixFontSize: 18,
marginTop: 10,
marginLeft: 5,
paddingTop: 10,
paddingLeft: 30,
color: "#fff",
suffixInline: true,
fontWeight: "bolder"
},
}
}, {
label: '环形图',
option: {
title: "环形图",
name: "环形图",
icon: 'icon-circle',
img: '/img/assets/progress.png',
top: 0,
left: 0,
dataType: 0,
data: {
label: "人数增涨",
value: 40,
data: 80
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 300,
height: 300,
name: "progress",
prop: "progress"
},
option: {
type: "circle",
color: "#60d3da",
fontSize: 25,
suffixColor: "#60d3da",
strokeWidth: 20,
fontWeight: "normal",
borderColor: "#60d3da",
suffixFontSize: 30,
FontWeight: "normal"
},
}
}, {
label: '进度条',
option: {
title: "进度条",
name: "进度条",
icon: 'icon-progress',
img: '/img/assets/progress2.png',
top: 0,
left: 0,
data: {
label: "人数增涨",
value: 40,
data: 80
},
dataType: 0,
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 500,
height: 100,
name: "progress",
prop: "progress"
},
option: {
type: "line",
color: "#60d3da",
fontSize: 25,
suffixColor: "#60d3da",
strokeWidth: 10,
fontWeight: "normal",
borderColor: "#60d3da",
suffixFontSize: 30,
FontWeight: "normal"
},
}
}, {
label: '仪表盘',
option: {
title: "仪表盘",
icon: 'icon-gauge',
img: '/img/assets/gauge.png',
name: "仪表盘",
dataType: 0,
data: {
value: 4
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 390,
height: 314,
name: "gauge",
prop: "gauge"
},
option: {
lineSize: 15,
axisLabelShow: true,
axisLabelFontSize: 15,
nameFontSize: 40,
lineColor: "#eee",
barColor: [
{
color1: "rgba(154, 168, 212, 1)",
postion: "0.2",
},
{
color1: "#23B7E5",
postion: "0.8",
},
{
color1: "#564AA3",
postion: "1",
}
]
},
},
}, {
label: '字符云',
option: {
title: "字符云",
name: "字符云",
icon: "icon-wordCloud",
img: '/img/assets/wordcloud.png',
top: 0,
left: 0,
dataType: 0,
data: [{
name: '三星',
value: '1'
}, {
name: '小米',
value: '10'
}, {
name: '华为',
value: '20'
}, {
name: 'oppo',
value: '30'
}, {
name: '抖音',
value: '40'
}, {
name: '快手',
value: '50'
}, {
name: '淘宝',
value: '60'
}, {
name: '百度',
value: '70'
}, {
name: '京东',
value: '80'
}, {
name: '天猫',
value: '100'
}, {
name: '字符1',
value: '110'
}, {
name: '字符1',
value: '200',
textStyle: {
color: 'red'
}
}],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
name: "wordcloud",
prop: "wordcloud",
width: 600,
height: 300,
},
option: {
minFontSize: 30,
maxFontSize: 80,
split: 30,
rotate: true,
}
}
}]
}, {
label: '表格',
icon: 'icon-table',
children: [{
label: '表格',
option: {
title: "表格",
name: "表格",
icon: 'icon-table',
img: '/img/assets/table.png',
top: 0,
left: 0,
dataType: 0,
data: [{
type1: '数据1',
type2: '数据1'
}, {
type1: '数据2',
type2: '数据2'
}, {
type1: '数据3',
type2: '数据3'
}, {
type1: '数据4',
type2: '数据4'
}],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 700,
height: 350,
name: "table",
prop: "table",
},
option: {
showHeader: true,
columnShow: true,
columnViews: true,
headerBackground: "#050e18",
headerColor: "#69bfe7",
headerTextAlign: "center",
nthColor: "#09192c",
bodyBackground: "rgba(0, 0, 0, 0.01)",
bodyColor: "#69bfe7",
bodyTextAlign: "center",
align: "center",
headerAlign: "center",
header: false,
scrollSpeed: 1,
fontSize: 15,
count: 4,
index: true,
column: [
{
label: "列1",
prop: "type1",
$index: 0
},
{
label: "列2",
prop: "type2",
$index: 1
},
{
label: "列3",
prop: "type3",
$index: 2
},
{
label: "列4",
prop: "type4",
$index: 3
}
],
othColor: "#142a40",
headerFontSize: 20,
bodyFontSize: 18
}
}
}, {
label: '选项卡',
option: {
title: "选项卡",
name: "选项卡",
icon: "icon-tabs",
img: '/img/assets/tabs.png',
child: {
index: [],
paramName: ""
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
dataType: 0,
data: [
{
label: "选项卡1",
value: "1"
},
{
label: "选项卡2",
value: "2"
}
],
component: {
width: 356,
height: 46,
name: "tabs",
prop: "tabs"
},
option: {
type: 'tabs',
color: "#eee",
empColor: "#4dffff",
fontSize: 20,
split: 8,
empBackgroundImage: "/img/banner/banner5.png",
backgroundImage: "/img/banner/banner4.png"
},
},
},]
}, {
label: '边框',
icon: 'icon-biankuang',
children: [{
label: '边框1',
option: {
title: "边框1",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_01.gif',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 1,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框2',
option: {
title: "边框2",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_02.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 2,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框3',
option: {
title: "边框3",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_03.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 3,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框4',
option: {
title: "边框4",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_04.png',
top: 0,
left: 0,
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 4,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框5',
option: {
title: "边框5",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_05.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 5,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框6',
option: {
title: "边框6",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_06.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 6,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框7',
option: {
title: "边框7",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_07.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 7,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框8',
option: {
title: "边框8",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_08.gif',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 8,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框9',
option: {
title: "边框9",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_09.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 9,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框10',
option: {
title: "边框10",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_10.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 10,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框11',
option: {
title: "边框11",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_11.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 11,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}, {
label: '边框12',
option: {
title: "边框12",
name: "datav",
icon: 'icon-biankuang',
img: '/img/assets/borderBox/borderBox_12.png',
top: 0,
left: 0,
data: {},
component: {
width: 300,
height: 150,
name: "borderBox",
prop: "borderBox"
},
option: {
type: 12,
color1: '#83bff6',
color2: '#00CED1',
dur: undefined
}
}
}]
}, {
label: 'datav例子',
icon: 'icon-datav',
children: [
{
label: '滚动排名',
option: {
name: "滚动排名",
title: "滚动排名",
icon: "icon-datav",
img: '/img/assets/table1.gif',
dataType: 0,
data: [
{
name: "周口",
value: 55
},
{
name: "南阳",
value: 120
},
{
name: "西峡",
value: 78
},
{
name: "驻马店",
value: 66
},
{
name: "新乡",
value: 80
},
{
name: "信阳",
value: 45
},
{
name: "漯河",
value: 29
}
],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n\t data: data,\n //carousel: 'page',\n valueFormatter ({ value }) {\n return value+'单位'\n }\n\t }\n }\n}",
component: {
width: 652.35,
height: 248.45,
name: "datav",
prop: "datav"
},
option: {
is: "dv-scroll-ranking-board"
}
}
},
{
label: '胶囊排名',
option: {
name: "胶囊排名",
title: "胶囊排名",
icon: "icon-datav",
img: '/img/assets/table3.png',
dataType: 0,
data: [
{
name: "周口",
value: 55
},
{
name: "南阳",
value: 120
},
{
name: "西峡",
value: 78
},
{
name: "驻马店",
value: 66
},
{
name: "新乡",
value: 80
},
{
name: "信阳",
value: 45
},
{
name: "漯河",
value: 29
}
],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n\t data: data,\n colors: ['#e062ae', '#fb7293', '#e690d1', '#32c5e9', '#96bfff'],\n unit: '单位',\n showValue: true\n\t }\n }\n}",
component: {
width: 652.35,
height: 248.45,
name: "datav",
prop: "datav"
},
option: {
is: "dv-capsule-chart"
}
}
}, {
label: '水位图',
option: {
name: "水位图",
title: "datav",
icon: 'icon-datav',
img: '/img/assets/datav/datav1.png',
dataType: 0,
data: {
value: 66
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n\t data: [data.value],\n shape: 'roundRect'\n\t }\n }\n}",
component: {
width: 150,
height: 200,
name: "datav",
prop: "datav",
},
option: {
is: 'dv-water-level-pond'
}
}
}, {
label: '进度池',
option: {
name: "进度池",
title: "datav",
icon: 'icon-datav',
img: '/img/assets/datav/datav2.png',
dataType: 0,
data: {
value: 66
},
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n value: data.value,\n borderWidth: 5,\n borderRadius: 10,\n borderGap: 5,\n lineDash: [10, 2],\n localGradient: true\n }\n }\n}",
component: {
width: 369,
height: 153,
name: "datav",
prop: "datav",
},
option: {
is: 'dv-percent-pond'
}
}
}, {
label: '锥形柱图',
option: {
name: "锥形柱图",
title: "datav",
icon: 'icon-datav',
img: '/img/assets/datav/datav3.png',
dataType: 0,
data: [
{
name: '周口',
value: 55
},
{
name: '南阳',
value: 120
},
{
name: '西峡',
value: 71
},
{
name: '驻马店',
value: 66
},
{
name: '新乡',
value: 80
},
{
name: '信阳',
value: 35
},
{
name: '漯河',
value: 15
}
],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n data:data,\n img: [\n '/img/conicalColumnChart/1st.png',\n '/img/conicalColumnChart/2st.png',\n '/img/conicalColumnChart/3st.png',\n '/img/conicalColumnChart/4st.png',\n '/img/conicalColumnChart/5st.png',\n '/img/conicalColumnChart/6st.png',\n '/img/conicalColumnChart/7st.png'\n ],\n showValue: true\n }\n }\n}",
component: {
width: 549.18,
height: 262.98,
name: "datav",
prop: "datav",
},
option: {
is: 'dv-conical-column-chart'
}
}
}, {
label: '飞线图',
option: {
name: "飞线图",
title: "datav",
icon: 'icon-datav',
img: '/img/assets/datav/datav4.png',
dataType: 0,
data: {
"points": [
{
name: "郑州",
"coordinate": [
0.48,
0.35
],
"halo": {
"show": true
},
icon: {
"src": "/img/flylineChart/mapCenterPoint.png",
width: 30,
height: 30
},
"text": {
"show": false
}
},
{
name: "新乡",
"coordinate": [
0.52,
0.23
]
},
{
name: "焦作",
"coordinate": [
0.43,
0.29
]
},
{
name: "开封",
"coordinate": [
0.59,
0.35
]
},
{
name: "许昌",
"coordinate": [
0.53,
0.47
]
},
{
name: "平顶山",
"coordinate": [
0.45,
0.54
]
},
{
name: "洛阳",
"coordinate": [
0.36,
0.38
]
},
{
name: "周口",
"coordinate": [
0.62,
0.55
],
"halo": {
"show": true,
"color": "#8378ea"
}
},
{
name: "漯河",
"coordinate": [
0.56,
0.56
]
},
{
name: "南阳",
"coordinate": [
0.37,
0.66
],
"halo": {
"show": true,
"color": "#37a2da"
}
},
{
name: "信阳",
"coordinate": [
0.55,
0.81
]
},
{
name: "驻马店",
"coordinate": [
0.55,
0.67
]
},
{
name: "济源",
"coordinate": [
0.37,
0.29
]
},
{
name: "三门峡",
"coordinate": [
0.2,
0.36
]
},
{
name: "商丘",
"coordinate": [
0.76,
0.41
]
},
{
name: "鹤壁",
"coordinate": [
0.59,
0.18
]
},
{
name: "濮阳",
"coordinate": [
0.68,
0.17
]
},
{
name: "安阳",
"coordinate": [
0.59,
0.1
]
}
],
"lines": [
{
"source": "新乡",
"target": "郑州"
},
{
"source": "焦作",
"target": "郑州"
},
{
"source": "开封",
"target": "郑州"
},
{
"source": "周口",
"target": "郑州",
"color": "#fb7293",
width: 2
},
{
"source": "南阳",
"target": "郑州",
"color": "#fb7293",
width: 2
},
{
"source": "济源",
"target": "郑州"
},
{
"source": "三门峡",
"target": "郑州"
},
{
"source": "商丘",
"target": "郑州"
},
{
"source": "鹤壁",
"target": "郑州"
},
{
"source": "濮阳",
"target": "郑州"
},
{
"source": "安阳",
"target": "郑州"
},
{
"source": "许昌",
"target": "南阳",
"color": "#37a2da"
},
{
"source": "平顶山",
"target": "南阳",
"color": "#37a2da"
},
{
"source": "洛阳",
"target": "南阳",
"color": "#37a2da"
},
{
"source": "驻马店",
"target": "周口",
"color": "#8378ea"
},
{
"source": "信阳",
"target": "周口",
"color": "#8378ea"
},
{
"source": "漯河",
"target": "周口",
"color": "#8378ea"
}
]
},
"lines": [
{
"source": "新乡",
"target": "郑州"
},
{
"source": "焦作",
"target": "郑州"
},
{
"source": "开封",
"target": "郑州"
},
{
"source": "周口",
"target": "郑州",
"color": "#fb7293",
width: 2
},
{
"source": "南阳",
"target": "郑州",
"color": "#fb7293",
width: 2
},
{
"source": "济源",
"target": "郑州"
},
{
"source": "三门峡",
"target": "郑州"
},
{
"source": "商丘",
"target": "郑州"
},
{
"source": "鹤壁",
"target": "郑州"
},
{
"source": "濮阳",
"target": "郑州"
},
{
"source": "安阳",
"target": "郑州"
},
{
"source": "许昌",
"target": "南阳",
"color": "#37a2da"
},
{
"source": "平顶山",
"target": "南阳",
"color": "#37a2da"
},
{
"source": "洛阳",
"target": "南阳",
"color": "#37a2da"
},
{
"source": "驻马店",
"target": "周口",
"color": "#8378ea"
},
{
"source": "信阳",
"target": "周口",
"color": "#8378ea"
},
{
"source": "漯河",
"target": "周口",
"color": "#8378ea"
}
],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n points:data.points,\n lines:data.lines,\n icon: {\n show: true,\n src: '/img/flylineChart/mapPoint.png'\n },\n text: {\n show: true,\n },\n k: 0.5,\n bgImgSrc: '/img/flylineChart/map.jpg'\n }\n }\n}",
component: {
width: 949.32,
height: 515.7,
name: "datav",
prop: "datav",
},
option: {
is: 'dv-flyline-chart-enhanced'
}
}
}, {
label: '动态环图',
option: {
name: "动态环图",
title: "datav",
icon: 'icon-datav',
img: '/img/assets/datav/datav5.png',
dataType: 0,
data: [
{
name: '周口',
value: 55
},
{
name: '南阳',
value: 120
},
{
name: '西峡',
value: 78
},
{
name: '驻马店',
value: 66
},
{
name: '新乡',
value: 80
}
],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
echartFormatter: "(data)=>{\n return {\n config:{\n radius: '40%',\n activeRadius: '45%',\n data: data,\n digitalFlopStyle: {\n fontSize: 20\n },\n showOriginValue: true\n }\n }\n}",
component: {
width: 949.32,
height: 515.7,
name: "datav",
prop: "datav",
},
option: {
is: 'dv-active-ring-chart'
}
}
}]
}, {
label: '装饰',
icon: 'icon-jianzhuzhuangshi',
children: [{
label: '装饰1',
option: {
title: "装饰1",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_01.gif',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 1,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰2',
option: {
title: "装饰2",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_02.gif',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 2,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰3',
option: {
title: "装饰3",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_03.gif',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 3,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰4',
option: {
title: "装饰4",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_04.gif',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 4,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰5',
option: {
title: "装饰5",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_05.png',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 5,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰6',
option: {
title: "装饰6",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_06.gif',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 6,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰7',
option: {
title: "装饰7",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_07.png',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 7,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰8',
option: {
title: "装饰8",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_08.png',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 8,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰9',
option: {
title: "装饰9",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_09.gif',
top: 0,
left: 0,
data: {},
component: {
width: 440.5,
height: 377.65,
name: "decoration",
prop: "decoration"
},
option: {
type: 9,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰10',
option: {
title: "装饰10",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_10.png',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 10,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰11',
option: {
title: "装饰11",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_11.png',
top: 0,
left: 0,
data: {},
component: {
width: 670,
height: 370,
name: "decoration",
prop: "decoration"
},
option: {
type: 11,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}, {
label: '装饰12',
option: {
title: "装饰12",
name: "datav",
icon: 'icon-jianzhuzhuangshi',
img: '/img/assets/decorate/decorate_12.gif',
top: 0,
left: 0,
data: {},
component: {
width: 430,
height: 430,
name: "decoration",
prop: "decoration"
},
option: {
type: 12,
color1: '#00CED1',
color2: '#FAD400',
dur: undefined
}
}
}]
}, {
label: '二次开发',
icon: 'icon-biankuang',
children: [{
label: '自定义组件',
option: {
name: "自定义组件",
title: "自定义组件",
ico: 'icon-bar',
img: '/img/assets/text4.png',
dataType: 0,
data: [],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 800,
height: 500,
name: "test",
prop: "test",
},
option: {
fontSize: 20,
}
}
}, {
label: '滚动选项卡',
option: {
name: "滚动选项卡",
title: "滚动选项卡",
icon: 'icon-bar',
img: '/img/assets/text4.png',
dataType: 0,
data: [{
text: '领导调研',
list: [
"https://img.alicdn.com/tfs/TB1v28TC8v0gK0jSZKbXXbK2FXa-1880-640.jpg",
"https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg"
]
}, {
text: '先进事件',
list: [
"https://img.alicdn.com/imgextra/i1/O1CN01NAnI6W1Vf1kZScscd_!!6000000002679-0-tps-2880-1070.jpg",
"https://img.alicdn.com/imgextra/i2/O1CN011FMQT21RF8u1nHsem_!!6000000002081-0-tps-2880-1070.jpg"
]
}],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 800,
height: 400,
name: "imgTabs",
prop: "imgTabs",
},
option: {
direction: 'horizontal',
interval: 3000,
time: 3000,
autoplay: true
}
}
}, {
label: '滚动列表',
option: {
name: "滚动列表",
title: "滚动列表",
icon: 'icon-bar',
img: '/img/assets/text4.png',
dataType: 0,
data: [
{
name: "smallwei",
time: "11:26",
color: "#7c324c",
date: "2022-05-22",
dept: "设计部",
img: "/img/nav-img.png"
},
{
name: "smallwei",
time: "11:26",
color: "#6b6230",
date: "2022-05-22",
dept: "设计部",
img: "/img/nav-img.png"
},
{
name: "smallwei",
time: "11:26",
date: "2022-05-22",
color: "#274d86",
dept: "设计部",
img: "/img/nav-img.png"
}
],
dataFormatter: "",
dataQuery: "",
dataHeader: "",
stylesFormatter: "",
component: {
width: 800,
height: 500,
name: "imgList",
prop: "imgList",
},
option: {
step: 1,
direction: 1,
hoverStop: true,
}
}
}]
}]
}