1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- ##tlayout("www/layout.htm"){
- <section class="container">
- <div class="row my-detail">
- <div class="col-sm-4 pay_page">
- <div class="order-box order-box-new">
- <div class="pay_title">银行卡转账</div>
- <div class="order-info">
- <h4>价格信息</h4>
- <p class="clearfix">
- <span class="pull-left">商品小计</span>
- <span class="pull-right">¥${orders.subtotal!}</span>
- </p>
- <p class="clearfix"><span class="pull-left">运费</span><span class="pull-right">¥${orders.freight_price!}</span></p>
- <hr />
- <p class="clearfix"><strong class="pull-left">总计</strong><strong class="pull-right">¥${orders.grand_total!}</strong></p>
- </div>
-
- <div class="order-info">
- <h4>收款账号</h4>
- <p class="clearfix">
- <span class="pull-left">银行卡账号:</span>
- <span class="pull-right">${finance_msg.bank_number!}</span>
- </p>
- <p class="clearfix">
- <span class="pull-left">持有人姓名:</span>
- <span class="pull-right">${finance_msg.bank_name!}</span>
- </p>
- <p class="clearfix">
- <span class="pull-left">开户行:</span>
- <span class="pull-right">${finance_msg.bank_type!}</span>
- </p>
- <p class="clearfix">
- <span class="pull-left">开户支行:</span>
- <span class="pull-right">${finance_msg.bank_address!}</span>
- </p>
- </div>
- <div class="order-list">
- <form action="/shop/saveBankPay" method="post" id="submit_form">
- <h4>转出账号</h4>
- <div class="bank_input">
- <span>银行卡账号:</span>
- <input type="text" name="bank_number" placeholder="银行卡账号" />
- </div>
- <div class="bank_input">
- <span>持有人姓名:</span>
- <input type="text" name="bank_name" placeholder="持有人姓名" />
- </div>
- <input type="hidden" name="code" value="${orders.code!}" />
- </form>
- <div style="height: 20px;"></div>
- <a href="javascript:void(0)" class="btn btn-lightblue btn-lg btn-block" onclick="submitForm()">已付款 ¥${orders.grand_total!}</a>
- </div>
- </div>
- </div>
- </div>
- </section>
- <script>
- function submitForm(){
-
- $('#submit_form').ajaxSubmit({
- success: function(data){
- alert(data.msg);
- if(data.success){
- window.location.href="/user/orders";
- }
- }
- });
- }
- </script>
- ##}
|