Browse Source

修改

feature/syp_points
曲树通 5 years ago
parent
commit
2cb7fe89fe
  1. 14
      src/views/modules/points/points-overview.vue

14
src/views/modules/points/points-overview.vue

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

Loading…
Cancel
Save