|
|
|
@ -55,7 +55,7 @@ export default { |
|
|
|
legend: { |
|
|
|
orient: 'vertical', |
|
|
|
bottom: 'bottom', |
|
|
|
data: ['已兑换积分', '剩余积分'] |
|
|
|
data: ['剩余积分'] |
|
|
|
}, |
|
|
|
series: [ |
|
|
|
{ |
|
|
|
@ -66,11 +66,11 @@ export default { |
|
|
|
{ value: this.resultData.allPoints, name: '已兑换积分' }, |
|
|
|
{ value: this.resultData.residuePoints, name: '剩余积分' } |
|
|
|
], |
|
|
|
itemStyle: { |
|
|
|
emphasis: { |
|
|
|
shadowBlur: 10, |
|
|
|
shadowOffsetX: 0, |
|
|
|
shadowColor: 'rgba(0, 0, 0, 0.5)' |
|
|
|
label: { |
|
|
|
normal: { |
|
|
|
show: true, |
|
|
|
position: 'inner', |
|
|
|
formatter: "{b} {c} ({d}%)" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -93,7 +93,7 @@ export default { |
|
|
|
}, |
|
|
|
series: [{ |
|
|
|
data: [ |
|
|
|
{ value: (res.data.allPoints - res.data.residuePoints), name: '已兑换积分' }, |
|
|
|
{ value: (res.data.allPoints - res.data.residuePoints), name: '' }, |
|
|
|
{ value: res.data.residuePoints, name: '剩余积分' } |
|
|
|
] |
|
|
|
}] |
|
|
|
|