Commit 40dd7920 by 高淑倩

modify: 进度条

parent c6ed6b19
...@@ -27,8 +27,7 @@ wxService.page({ ...@@ -27,8 +27,7 @@ wxService.page({
exchangeCount: 0, exchangeCount: 0,
totalPoints: 0 totalPoints: 0
}, },
currentPercent: (100 / 5) * 2, currentPercent: 0, // 当前进度
// currentPercent: 0, // 当前进度
isDisabled: false isDisabled: false
}, },
/** /**
...@@ -82,8 +81,8 @@ wxService.page({ ...@@ -82,8 +81,8 @@ wxService.page({
if (result == 0) { if (result == 0) {
this.setData({ this.setData({
countObj: data, countObj: data,
currentPercent: (100 / 5) * 2 // currentPercent: (100 / 5) * 2
// currentPercent: (100 / this.data.goal) * data.surplusPoints currentPercent: (100 / this.data.goal) * data.surplusPoints
}, () => { }, () => {
wx.hideLoading() 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