index.wxml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <form bindsubmit="submitSub" report-submit='true'>
  3. <view class="payment-top acea-row row-column row-center-wrapper">
  4. <text class='name'>我的余额</text>
  5. <view class='pic'>¥<text class='pic-font'>{{userinfo.now_money || 0}}</text></view>
  6. </view>
  7. <view class="payment">
  8. <view class="nav acea-row row-around row-middle">
  9. <view class="item {{active==index?'on':''}}" wx:key='index' data-id="{{index}}" wx:for='{{navRecharge}}' bindtap="navRecharge">{{item}}</view>
  10. </view>
  11. <view wx:if='{{active}}'>
  12. <view class='input acea-row row-betweent row-bottom'>
  13. <text>¥</text><input placeholder='{{placeholder}}' focus="{{focus}}" bindfocus='setPlaceholder' type='digit' bindblur="setPlaceholderStatus" placeholder-class='placeholder' name='number' value='{{number}}'></input>
  14. </view>
  15. <view class="acea-row row-column">
  16.     <text class="tip">提示:</text>
  17. <view class="tip-samll">当前可转入佣金:
  18. <text class="font-color">¥{{userinfo.commissionCount || 0}}</text>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="picList acea-row row-between mt-20" wx:if='{{!active}}'>
  23. <view class="pic-box pic-box-color acea-row row-center-wrapper row-column {{activePic==index?'pic-box-color-active':''}}" wx:for='{{picList}}' wx:key='index' bindtap="picCharge" data-index="{{index}}" data-id="{{item.id}}" data-pic="{{item.give_money}}" data-quota="{{item.price}}">
  24. <view class="pic-number"><text class="pic-number-pic">{{item.price}}</text>元</view>
  25. <view class="pic-number">赠送:{{item.give_money}}元</view>
  26. </view>
  27. <view class="pic-box pic-box-color acea-row row-center-wrapper {{activePic==picList.length?'pic-box-color-active':''}}" bindtap="picCharge" data-id="0" data-index="{{picList.length}}">
  28. <input class="pic-number-pic" placeholder='{{placeholderOther}}' bindfocus='setOtherPlaceholder' bindblur="setOtherPlaceholderStatus" focus="{{focus}}" type='digit' placeholder-class="{{activePic==picList.length?'pic-box-color-active':''}}" name='number' value='{{number}}'></input>
  29. </view>
  30. </view>
  31. <view class='acea-row row-column'>
  32. <text class="tip mt-30">注意事项:</text>
  33. <text class="tip-samll" wx:for='{{recharge_attention}}' wx:key='index'>{{item}}</text>
  34. </view>
  35. <button class='but bg-color' formType="submit"> {{active ? '立即转入': '立即充值' }}</button>
  36. </view>
  37. </form>
  38. <authorize bind:onLoadFun="onLoadFun"></authorize>