Authored by 郭成尧

return-value-coin

... ... @@ -428,6 +428,8 @@ class payModel extends global.yoho.BaseModel {
if (result && result[2] && result[2].data && result[2].data.payment_amount) {
resu.packageTitle = _.get(result[3], 'data.notice', '');
resu.gain_yoho_coin = _.get(result[3], 'data.gain_yoho_coin', 0);
resu.growth_value = _.get(result[3], 'data.growth_value', 0);
resu.payment = result[2].data.payment_amount;
... ...
... ... @@ -28,7 +28,22 @@
<td>支付宝</td>
</tr>
{{/if}}
{{#if gain_yoho_coin}}
<tr>
<td>返有货币</td>
<td>{{gain_yoho_coin}}</td>
</tr>
{{/if}}
{{#if growth_value}}
<tr>
<td>返成长值</td>
<td>{{growth_value}}</td>
</tr>
{{/if}}
</table>
{{#ifor gain_yoho_coin growth_value}}
<div class="growth-tip"><span class="iconfont icon-wenhao"></span>有货币与VIP成长值在确认收货后自动到账</div>
{{/ifor}}
</div>
<div class="btn-c">
<a href="/">随便逛逛</a>
... ... @@ -52,4 +67,3 @@
</div>
{{> home/maybe-like}}
</div>
... ...
... ... @@ -59,6 +59,11 @@
text-align: right;
}
}
.growth-tip {
color: #b0b0b0;
font-size: 24px;
}
}
.btn-c {
... ...