get_teacherlist.html
1.7 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>审核成员</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="/assets/css/layui.css" media="all">
<style>
td, th {
text-align: center;
}
</style>
<!-- 注意:如果你直接复制所有代码到本地,上述css路径需要改成你本地的 -->
</head>
<body>
<div class="layui-form" style="padding: 10px 20px;">
<table class="layui-table" >
<thead>
<tr>
<th>顺序</th>
<th>姓名</th>
<th>手机号</th>
<th>专业</th>
<th>申请理由</th>
<th></th>
</tr>
</thead>
<tbody>
{notempty name="list"}
{volist name="list" id="data"}
<tr>
<td>{$data.sort}</td>
<td>{$data.user_name}</td>
<td>{$data.mobile}</td>
<td>{$data.college}</td>
<td>{notempty name="data.proposer_details"}{$data.proposer_details}{else /}暂无{/notempty}</td>
<td>{eq name="data.proposer_state" value="1"}无需审核{else/}<button class="btn btn-success btn-teacher-pass" data-id="{$data.id}" >审核通过</button>{/eq}</td>
</tr>
{/volist}
{else/}
<tr>
<td colspan="6" style="text-align: center;">暂无数据</td>
</tr>
{/notempty}
</tbody>
</table>
{notempty name="page"}
{$page}
{/notempty}
</div>
</body>
</html>