charge.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!--lionfish_comshop/pages/user/charge.wxml-->
  2. <view class='wrap'>
  3. <view class='charge-form'>
  4. <view class='tit'>
  5. <view>余额:</view>
  6. <navigator class='details' hover-class='none' url='/lionfish_comshop/pages/user/rechargeDetails'>明细</navigator>
  7. </view>
  8. <view class='charge-yue'>{{accountMoney}}</view>
  9. </view>
  10. <view class='charge-form'>
  11. <view class='tit'>
  12. <view>金额:</view>
  13. </view>
  14. <view class='list' wx:if="{{chargetype_list.length}}">
  15. <view class="list-item {{activeTypeId==item.id?'item-hover':''}}" wx:for="{{chargetype_list}}" wx:key="id" data-idx="{{index}}" bindtap="selChargeType">
  16. <view class='item-tit'>{{item.money}}元</view>
  17. <view class='item-subtit' wx:if="{{item.send_money>0}}">充{{item.money}}送{{item.send_money}}</view>
  18. </view>
  19. <view class='list-item_empty'></view>
  20. <view class='list-item_empty'></view>
  21. <view class='list-item_empty'></view>
  22. </view>
  23. <view class='flex-ipt'>
  24. <input class='money' min="0" step="0.01" type="digit" placeholder="输入金额" maxlength="15" bindinput="getMoney" bindfocus="bindIptFocus" bindblur="bindIptBlur" value="{{money}}"></input>
  25. <view class='bottom-line {{onFocus?"ipt-focus":""}}'></view>
  26. </view>
  27. <view wx:if="{{recharge_get_money==1&&rewardIdx>-1}}" class="mt10 red">
  28. 充值满{{chargeArr[rewardIdx].money}}元,赠送{{chargeArr[rewardIdx].send_money}}元
  29. </view>
  30. </view>
  31. <view class='btn {{canPay?"":"disable"}}' bindtap='wxcharge' style="{{canPay?'background:'+skin.color:'background:'+skin.lighter}}">确认</view>
  32. <view class='desc'>
  33. <view class='h2'>说明:</view>
  34. <view class="wxParse">
  35. <parser html="{{member_charge_publish}}" />
  36. </view>
  37. </view>
  38. </view>