weixin-pay.hbs 1.75 KB
<div class="pay-wechatqrcode-page yoho-page clearfix">
    <div class="pay-title">
        <div class="step4"></div>
        <ul>
            <li><span>查看购物车</span></li>
            <li><span>填写订单</span></li>
            <li class="end"><span>付款,完成购买</span></li>
        </ul>
    </div>

    {{# order}}
    <div class="w-title">
        <div class="w-left">
            <h3>请您及时付款,以便订单尽快处理!订单号:{{order_code}}</h3>
            <p>
                请您提交订单
                <span class="js-time js-timer" data-time="{{pay_lefttime}}"></span>
                内完成,否则订单会自动取消。
            </p>
        </div>

        <div class="w-right">
            <p>应付金额<strong>{{payment_amount}}</strong></p>
            <a href="#" class="w-odetail">订单详情
                <i class="up"></i>
            </a>
        </div>
    </div>

    <div class="w-addrinfo">
        <p>
            收货地址: {{area}} {{address}}
            <span>收货人:{{user_name}}</span>
            {{mobile}}
        </p>
        {{#each order_goods}}
          {{#if @first}}
            <p>商品名称:{{product_name}}</p>
          {{/if}}
        {{/each}}
    </div>

    <div class="w-payment" data-order={{order_code}}>
        <h2>微信支付</h2>
        <div class="w-p-weixin">
            <div class="w-p-erm" data-url="{{../qrcodeUrl}}"></div>
            <div class="w-p-word">
                <p>请使用微信扫一扫</p>
                <p>扫描二维码支付</p>
            </div>
        </div>
        <a href="{{../choosePayUrl}}" class="w-pay-change">
            <i>&lt;</i>
            选择其他支付方式
        </a>
    </div>
    {{/ order}}
</div>