Showing
1 changed file
with
2 additions
and
2 deletions
@@ -44,10 +44,10 @@ module.exports = class extends global.yoho.BaseModel { | @@ -44,10 +44,10 @@ module.exports = class extends global.yoho.BaseModel { | ||
44 | } else if (vip.current_total_growth <= vip.grades[2].val) { | 44 | } else if (vip.current_total_growth <= vip.grades[2].val) { |
45 | vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[2].val + scale); | 45 | vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[2].val + scale); |
46 | } else if (vip.current_total_growth <= vip.grades[3].val) { | 46 | } else if (vip.current_total_growth <= vip.grades[3].val) { |
47 | - vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[3].val + scale * 2) | 47 | + vip.current_total_percent = (vip.current_total_growth * scale / vip.grades[3].val + scale * 2); |
48 | } | 48 | } |
49 | 49 | ||
50 | - vip.current_total_percent = (vip.current_total_percent * 100).toFixed(2); | 50 | + vip.current_total_percent = (vip.current_total_percent * 100).toFixed(2); |
51 | 51 | ||
52 | vip.user_name = decodeURIComponent(this.ctx && this.ctx.req && this.ctx.req.user.name || ''); | 52 | vip.user_name = decodeURIComponent(this.ctx && this.ctx.req && this.ctx.req.user.name || ''); |
53 | 53 |
-
Please register or login to post a comment