123456789101112131415161718 |
- <table class="table table-border">
- <thead><tr><th class="w60 fn-tac">排序</th><th class="w80 fn-tac">行政编码</th><th>城市名称</th></tr></thead>
- <tbody>
- {foreach $lists as $vo}
- <tr>
- <td class="fn-tac"><input name="sort" class="fn-tac w40 input input-mini" type="text" value="{$vo['sort']}" id="{$vo.id}" /></td>
- <td class="fn-tac">{$vo.code}</td>
- <td><a href="{:url('admin.city/index',['parent_id'=>$vo.id])}">{$vo.name}</a></td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {$lists|raw}
- <script type="text/javascript">
- Do('base', 'layer', function () {
- sort("{:url('admin.city/sort')}")
- })
- </script>
|