src/views/screen/temperature/statics/index.vue
@@ -55,7 +55,7 @@ }, series: [ { data: [36, 44, 38, 24, 63], data: [36, 44, 38, 24, 36], type: 'line', areaStyle: { color: { @@ -64,11 +64,10 @@ y: 0, x2: 0, y2: 1, colorStops: [{ offset: 0, color: '#00FFFF' // 0% 处的颜色 }, { offset: 1, color: 'rgba(0,255,255,0.2)' // 100% 处的颜色 }], colorStops: [ {offset: 0.2, color: 'rgba(0,255,255,0.5)' }, {offset: 1, color: 'rgba(0,255,255,0.1)' }, ], global: false // 缺省为 false } }