<!--{assign var="menu_id" value="pay"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<body class="bg_body">
<div class="oe_top bg_main color_f cursor">
  <!--{if $nofollow == '1'}-->
  <a href="<!--{$oefile}-->"><span class="back"><i class="iconfont icon-fanhui"></i></span></a>
  <!--{else}-->
  <span class="back" f="back"><i class="iconfont icon-fanhui"></i></span>
  <!--{/if}-->
  <h1>在线支付…</h1>
</div>
<div class="h48"></div>
<div class="bg_f p20 lh24 fz14">
  <div>
    支付金额：
    ¥ <b class="color_f40 fz18"><!--{$payorder.amount}--></b>
  </div>
  <div>
    订单标题：
    <!--{$payorder.title}-->
  </div>
  <div>
    订单号：
    <!--{$payorder.paynum}-->
  </div>
</div>

<div class="bg_f mt10 plr30 pt15 pb15 cursor">

  <!--{if $config.weixin_payflag == '1'}-->
  <!--{if $usewxpublic == '1'}-->
  <div class="pr fz18 lh50 bo_bf7 pb10 mb10" f="but_sel_pay" data-sdkid="998" data-sdkname="weixinpay">
    <span class="inline_block img_35 vam t_1 pr mr5">
      <img class="ob_c" src="<!--{$wapskin}-->images/pay_4.png" />
    </span>
    微信支付(公众号)
    <span class="pa rt _gou"><i class="iconfont icon-tubiao-xuanze fz24 color_9"></i></span>
  </div>
  <!--{else}-->
  <!--{if $config.weixin_h5pay == '1'}-->
  <div class="pr fz18 lh50 bo_bf7 pb10 mb10" f="but_sel_pay" data-sdkid="997" data-sdkname="wxh5pay">
    <span class="inline_block img_35 vam t_1 pr mr5">
      <img class="ob_c" src="<!--{$wapskin}-->images/pay_4.png" />
    </span>
    微信支付(H5)
    <span class="pa rt _gou"><i class="iconfont icon-tubiao-xuanze fz24 color_9"></i></span>
  </div>
  <!--{/if}-->
  <!--{/if}-->
  <!--{/if}-->
  
  <!--{assign var="pay_list" value=vo_list("mod={payment} where={v.type='wap' AND v.flag='1' AND v.sdkflag='1'}")}--> 
  <!--{if !empty($pay_list)}-->
  <!--{foreach $pay_list as $volist}-->
    <!--{if $volist.sdkname == 'wapalipay'}-->
    <!--{if $usewxpublic == '0'}-->
    <div class="pr fz18 lh50 bo_bf7 pb10 mb10" f="but_sel_pay" data-sdkid="<!--{$volist.sdkid}-->" data-sdkname="<!--{$volist.sdkname}-->">
      <span class="inline_block img_35 vam t_1 pr mr5">
        <img class="ob_c" src="<!--{$wapskin}-->images/pay_5.png" />
      </span>
      支付宝支付
      <span class="pa rt _gou"><i class="iconfont icon-tubiao-xuanze fz24 color_9"></i></span>
    </div>
    <!--{/if}-->
    <!--{else $volist.sdkname == 'wapyjpay'}-->
    <div class="pr fz18 lh50 pb10" f="but_sel_pay" data-sdkid="<!--{$volist.sdkid}-->" data-sdkname="<!--{$volist.sdkname}-->">
      <span class="inline_block img_35 vam t_1 pr mr5">
        <img class="ob_c" src="<!--{$wapskin}-->images/pay_6.png" />
      </span>
      银行卡支付
      <span class="pa rt _gou"><i class="iconfont icon-tubiao-xuanze fz24 color_9"></i></span>
    </div>
    <!--{/if}-->
  <!--{/foreach}-->
  <!--{/if}-->
  
  <!--{if $payorder.paytype == "taocan"}-->
  <!--{if $login.status == '1'}-->
  <!--{if doubleval($login.info.money) >= doubleval($payorder.amount)}-->
  <div class="pr fz16 lh50" f="but_sel_pay" data-sdkid="999" data-sdkname="balance">
    <span class="color_f40 inline_block pr10 vam">
      <i class="iconfont icon-yue fz30"></i>
    </span>
    余额支付 (¥<em class="color_f40"><!--{$login.info.money}--></em>)
    <span class="pa rt _gou"><i class="iconfont icon-tubiao-xuanze fz24 color_9"></i></span>
  </div>
  <!--{/if}-->
  <!--{/if}-->
  <!--{/if}-->
 
</div>

<div class="pf lbr lh60 h50 bg_f t_center fz16 plr10 pt5 cursor">
  <input type="hidden" name="forward" id="forward" value="<!--{$forward}-->" />
  <input type="hidden" name="paynum" id="paynum" value="<!--{$payorder.paynum}-->" />
  <input type="hidden" name="sdkid" id="sdkid" value="" />
  <input type="hidden" name="sdkname" id="sdkname" value="" />
  <span class="block br bg_main ptb10 lhn color_f cursor" f="but_submit_pay" id="but_submit_pay">
    确定支付 ¥<em class="fb"><!--{$payorder.amount}--></em>
  </span>
</div>

<!--{include file="<!--{$oetplpath}-->widget/block_footjs.tpl"}-->
<script src="<!--{$wapskin}-->js/pay.js?v=<!--{$copyright_version}-->"></script>
<script src="<!--{$wapskin}-->js/pay.weixin.js?v=<!--{$copyright_version}-->"></script>
</body>
</html>