bankpay.htm 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ##tlayout("www/layout.htm"){
  2. <section class="container">
  3. <div class="row my-detail">
  4. <div class="col-sm-4 pay_page">
  5. <div class="order-box order-box-new">
  6. <div class="pay_title">银行卡转账</div>
  7. <div class="order-info">
  8. <h4>价格信息</h4>
  9. <p class="clearfix">
  10. <span class="pull-left">商品小计</span>
  11. <span class="pull-right">¥${orders.subtotal!}</span>
  12. </p>
  13. <p class="clearfix"><span class="pull-left">运费</span><span class="pull-right">¥${orders.freight_price!}</span></p>
  14. <hr />
  15. <p class="clearfix"><strong class="pull-left">总计</strong><strong class="pull-right">¥${orders.grand_total!}</strong></p>
  16. </div>
  17. <div class="order-info">
  18. <h4>收款账号</h4>
  19. <p class="clearfix">
  20. <span class="pull-left">银行卡账号:</span>
  21. <span class="pull-right">${finance_msg.bank_number!}</span>
  22. </p>
  23. <p class="clearfix">
  24. <span class="pull-left">持有人姓名:</span>
  25. <span class="pull-right">${finance_msg.bank_name!}</span>
  26. </p>
  27. <p class="clearfix">
  28. <span class="pull-left">开户行:</span>
  29. <span class="pull-right">${finance_msg.bank_type!}</span>
  30. </p>
  31. <p class="clearfix">
  32. <span class="pull-left">开户支行:</span>
  33. <span class="pull-right">${finance_msg.bank_address!}</span>
  34. </p>
  35. </div>
  36. <div class="order-list">
  37. <form action="/shop/saveBankPay" method="post" id="submit_form">
  38. <h4>转出账号</h4>
  39. <div class="bank_input">
  40. <span>银行卡账号:</span>
  41. <input type="text" name="bank_number" placeholder="银行卡账号" />
  42. </div>
  43. <div class="bank_input">
  44. <span>持有人姓名:</span>
  45. <input type="text" name="bank_name" placeholder="持有人姓名" />
  46. </div>
  47. <input type="hidden" name="code" value="${orders.code!}" />
  48. </form>
  49. <div style="height: 20px;"></div>
  50. <a href="javascript:void(0)" class="btn btn-lightblue btn-lg btn-block" onclick="submitForm()">已付款 ¥${orders.grand_total!}</a>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </section>
  56. <script>
  57. function submitForm(){
  58. $('#submit_form').ajaxSubmit({
  59. success: function(data){
  60. alert(data.msg);
  61. if(data.success){
  62. window.location.href="/user/orders";
  63. }
  64. }
  65. });
  66. }
  67. </script>
  68. ##}