Commit efeb4e5c86ec3cbb007eaa4d63407367edc6f7be
1 parent
2513173d
积分支付的,要显示 ‘-’ 号
Showing
1 changed file
with
1 additions
and
1 deletions
pages/user/integral/integral.wxml
| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | </view> |
| 41 | 41 | </view> |
| 42 | 42 | <view class="val" style='color:{{(details.InIntegral!="0")?"green":""}}'> |
| 43 | - {{(details.OutIntegral==0)?"+":""}}{{(details.InIntegral==0)?filter.getNum(details.OutIntegral):filter.getNum(details.InIntegral)}}积分 </view> | |
| 43 | + {{(details.OutIntegral==0)?"+":"-"}}{{(details.InIntegral==0)?details.OutIntegral:details.InIntegral}}积分 </view> | |
| 44 | 44 | </view> |
| 45 | 45 | <view style="clear:both"></view> |
| 46 | 46 | </block> | ... | ... |