show_liushui.html
2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<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>