xuhuajiao
3 years ago
8 changed files with 486 additions and 25 deletions
-
420src/assets/echarts/echartDark.js
-
2src/main.js
-
40src/views/archivesManage/archivesList/archivesAnjuan/index.vue
-
14src/views/archivesManage/archivesList/archivesJuannei/index.vue
-
11src/views/archivesManage/archivesList/archivesProject/index.vue
-
16src/views/archivesManage/archivesList/mixins/archives.js
-
6src/views/archivesManage/archivesList/module/archivesInfo/index.vue
-
2src/views/components/echarts/typePie.vue
@ -0,0 +1,420 @@ |
|||
(function (root, factory) { |
|||
if (typeof define === 'function' && define.amd) { |
|||
// AMD. Register as an anonymous module.
|
|||
define(['exports', 'echarts'], factory); |
|||
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { |
|||
// CommonJS
|
|||
factory(exports, require('echarts')); |
|||
} else { |
|||
// Browser globals
|
|||
factory({}, root.echarts); |
|||
} |
|||
}(this, function (exports, echarts) { |
|||
var log = function (msg) { |
|||
if (typeof console !== 'undefined') { |
|||
console && console.error && console.error(msg); |
|||
} |
|||
}; |
|||
if (!echarts) { |
|||
log('ECharts is not Loaded'); |
|||
return; |
|||
} |
|||
echarts.registerTheme('dark', { |
|||
"color": [ |
|||
"#0fbed9", |
|||
"#f65163", |
|||
"#ff8447", |
|||
"#76af50", |
|||
"#8378e8", |
|||
"#eedd78", |
|||
"#73a373", |
|||
"#73b9bc", |
|||
"#7289ab", |
|||
"#91ca8c", |
|||
"#f49f42" |
|||
], |
|||
"backgroundColor": "rgba(51,51,51,0)", |
|||
"textStyle": {}, |
|||
"title": { |
|||
"textStyle": { |
|||
"color": "#eeeeee" |
|||
}, |
|||
"subtextStyle": { |
|||
"color": "#aaaaaa" |
|||
} |
|||
}, |
|||
"line": { |
|||
"itemStyle": { |
|||
"borderWidth": 1 |
|||
}, |
|||
"lineStyle": { |
|||
"width": 2 |
|||
}, |
|||
"symbolSize": 4, |
|||
"symbol": "circle", |
|||
"smooth": false |
|||
}, |
|||
"radar": { |
|||
"itemStyle": { |
|||
"borderWidth": 1 |
|||
}, |
|||
"lineStyle": { |
|||
"width": 2 |
|||
}, |
|||
"symbolSize": 4, |
|||
"symbol": "circle", |
|||
"smooth": false |
|||
}, |
|||
"bar": { |
|||
"itemStyle": { |
|||
"barBorderWidth": 0, |
|||
"barBorderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"pie": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"scatter": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"boxplot": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"parallel": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"sankey": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"funnel": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"gauge": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
} |
|||
}, |
|||
"candlestick": { |
|||
"itemStyle": { |
|||
"color": "#fd1050", |
|||
"color0": "#0cf49b", |
|||
"borderColor": "#fd1050", |
|||
"borderColor0": "#0cf49b", |
|||
"borderWidth": 1 |
|||
} |
|||
}, |
|||
"graph": { |
|||
"itemStyle": { |
|||
"borderWidth": 0, |
|||
"borderColor": "#cccccc" |
|||
}, |
|||
"lineStyle": { |
|||
"width": 1, |
|||
"color": "#aaaaaa" |
|||
}, |
|||
"symbolSize": 4, |
|||
"symbol": "circle", |
|||
"smooth": false, |
|||
"color": [ |
|||
"#0fbed9", |
|||
"#f65163", |
|||
"#ff8447", |
|||
"#76af50", |
|||
"#8378e8", |
|||
"#eedd78", |
|||
"#73a373", |
|||
"#73b9bc", |
|||
"#7289ab", |
|||
"#91ca8c", |
|||
"#f49f42" |
|||
], |
|||
"label": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"map": { |
|||
"itemStyle": { |
|||
"areaColor": "#eee", |
|||
"borderColor": "#444", |
|||
"borderWidth": 0.5 |
|||
}, |
|||
"label": { |
|||
"color": "#000" |
|||
}, |
|||
"emphasis": { |
|||
"itemStyle": { |
|||
"areaColor": "rgba(255,215,0,0.8)", |
|||
"borderColor": "#444", |
|||
"borderWidth": 1 |
|||
}, |
|||
"label": { |
|||
"color": "rgb(100,0,0)" |
|||
} |
|||
} |
|||
}, |
|||
"geo": { |
|||
"itemStyle": { |
|||
"areaColor": "#eee", |
|||
"borderColor": "#444", |
|||
"borderWidth": 0.5 |
|||
}, |
|||
"label": { |
|||
"color": "#000" |
|||
}, |
|||
"emphasis": { |
|||
"itemStyle": { |
|||
"areaColor": "rgba(255,215,0,0.8)", |
|||
"borderColor": "#444", |
|||
"borderWidth": 1 |
|||
}, |
|||
"label": { |
|||
"color": "rgb(100,0,0)" |
|||
} |
|||
} |
|||
}, |
|||
"categoryAxis": { |
|||
"axisLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisTick": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisLabel": { |
|||
"show": true, |
|||
"color": "#eeeeee" |
|||
}, |
|||
"splitLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": [ |
|||
"#aaaaaa" |
|||
] |
|||
} |
|||
}, |
|||
"splitArea": { |
|||
"show": false, |
|||
"areaStyle": { |
|||
"color": [ |
|||
"#eeeeee" |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
"valueAxis": { |
|||
"axisLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisTick": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisLabel": { |
|||
"show": true, |
|||
"color": "#eeeeee" |
|||
}, |
|||
"splitLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": [ |
|||
"#aaaaaa" |
|||
] |
|||
} |
|||
}, |
|||
"splitArea": { |
|||
"show": false, |
|||
"areaStyle": { |
|||
"color": [ |
|||
"#eeeeee" |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
"logAxis": { |
|||
"axisLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisTick": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisLabel": { |
|||
"show": true, |
|||
"color": "#eeeeee" |
|||
}, |
|||
"splitLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": [ |
|||
"#aaaaaa" |
|||
] |
|||
} |
|||
}, |
|||
"splitArea": { |
|||
"show": false, |
|||
"areaStyle": { |
|||
"color": [ |
|||
"#eeeeee" |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
"timeAxis": { |
|||
"axisLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisTick": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"axisLabel": { |
|||
"show": true, |
|||
"color": "#eeeeee" |
|||
}, |
|||
"splitLine": { |
|||
"show": true, |
|||
"lineStyle": { |
|||
"color": [ |
|||
"#aaaaaa" |
|||
] |
|||
} |
|||
}, |
|||
"splitArea": { |
|||
"show": false, |
|||
"areaStyle": { |
|||
"color": [ |
|||
"#eeeeee" |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
"toolbox": { |
|||
"iconStyle": { |
|||
"borderColor": "#999999" |
|||
}, |
|||
"emphasis": { |
|||
"iconStyle": { |
|||
"borderColor": "#666666" |
|||
} |
|||
} |
|||
}, |
|||
"legend": { |
|||
"textStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"tooltip": { |
|||
"axisPointer": { |
|||
"lineStyle": { |
|||
"color": "#eeeeee", |
|||
"width": "1" |
|||
}, |
|||
"crossStyle": { |
|||
"color": "#eeeeee", |
|||
"width": "1" |
|||
} |
|||
} |
|||
}, |
|||
"timeline": { |
|||
"lineStyle": { |
|||
"color": "#eeeeee", |
|||
"width": 1 |
|||
}, |
|||
"itemStyle": { |
|||
"color": "#dd6b66", |
|||
"borderWidth": 1 |
|||
}, |
|||
"controlStyle": { |
|||
"color": "#eeeeee", |
|||
"borderColor": "#eeeeee", |
|||
"borderWidth": 0.5 |
|||
}, |
|||
"checkpointStyle": { |
|||
"color": "#e43c59", |
|||
"borderColor": "#c23531" |
|||
}, |
|||
"label": { |
|||
"color": "#eeeeee" |
|||
}, |
|||
"emphasis": { |
|||
"itemStyle": { |
|||
"color": "#a9334c" |
|||
}, |
|||
"controlStyle": { |
|||
"color": "#eeeeee", |
|||
"borderColor": "#eeeeee", |
|||
"borderWidth": 0.5 |
|||
}, |
|||
"label": { |
|||
"color": "#eeeeee" |
|||
} |
|||
} |
|||
}, |
|||
"visualMap": { |
|||
"color": [ |
|||
"#bf444c", |
|||
"#d88273", |
|||
"#f6efa6" |
|||
] |
|||
}, |
|||
"dataZoom": { |
|||
"backgroundColor": "rgba(47,69,84,0)", |
|||
"dataBackgroundColor": "rgba(255,255,255,0.3)", |
|||
"fillerColor": "rgba(167,183,204,0.4)", |
|||
"handleColor": "#a7b7cc", |
|||
"handleSize": "100%", |
|||
"textStyle": { |
|||
"color": "#eeeeee" |
|||
} |
|||
}, |
|||
"markPoint": { |
|||
"label": { |
|||
"color": "#eeeeee" |
|||
}, |
|||
"emphasis": { |
|||
"label": { |
|||
"color": "#eeeeee" |
|||
} |
|||
} |
|||
} |
|||
}); |
|||
})); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue