show_liushui.html 2.84 KB
<include file="public/layout"/>
<style>
    .bot {
        float: right;
        padding: 15px 0;
        width: 10%
    }

    .vdisib {
        display: inline-block;
        *display: inline;
        *zoom: 1;
        vertical-align: middle;
    }
</style>
<body style="background-color: rgb(255, 255, 255); min-width: 500px;
overflow: auto; cursor: default; -moz-user-select: inherit;">
<div class="page" style="padding: 0px 1% 0 1%;">
    <!-- 操作说明 -->
    <div class="flexigrid">
        <div class="mDiv">
            <div class="ftitle vdisib">
                <h3 class="vdisib">积分列表</h3>
                <h5 class="vdisib">(共{$pager->totalRows}条记录)</h5>
            </div>
            <div title="刷新数据" class="pReload vdisib"><i class="fa fa-refresh"></i></div>
        </div>

        <div style="margin-bottom: 10px">积分余额:{$user.pay_points}</div>
        <div class="bDiv" style="height: auto; border-top: 1px solid gainsboro">
            <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
                <table>
                    <thead>
                    <tr>
                        <td width="25%">
                            <div style="text-align: left;">日期</div>
                        </td>
                        <td width="35%">
                            <div style="text-align: left;">积分收支项目</div>
                        </td>
                        <td width="10%">
                            <div style="text-align: center; ">积分</div>
                        </td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="goodsList" id="list">
                        <tr>
                            <td width="25%">
                                <div style="text-align: left; ">{$list.change_time|date="Y-m-d H:i:s",###}</div>
                            </td>
                            <td width="35%">
                                <div style="text-align: left;">{$list.desc}</div>
                            </td>
                            <td width="10%">
                                <div style="text-align: center;">{$list.pay_points}</div>
                            </td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
        </div>
        <!--分页位置-->
        <div style="width: 90%;float: left">
            {$page}
        </div>

    </div>
</div>
<script>

    $(document).ready(function () {
        // 点击刷新数据
        $('.fa-refresh').click(function () {
            location.href = location.href;
        });

        $('#flexigrid > table>tbody >tr').click(function () {
            $(this).find('input[type="radio"]').attr('checked', 'checked');
        });
    });
</script>
</body>
</html>