ListMethod.tpl
958 Bytes
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
<include file="./Header"/>
<div class="ui floating message">
<span class='ui teal tag label'>
{$file}
</span>
<br/><br/>
<h1 class="ui header">接口列表</h1>
<table class="ui black celled striped table">
<thead>
<tr>
<th>#</th>
<th>接口服务</th>
<th>接口名称</th>
<th>更多说明</th>
</tr>
</thead>
<tbody>
<if condition="empty($methods)">
<tr>
<td colspan="3">no method</td>
</tr>
</if>
<foreach name="methods" key="index" item="m">
<tr>
<td>{$index}</td>
<td><a href="{$docUrl}?file={$file}&method={$index}">{$m['service']}</a></td>
<td>{$m['title']}</td>
<td>{$m['desc']}</td>
</tr>
</foreach>
</tbody>
</table>
</div>
<p/>
<include file="./Footer"/>