bankPay.htm 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ##tlayout("wap/layout.htm",{head_title:"银行卡转账"}){
  2. <div class="body">
  3. <div class="pay_choose">
  4. <div class="tip_title">收款账号</div>
  5. <div class="wells_row wells_row_notomargin">
  6. <div class="wells_item wells_item_input">
  7. <span class="wells_item_hd wells_item_hd_w5">银行卡账号</span>
  8. <span class="right_title right_title_w100">${finance_msg.bank_number!}</span>
  9. </div>
  10. <div class="wells_item wells_item_input">
  11. <span class="wells_item_hd wells_item_hd_w5">持有人姓名</span>
  12. <span class="right_title right_title_w100">${finance_msg.bank_name!}</span>
  13. </div>
  14. <div class="wells_item wells_item_input">
  15. <span class="wells_item_hd wells_item_hd_w5">开户行</span>
  16. <span class="right_title right_title_w100">${finance_msg.bank_type!}</span>
  17. </div>
  18. <div class="wells_item wells_item_input">
  19. <span class="wells_item_hd wells_item_hd_w5">开户支行</span>
  20. <span class="right_title right_title_w100">${finance_msg.bank_address!}</span>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="pay_choose">
  25. <form action="/wap/shop/saveBankPay" method="post" id="submit_form">
  26. <div class="tip_title">转账账号</div>
  27. <div class="wells_row wells_row_notomargin">
  28. <div class="wells_item wells_item_input">
  29. <span class="wells_item_hd wells_item_hd_w5">银行卡账号</span>
  30. <span class="right_title right_title_w100">
  31. <input type="text" class="weui_input" name="bank_number" placeholder="银行卡账号" />
  32. </span>
  33. </div>
  34. <div class="wells_item wells_item_input">
  35. <span class="wells_item_hd wells_item_hd_w5">持有人姓名</span>
  36. <span class="right_title right_title_w100">
  37. <input type="text" class="weui_input" name="bank_name" placeholder="持有人姓名" />
  38. </span>
  39. </div>
  40. </div>
  41. <input type="hidden" name="code" value="${orders.code!}" />
  42. </form>
  43. </div>
  44. <div class="weui_btn_area">
  45. <a href="javascript:void(0)" class="weui_btn btn_success" onclick="submitForm()">已付款 ¥${orders.grand_total!}</a>
  46. </div>
  47. </div>
  48. <a href="/wap" class="goback"><span>首页</span></a>
  49. <script>
  50. function submitForm(){
  51. $('#submit_form').ajaxSubmit({
  52. success: function(data){
  53. alert(data.msg);
  54. if(data.success){
  55. window.location.href="/wap/user/orders";
  56. }
  57. }
  58. });
  59. return false;
  60. }
  61. </script>
  62. ##}