score.html 4.4 KB
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>3-我的积分</title>
    <meta name="viewport" content="initial-scale=1,maximum-scale=1, minimum-scale=1">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/user/jifen.css">
    <script src="__TMPL__/public/assets/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__TMPL__/public/assets/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__TMPL__/public/assets/js/base.js" type="text/javascript" charset="utf-8"></script>
    <style>

    </style>
</head>

<body>
    <div class="container">
        <div class="head_box">
            <p class="all_jifen">{$member}</p>
            <p class="use_jifen">可用积分</p>
        </div>
        <div class="jifen_card">
            <div class="content_head">
                <ul class="select_card con_title">
                    <li class="select_card_list con_curr" >
                        <img src="__TMPL__/public/assets/images/dscfv@2x.png" alt="">
                        <p>积分明细</p>
                    </li>
                    <li class="select_card_list " >
                        <img src="__TMPL__/public/assets/images/dsfvafds@2x.png" alt="">
                        <p>积分使用记录</p>
                    </li>
                </ul>
            </div>
        </div>
        <div class="con_all">
            <div class="con_warp">
                <div class="list_box">
                    <ul>
                        <volist name="art" id="list">
                            <eq name="list.status" value="2">
                                <li class="list_item list_item_first">
                                    <p class="list_left">{$list.reason}</p>
                                    <p class="use_date">{$list.create_time|date='Y-m-d',###}</p>
                                    <p class="add_num">+{$list.score}</p>
                                </li>
                            </eq>
                        </volist>
                    </ul>
                    <img class="juchi" src="__TMPL__/public/assets/images/juchixing.png" alt="">
                </div>
            </div>
            <div class="con_warp" style="display: none">
                <div class="list_box">
                    <ul>
                        <volist name="art" id="list">
                            <eq name="list.status" value="3">
                                <li class="list_item list_item_first">
                                    <p class="list_left">{$list.reason}</p>
                                    <p class="use_date">{$list.create_time|date='Y-m-d',###}</p>
                                    <p class="add_num">-{$list.score}</p>
                                </li>
                            </eq>
                        </volist>

                    </ul>
                    <img class="juchi" src="__TMPL__/public/assets/images/juchixing.png" alt="">
                </div>
            </div>
        </div>
    </div>
    </div>
    <script>
    $(document).ready(function() {
        get_main_content();

        var $menu_box = $('.content_head .con_title>li');
        $menu_box.click(function() {
            $(this).attr('background', "#000");
            $(this).addClass('con_curr').siblings().removeClass('con_curr');
            var index = $menu_box.index(this);
            $('.con_all .con_warp').eq(index).show().siblings().hide();
        });
    })

    function get_main_content() {

    }
    //首页轮播图
    var swiper = new Swiper('.swiper-container', {

        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
    });
    //我要租赁-查找器材跳转
    $('.lookup_equipment').on('click', function() {
        window.location.href = 'common/zhinan.html'
    })
    //地理位置跳转
    $('.local_location').on('click', function() {
        window.location.href = 'common/map.html'
    })
    //我要购买-去挑选商品跳转

    //租赁指南跳转
    $('.zulin').on('click', function() {
        window.location.href = 'common/zhinan.html'
    });
    //关于我们跳转
    $('.us').on('click', function() {
        window.location.href = 'common/zhinan.html'
    })
    </script>
</body>

</html>