commoncharge.html 1.2 KB
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">所有充值</a></li>
        <li><a href="{:url('Charge/commonChargeAdd')}">添加普通充值</a></li>
    </ul>

    <form class="js-ajax-form" action="" method="post">
        <table class="table table-hover table-bordered table-list">
            <tr>
                <th>序号</th>
                <th>价格</th>
                <th>操作</th>
            </tr>
            <volist name="list" id="vo" key="k">
                <tr>
                    <td>{$k}</td>
                    <td>{$vo.denomination}</td>
                    <td><a href="{:url('charge/commonChargeEdit',['id'=>$vo['id']])}">编辑</a> |
                        <a href="{:url('charge/chargeDel',['id'=>$vo['id']])}" onclick="return isDel()">删除</a> |
                        改变状态</td>
                </tr>
            </volist>
        </table>
        <ul class="pagination">{$page|default=''}</ul>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
    function isDel() {
        if(!window.confirm('是否确认删除?')) {
            return false;
        }
    }
</script>
</body>
</html>