{include file="$template_path/html/header.html"}
<link href="{$template_data}scripts/plug/mobanboxmedia/jquery.mobanboxmedia.css" rel="stylesheet" />
</head>
<body class="">
<section class="vbox">
  {include file="$template_path/html/pagenav.html"}
  <section>
    <section class="hbox stretch">
      {include file="$template_path/html/mobile-nav.html"}
      <section id="content" class="p-t-llg-xs">


        <section class="clearfix">

          <div class="container">
            <div class="row">
              <div class="col-md-10 col-md-offset-1">
                {$errorMessage}
              </div>
            </div>
          </div>

          <div class="container m-t-lg m-xs-t-sm">




            <div class="row">

              <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3 m-t-lg m-b-lg m-xs-t-none m-xs-b-none">
                <section class="panel no-shadow p-t-sm m-t-lg m-b-lg m-xs-t-none m-xs-b-md">
                  <div class="panel-heading text-black h3 h3-xs">选择支付方式</div>
                  <div class="panel-body">

                    {foreach from=$payments_data item=pm}

                    <div class="radioimgs clearfix m-b-md" id="radioimgs">
                      <div class="radioitem radio-inline i-checks">
                        <input class="checkbox" checked="checked" id="paymentway_1" name="paymentway" type="radio" value="0" />
                        <i></i>
                        <label for="paymentway_1"><img class="option" src="{$template_data}img/alipay.jpg" width="435px" alt="使用支付宝支付"/></label>
                      </div>

                    </div>
                    <div class="submitbtn clr" id="submitbtn">
                      <div style="">{$pm.form[0]}</div>
                    </div>


                    {/foreach}



                    {literal}
                    <script type="text/javascript">
                      seajs.use(["jq"], function($){
                        var btns = $("#submitbtn").find("div");
                        $("#radioimgs").find("input[type='radio']").each(function(e){
                          $(this).click(function(){
                            btns.eq(e).show().siblings("div").hide();
                          });
                        });
                      });
                    </script>
                    {/literal}





                  </div>

                </section>

              </div>


            </div>








          </div>
        </section>
        {include file="$template_path/html/footer.html"}
      </section>
    </section>
  </section>
</section>
</body>
</html>