123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- {extend name='admin@main'}
- {block name="content"}
- <div class="think-box-shadow">
- {include file='member/index_search'}
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='text-left nowrap' style="width: 15%">头像</th>
- <th class='text-left nowrap' style="width: 15%">姓名</th>
- <th class='text-left nowrap' style="width: 15%">手机号</th>
- <th class='text-left nowrap' style="width: 15%">昵称</th>
- <th class='text-left nowrap' style="width: 20%">职位</th>
- <th class='text-left nowrap' style="width: 20%">所属部门</th>
- <!--<th class="text-center" style="width: 20%">操作</th>-->
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='text-left nowrap'>
- {notempty name='vo.headimg'}
- <img data-tips-image style="width:20px;height:20px;vertical-align:top" src="{$vo.headimg|default=''}" class="margin-right-5">
- {/notempty}
- </td>
- <td class='text-left nowrap'>
- <div class="inline-block">{$vo.name|default='--'}</div>
- </td>
- <td class='text-left'>{$vo.phone|default='--'}</td>
- <td class='text-left'>{$vo.nickname|default='--'}</td>
- <td class='text-left'>{$vo.title|default='--'}</td>
- <td class='text-left'>{$vo.department|default='--'}</td>
- <!--<td class='text-center nowrap'>
- {if $vo.status eq 1 and auth("forbid")}
- <a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('forbid')}" data-value="id#{$vo.id};status#0">禁 用</a>
- {elseif auth("resume")}
- <a class="layui-btn layui-btn-sm layui-bg-blue" data-action="{:url('resume')}" data-value="id#{$vo.id};status#1">启 用</a>
- {/if}
- </td>-->
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|