Commit 40dd7920 by 高淑倩

modify: 进度条

parent c6ed6b19
......@@ -27,8 +27,7 @@ wxService.page({
exchangeCount: 0,
totalPoints: 0
},
currentPercent: (100 / 5) * 2,
// currentPercent: 0, // 当前进度
currentPercent: 0, // 当前进度
isDisabled: false
},
/**
......@@ -82,8 +81,8 @@ wxService.page({
if (result == 0) {
this.setData({
countObj: data,
currentPercent: (100 / 5) * 2
// currentPercent: (100 / this.data.goal) * data.surplusPoints
// currentPercent: (100 / 5) * 2
currentPercent: (100 / this.data.goal) * data.surplusPoints
}, () => {
wx.hideLoading()
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment