charge2.html 1.8 KB
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>我要充值</title>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <script type="text/javascript" src="__TMPL__/static/js/base.js"></script>
    <link rel="stylesheet" type="text/css" href="__TMPL__/static/assets/css/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="__TMPL__/static/assets/css/swiper-3.4.2.min.css" />
    <link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_773803_6y9erxzbkn2.css" />
    <script type="text/javascript" src="__TMPL__/static/assets/font/iconfont.js">
    </script>
    <link rel="stylesheet" href="__TMPL__/static/css/myWallet.css" />
</head>

<body>
<div class="out">
    <div class="btns">
        <div class="pay">
            充值套餐
        </div>
        <div class="activie">
            <a href="{:url('Center/charge')}">
                <div class="activity">普通充值</div>
            </a>
            <div class="ordinary">活动专享</div>
        </div>

        <div class="btnlist">
            <volist name="data" id="vo" key="k">
                <div data-id="{$vo.id}" class="btn <if condition="$k eq '1'">active one</if>">¥{$vo.denomination}送{$vo.bonus}</div>
            </volist>
    </div>
</div>

</div>
<div class="footer ok">
    一键充值
</div>
</body>

</html>
<script type="text/javascript" src="__TMPL__/static/assets/js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="__TMPL__/static/assets/js/swiper-3.4.2.min.js"></script>
<script type="text/javascript" src="__TMPL__/static/assets/js/weui.js"></script>
<script>
    $('.btn').click(function(){
        $(this).attr('class','btn active one');
        $(this).siblings().attr('class','btn');
    })

</script>