index.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
39
40
41
42
43
44
<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>
</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>
<th>日期</th>
</tr>
<volist name="mes" id="vo" key="k">
<tr>
<td>{$k}</td>
<td>{$vo.user_nickname}</td>
<td>{$vo.content}</td>
<td>{$vo.add_time|date='Y-m-d', ###}</td>
</tr>
</volist>
</table>
<ul class="pagination">{$page|default=''}</ul>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
$(".form-control").change(function () {
$.ajax({
url:"{:url('Type/listOrder')}",
data:{
id:$(this).attr('data-id'),
listorder:$(this).val()
},
type:"POST",
dataType:"JSON"
})
})
</script>
</body>
</html>