|
|
@ -510,6 +510,12 @@ |
|
|
|
// that.signCount = that.PrefixInteger(sumSginDay + 1, 4); |
|
|
|
// that.signCount = that.PrefixInteger(sumSginDay + 1, 4); |
|
|
|
that.signCount = String(sumSginDay + 1); |
|
|
|
that.signCount = String(sumSginDay + 1); |
|
|
|
that.userInfo.is_day_sgin = true; |
|
|
|
that.userInfo.is_day_sgin = true; |
|
|
|
|
|
|
|
that.userInfo.isDaySign = true; |
|
|
|
|
|
|
|
uni.showModal({ |
|
|
|
|
|
|
|
title:'签到成功!', |
|
|
|
|
|
|
|
showCancel: false, |
|
|
|
|
|
|
|
confirmColor: '#2DB5AE', |
|
|
|
|
|
|
|
}) |
|
|
|
that.userInfo.integral = add(that.userInfo.integral, res.data.integral); |
|
|
|
that.userInfo.integral = add(that.userInfo.integral, res.data.integral); |
|
|
|
that.getSignList(); |
|
|
|
that.getSignList(); |
|
|
|
}); |
|
|
|
}); |
|
|
|