payment.htm 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. ##tlayout("www/layout.htm"){
  2. <section class="container">
  3. <div class="row my-detail">
  4. <div class="col-sm-8">
  5. <h3 class="order-number">订单号:${orders.code!}</h3>
  6. <div class="order-title" style="margin-top: 10px;">订单信息</div>
  7. <div class="address">
  8. <p>收件人:${orders.take_name!}&nbsp;&nbsp;${orders.take_phone!}</p>
  9. <p>收件地址:${orders.take_area_msg!}&nbsp;&nbsp;${orders.take_address!}&nbsp;&nbsp;${orders.take_post_code!}</p>
  10. ##if(orders.remark!=null && orders.remark!=""){
  11. <p>备注信息:${orders.remark!}</p>
  12. ##}
  13. ##if(orders.invoice_name!=null && orders.invoice_name!=""){
  14. <p>发票信息:${orders.invoice_name!}&nbsp;&nbsp;${orders.invoice_number!}</p>
  15. ##}
  16. </div>
  17. <div class="order-title">商品信息(${item_list.~size!})</div>
  18. <div class="order-list">
  19. ##for(_item in item_list!){
  20. <div class="order-item clearfix">
  21. <div class="item-img pull-left">
  22. <a href="${_item.diy_img_url!}" target="_blank">
  23. <img src="${_item.diy_img_url!}" class="img-responsive" style="width: 100px;" />
  24. </a>
  25. </div>
  26. <div class="item-title">
  27. <h5 class="ellipsis">${_item.diy_title!}</h5>
  28. <p class="describe">${_item.diy_remark!}</p>
  29. <p class="describe">${_item.bottle_title!}&nbsp;|&nbsp;${_item.bottle_type_title!}</p>
  30. </div>
  31. <div class="item-num">¥${_item.item_price!} * ${_item.item_number!}箱</div>
  32. <div class="item-price">¥${_item.subtotal!}</div>
  33. </div>
  34. ##}
  35. </div>
  36. </div>
  37. <div class="col-sm-4">
  38. <div class="order-box">
  39. <div class="order-info">
  40. <h4>价格信息</h4>
  41. <p class="clearfix"><span class="pull-left">商品小计</span><span class="pull-right">¥${orders.subtotal!}</span></p>
  42. <p class="clearfix"><span class="pull-left">运费</span><span class="pull-right">¥${orders.freight_price!}</span></p>
  43. <hr />
  44. <p class="clearfix"><strong class="pull-left">总计</strong><strong class="pull-right">¥${orders.grand_total!}</strong></p>
  45. </div>
  46. <form method="post" action="/shop/paymentType" id="submit_form" class="payment_form_wap">
  47. <div class="payment_form_c">
  48. <div class="payment_item">
  49. <div class="payment_item_content">
  50. <input type="radio" id="payment1" name="payment" value="1" checked="checked" />
  51. <label for="payment1">微信支付</label>
  52. </div>
  53. </div>
  54. <div class="payment_item">
  55. <div class="payment_item_content">
  56. <input type="radio" id="payment2" name="payment" value="2" />
  57. <label for="payment2">银行卡支付</label>
  58. </div>
  59. </div>
  60. <div class="payment_item">
  61. <div class="payment_item_content">
  62. <input type="radio" id="payment3" name="payment" value="3" />
  63. <label for="payment3">支付宝支付</label>
  64. </div>
  65. </div>
  66. </div>
  67. <input type="hidden" name="code" value="${orders.code!}" />
  68. </form>
  69. <div class="order-list">
  70. <button type="button" class="btn btn-lightblue btn-lg btn-block" onclick="$('#submit_form').submit()">立即支付</button>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </section>
  76. ##}