张雄 3 years ago
parent 30984fa8be
commit a7d4567b28

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

@ -4,6 +4,6 @@
} }
.dv-scroll-board .header .header-item { .dv-scroll-board .header .header-item {
color: #3373CC; color: #63AECC;
font-weight: bold; font-weight: bold;
} }

@ -9,11 +9,12 @@
require("./echarts-wordcloud"); require("./echarts-wordcloud");
let maskImage = new Image(); let maskImage = new Image();
maskImage.src = require('@/assets/images/carRound.png'); maskImage.src = require('@/assets/images/carSide.png');
let colors = ['rgba(84,111,197,1)', 'rgba(145,203,116,1)', 'rgba(90,203,156,1)', 'rgba(248,200,87,1)', 'rgba(237,101,101,1)', "rgba(114,191,222,1)", 'rgba(58,162,114,1)', 'rgba(251,131,81,1)'] let colors = ['rgba(84,111,197,1)', 'rgba(145,203,116,1)', 'rgba(90,203,156,1)', 'rgba(248,200,87,1)', 'rgba(237,101,101,1)', "rgba(114,191,222,1)", 'rgba(58,162,114,1)', 'rgba(251,131,81,1)']
//报纸的样式 //报纸的样式
function newspaper() { function newspaper() {
let colorArr = ['#423312', '#605030', '#9A855B', '#DFC8A4']; // let colorArr = ['#423312', '#605030', '#9A855B', '#DFC8A4'];
let colorArr = ['#FFF','#3373CC','#CC9D12','#54BF93']
let colorIndex = Math.ceil(Math.random() * 3); let colorIndex = Math.ceil(Math.random() * 3);
return colorArr[colorIndex]; return colorArr[colorIndex];
} }

@ -95,7 +95,7 @@ export default function createOpt(dx, ds) {
[ [
{ {
offset: 0, offset: 0,
color: "rgba(91, 157, 249, 0)", // 0% 处的颜色 color: "rgb(65,117,203,0.4)", // 0% 处的颜色
}, },
{ {
offset: 1, offset: 1,

@ -85,9 +85,9 @@ export default function createOpt(dx = [], ds = []) {
color: '#fff', color: '#fff',
fontSize: 10 fontSize: 10
}, },
itemWidth: 15, itemWidth: 12,
itemHeight: 12 itemHeight: 12,
borderRadius: 1, //圆角半径
}, },
xAxis: { xAxis: {
type: 'category', type: 'category',

@ -79,7 +79,7 @@ export default function createOpt(dy=[],ds=[]) {
[ [
{ {
offset: 0, offset: 0,
color: "rgba(91, 157, 249, 0)", // 0% 处的颜色 color: "rgb(65,117,203,0.4)", // 0% 处的颜色
}, },
{ {
offset: 1, offset: 1,

Loading…
Cancel
Save