commoncharge.html
1.2 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
<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>