cash.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <image src="../../resource/bg_cash.png" class="c-head-bg"></image>
  2. <view class="c-head">
  3. <text class="title">可提现金额(元)</text>
  4. <button bindtap="toRecord">提现记录</button>
  5. <text class="balance">{{balance / 100}}</text>
  6. </view>
  7. <form bindsubmit="cash">
  8. <view class="c-body">
  9. <text class="title">提现金额</text>
  10. <view class="out">
  11. <text>¥</text>
  12. <input type="digit" name="amount" placeholder="0" placeholder-class="placeholder-default" maxlength="8" value="{{input}}"></input>
  13. </view>
  14. <text wx:if="{{error}}" class="tip red">输入金额超过可提现额度</text>
  15. <text wx:else class="tip">可提现金额<text class="yellow">{{balance / 100}}</text>元,单笔提现10元起</text>
  16. </view>
  17. <button class="btn-cash" form-type="submit">确定提现</button>
  18. <text class="c-footer">提现后1-3个工作日内到账</text>
  19. <text class="c-footer">如有疑问,可关注"冲顶王者"公众号</text>
  20. </form>
  21. <view class="dialog" catchtouchmove="wxvoid" hidden="{{hiddenDialog}}">
  22. <view class="dialog-main">
  23. <view class="dialog-body-cash">
  24. <text class="title">提现需完善信息</text>
  25. <text class="sub-title">为了遵照国家法律及税务规定,提现需实名用户,请完善以下信息</text>
  26. <form bindsubmit="finish">
  27. <input type="text" name="name" placeholder="请填写真实姓名" placeholder-class="placeholder-default" value="{{valueName}}"></input>
  28. <input type="number" name="card" placeholder="请填写身份证号码" placeholder-class="placeholder-default" value="{{valueCard}}"></input>
  29. <button form-type="submit">确定</button>
  30. </form>
  31. </view>
  32. <image src="../../resource/ic_close.png" class="dialog-close" bindtap="hiddenDialog"></image>
  33. </view>
  34. </view>