index.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {extend name='admin@main'}
  2. {block name="content"}
  3. <div class="think-box-shadow">
  4. {include file='member/index_search'}
  5. <table class="layui-table margin-top-10" lay-skin="line">
  6. {notempty name='list'}
  7. <thead>
  8. <tr>
  9. <th class='text-left nowrap' style="width: 15%">头像</th>
  10. <th class='text-left nowrap' style="width: 15%">姓名</th>
  11. <th class='text-left nowrap' style="width: 15%">手机号</th>
  12. <th class='text-left nowrap' style="width: 15%">昵称</th>
  13. <th class='text-left nowrap' style="width: 20%">职位</th>
  14. <th class='text-left nowrap' style="width: 20%">所属部门</th>
  15. <!--<th class="text-center" style="width: 20%">操作</th>-->
  16. </tr>
  17. </thead>
  18. {/notempty}
  19. <tbody>
  20. {foreach $list as $key=>$vo}
  21. <tr>
  22. <td class='text-left nowrap'>
  23. {notempty name='vo.headimg'}
  24. <img data-tips-image style="width:20px;height:20px;vertical-align:top" src="{$vo.headimg|default=''}" class="margin-right-5">
  25. {/notempty}
  26. </td>
  27. <td class='text-left nowrap'>
  28. <div class="inline-block">{$vo.name|default='--'}</div>
  29. </td>
  30. <td class='text-left'>{$vo.phone|default='--'}</td>
  31. <td class='text-left'>{$vo.nickname|default='--'}</td>
  32. <td class='text-left'>{$vo.title|default='--'}</td>
  33. <td class='text-left'>{$vo.department|default='--'}</td>
  34. <!--<td class='text-center nowrap'>
  35. {if $vo.status eq 1 and auth("forbid")}
  36. <a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('forbid')}" data-value="id#{$vo.id};status#0">禁 用</a>
  37. {elseif auth("resume")}
  38. <a class="layui-btn layui-btn-sm layui-bg-blue" data-action="{:url('resume')}" data-value="id#{$vo.id};status#1">启 用</a>
  39. {/if}
  40. </td>-->
  41. </tr>
  42. {/foreach}
  43. </tbody>
  44. </table>
  45. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  46. </div>
  47. {/block}