Browse Source

修改颜色值

lite
luyisha 3 years ago
parent
commit
136c63ef20
  1. 10
      src/views/index.vue

10
src/views/index.vue

@ -226,9 +226,6 @@ export default {
btgetdata() {
//
let that = this;
that.proportionData = [];
that.groupNameData = [];
that.dataP = [];
// console.log(type)
let rqtp;
switch (this.klselt) {
@ -777,9 +774,6 @@ export default {
getHomeBarData() {
let that = this;
that.proportionData = [];
that.groupNameData = [];
that.dataP = [];
homeApi.homeBarData().then(res => {
// /pass.passcc/allGroupTimeNum&granularity=daily
// get allTimeData
@ -886,7 +880,7 @@ export default {
')'
);
}
let color = ['#00d2ff', '#22e5d1', '#f4d64e', '#0072ff','#00d2ff', '#22e5d1', '#f4d64e', '#0072ff'];
let color = ['#ff9acc', '#6666ff', '#ff6600', '#02ff00','#00ffff', '#fdff00'];
let color1=[], color2=[], color3=[];
//
color.forEach((item) => {
@ -1003,7 +997,7 @@ export default {
myChart.clear();
option && myChart.setOption(option);
run(myChart);
}, 3000);
}, 4000);
}, 200)
},
},

Loading…
Cancel
Save