<extend name="Public/base" />
<block name="body" >
<link rel="stylesheet" type="text/css" media="all" href="__CSS__/pay.css">

  <script src="__JS__/jquery.min.js"></script>
  <script src="__JS__/rem.js"></script>
  <link rel="stylesheet" type="text/css" href="__CSS__/heard.css" />

<script type="text/javascript" src="__JS__/front/do.js"></script>
<script type="text/javascript" src="__JS__/front/cute.js"></script>
<script type="text/javascript" src="__JS__/front/dialog.js"></script>
<script type="text/javascript" src="__JS__/pay/common.js"></script>
<script type="text/javascript" src="__JS__/pay/yeepay.js"></script>
<link rel="stylesheet" href="__CSS__/dialog_base.css" />
  <script src="__JS__/rem.js"></script>
  <script src="__JS__/recharge.js"></script>
  <link rel="stylesheet" type="text/css" href="__CSS__/reset.css" />
  <link rel="stylesheet" type="text/css" href="__CSS__/heard.css" />
  <link rel="stylesheet" type="text/css" href="__CSS__/foot.css" />
  <link rel="stylesheet" type="text/css" href="__CSS__/recharge.css" />
<script src="__STATIC__/layer/layer.js" type="text/javascript"></script>
  <if condition="I('error') eq '账号不存在'">
    <script type="text/javascript">
      layer.msg('账号不存在',function(){});
    </script>
  </if>

<script type="text/javascript">

    $(function(){
      if($("#money2").val() != ''){
        $("#money2").parent().parent().siblings().children('input').removeProp("checked");
        $("#money2").parent().parent().siblings().removeClass('money_checked');
      }

      if($("#money11").val() != ''){
        $("#money11").parent().parent().siblings().children('input').removeProp("checked");
        $("#money11").parent().parent().siblings().removeClass('money_checked');
      }

      if($("#money12").val() != ''){
        $("#money12").parent().parent().siblings().children('input').removeProp("checked");
        $("#money12").parent().parent().siblings().removeClass('money_checked');
      }

      if($("#money3").val() != ''){
        $("#money3").parent().parent().siblings().children('input').removeProp("checked");
        $("#money3").parent().parent().siblings().removeClass('money_checked');
      }
      if($("#money4").val() != ''){
        $("#money4").parent().parent().siblings().children('input').removeProp("checked");
        $("#money4").parent().parent().siblings().removeClass('money_checked');
      }
      if($("#money1").val() != ''){
        $("#money1").parent().parent().siblings().children('input').removeProp("checked");
        $("#money1").parent().parent().siblings().removeClass('money_checked');
      }

      if($("#moneyjft").val() != ''){
        $("#moneyjft").parent().parent().siblings().children('input').removeProp("checked");
        $("#moneyjft").parent().parent().siblings().removeClass('money_checked');
      }


      if($('#form_alipay .money2').val()){
        $("#form_alipay .last_money").addClass('money_checked').siblings().removeClass('money_checked');
      }
      if($('#form_wxpay .money2').val()){
        $("#form_alipay .last_money").addClass('money_checked').siblings().removeClass('money_checked');
      }
      if($('#form_jubaobar .money2').val()){
        $("#form_alipay .last_money").addClass('money_checked').siblings().removeClass('money_checked');
      }

      if($('#form_jft .money2').val()){
        $("#form_jft .last_money").addClass('money_checked').siblings().removeClass('money_checked');
      }


      $(".last_money").click(function(){
        $(this).addClass('money_checked').siblings().removeClass('money_checked');
      });

    });

