chargemoney.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--pages/chargemoney/chargemoney.wxml-->
  2. <view id='50' class="{{chargemoney_select==50?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
  3. <image src='/images/chargemoney{{chargemoney_select==50?2:1}}.png'></image>
  4. <view>
  5. <text>50元</text>
  6. </view>
  7. </view>
  8. <view id='100' class="{{chargemoney_select==100?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
  9. <image src='/images/chargemoney{{chargemoney_select==100?2:1}}.png'></image>
  10. <view>
  11. <text>100元</text>
  12. </view>
  13. </view>
  14. <view id='200' class="{{chargemoney_select==200?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
  15. <image src='/images/chargemoney{{chargemoney_select==200?2:1}}.png'></image>
  16. <view>
  17. <text>200元</text>
  18. </view>
  19. </view>
  20. <view id='500' class="{{chargemoney_select==500?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
  21. <image src='/images/chargemoney{{chargemoney_select==500?2:1}}.png'></image>
  22. <view>
  23. <text>500元</text>
  24. </view>
  25. </view>
  26. <view id='800' class="{{chargemoney_select==800?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
  27. <image src='/images/chargemoney{{chargemoney_select==800?2:1}}.png'></image>
  28. <view>
  29. <text>800元</text>
  30. </view>
  31. </view>
  32. <view id='1000' class="{{chargemoney_select==1000?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
  33. <image src='/images/chargemoney{{chargemoney_select==1000?2:1}}.png'></image>
  34. <view>
  35. <text>1000元</text>
  36. </view>
  37. </view>
  38. <view class='money_input'>
  39. <text>金额(元)</text>
  40. <input value='{{chargemoney_select}}' placeholder-class="section_phcolor" bindinput='saveMoney' type='number' placeholder="请输入充值金额" />
  41. </view>
  42. <button class='chargemoney_button' bindtap="beginChargemoney">立即充值(跳转微信支付)</button>