|
|
|
|
@ -469,9 +469,9 @@ export default { |
|
|
|
|
this.pieData = this.pieData.sort(function (a, b) { |
|
|
|
|
return b.y - a.y; |
|
|
|
|
}); |
|
|
|
|
this.pieData[0].h = 10; |
|
|
|
|
this.pieData[1].h = 5; |
|
|
|
|
this.pieData[2].h = 2; |
|
|
|
|
this.pieData[0].h = 15; |
|
|
|
|
this.pieData[1].h = 10; |
|
|
|
|
this.pieData[2].h = 5; |
|
|
|
|
this.shouData.map((item, index) => { |
|
|
|
|
if (index <= 10) { |
|
|
|
|
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count }); |
|
|
|
|
@ -847,7 +847,7 @@ export default { |
|
|
|
|
beta: 0, |
|
|
|
|
}, |
|
|
|
|
backgroundColor: null, |
|
|
|
|
marginTop: -45, |
|
|
|
|
marginTop: -10, |
|
|
|
|
}, |
|
|
|
|
colors: ["#00bdff", "#52f4c1", "#00dbec"], |
|
|
|
|
title: { |
|
|
|
|
@ -863,7 +863,7 @@ export default { |
|
|
|
|
pie: { |
|
|
|
|
allowPointSelect: true, |
|
|
|
|
cursor: "pointer", |
|
|
|
|
depth: 15, |
|
|
|
|
depth: this.fontSize(15), |
|
|
|
|
dataLabels: { |
|
|
|
|
enabled: true, //是否显示饼图的线形tip |
|
|
|
|
distance: "11%", |
|
|
|
|
@ -1728,7 +1728,7 @@ export default { |
|
|
|
|
background-size: 100% 100%; |
|
|
|
|
// background-position-y: 0.5rem; |
|
|
|
|
// background-position-x: -3px; |
|
|
|
|
top: 2rem; |
|
|
|
|
top: 2.2rem; |
|
|
|
|
left: 50%; |
|
|
|
|
transform: translate(-50%, -50%); |
|
|
|
|
} |
|
|
|
|
|