</script>
<!-- 主体内容 -->
  <div class="recharge_swiper">
    <img src="__IMG__/inner_banner1.png" alt="">
  </div>
  <div class="recharge_contain">
    <div class="recharge_title">
      <div class="title">账户充值</div>
    </div>


      <div class="recharge_select">
      <form action="{:U('beginPay')}" method="post" id="recharge_form">
      <div class="recharge_input">
        <div>充值账号:</div>
        <input type="text" name="uname1" id="toaccount2" value="">
      </div>
      <div class="recharge_input">
        <div>确认账号:</div>
        <input type="text" name="uname2" id="retoaccount2" value="">
      </div>
      <div class="select_input">
        <div class="title">选择金额:</div>
        <div class="select-box">
          <div class="select-box-soon">
            <div class="selectBg">10元</div>
            <div>30元</div>
            <div>50元</div>
            <div>100元</div>
            <div>300元</div>
            <div>500元</div>
            <div>1000元</div>

             <input type="hidden" name="amount" value="10" id="amount">
             <input type="hidden" name="apitype" value="alipay" id="apitype">

            <div class="price-input">其他
              <input type="text" onkeyup="this.value = this.value.replace(/[^0-9]/g, &#39;&#39;); get_game_coin2();">
              元
            </div>
          </div>
          <div class="price-show">
            <div>*兑换比例1元=1平台币</div>
            <div>本次充值获得平台币:<span>10</span></div>
          </div>
        </div>
      </div>
      </form>
      <div class="way-price">
        <div class="title">充值方式:</div>
        <div class="way-box">
          <div class="way-select">

<!--            <if condition="get_tool_status('alipay') eq 1">-->
<!--            <div class="wayBg" data-type="alipay">-->
<!--              <img src="__IMG__/zhifubaozhifu.png" alt="">-->
<!--              <span>支付宝</span>-->
<!--            </div>-->

<!--            </if>-->

<!--            <if condition="get_tool_status('weixin') eq 1 or get_tool_status('wei_xin') eq 1 or get_tool_status('weixin_gf') eq 1">-->
            <div class="wayBg" data-type="alipay">
              <img src="__IMG__/zhifubaozhifu.png" alt="">
              <span>支付宝</span>
            </div>
            <div class="" data-type="weixin">
              <img src="__IMG__/weixin.png" alt="">
              <span>微信支付</span>
            </div>

<!--            </if>-->

            <if condition="get_tool_status('jft') eq 1">
              <div class="" data-type="jft"><span class="p1_1 g" id="p1">竣付通</span></div>
            </if>

            <if condition="get_tool_status('goldpig') eq 2">
              <div class="" data-type="goldpig"><span class="p1_2 g" id="p1">金猪支付</span></div>
            </if>



          </div>
          <div class="way-show">
            <div>您当前选择的是:<span>支付宝</span></div>
            <div><a href="{:U('Service/detail',['kefu'=>'pay'])}">充值遇到问题?</a> </div>
          </div>
          <div class="recharge-btn" style="cursor: pointer">账户充值</div>
        </div>
      </div>
    </div>


  </div>
  <!-- foot -->
  <div class="foot">
    <div class="foot_box">
      <div class="foot_top">
        <img src="__IMG__/foot_logo.png" alt="">
        <div class="foot_top_ri">
          <div class="foot_link">
            <a href="/media.php?s=/Article/news1/type/supervise.html">家长监护</a>
            <a href="/media.php?s=/Service/index.html">客服帮助</a>
            <a href="http://www.grandall.com.cn/">国浩律所</a>
          </div>
          <div class="foot_serial">
            <span>备案号:琼ICP备19000556号-1</span>
            <span>网络文化经营许可证编号:琼网文(2019)2354-200号</span>
          </div>
          <div class="foot_code">copyright2019</div>
          <div class="foot_approve"> <img  src="__IMG__/foot_slide.png" alt=""></div>
        </div>
      </div>
      <div class="foot_bom">抵制不良网页游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。适龄提示:适合12周岁以上使用。</div>
    </div>
  </div>
  <!-- 侧导航 -->
  <div class="side_tabbar">
    <img src="__IMG__/index_about/qrcode.png" alt="">
  </div>
</block>