index.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {extend name='admin@main'}
  2. {block name="content"}
  3. <div class="think-box-shadow">
  4. <table class="layui-table" lay-skin="line">
  5. <caption class="margin-bottom-10 text-left">{include file='member/index_search'}</caption>
  6. {notempty name='list'}
  7. <thead>
  8. <tr>
  9. <th class='list-table-check-td think-checkbox'>
  10. <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
  11. </th>
  12. <th class='text-left nowrap'>会员昵称</th>
  13. <th class='text-left nowrap'>会员手机</th>
  14. <th class='text-left nowrap'>会员级别</th>
  15. <th class='text-left nowrap'>注册时间</th>
  16. </tr>
  17. </thead>
  18. {/notempty}
  19. <tbody>
  20. {foreach $list as $key=>$vo}
  21. <tr>
  22. <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
  23. <td class='text-left nowrap'>
  24. {notempty name='vo.headimg'}
  25. <img data-tips-image style="width:20px;height:20px;vertical-align:top" src="{$vo.headimg|default=''}" class="margin-right-5">
  26. {/notempty}
  27. <div class="inline-block">{$vo.nickname|default='--'}</div>
  28. </td>
  29. <td class='text-left'>{$vo.phone|default='--'}</td>
  30. <td class='text-left'>
  31. {if $vo.vip_level eq 0} 游客会员
  32. {elseif $vo.vip_level eq 1} 临时会员({$vo.vip_date|default=''})
  33. {elseif $vo.vip_level eq 2} VIP1会员({$vo.vip_date|default=''})
  34. {elseif $vo.vip_level eq 3} VIP2会员({$vo.vip_date|default=''})
  35. {/if}
  36. </td>
  37. <td class='text-left'>{$vo.create_at|format_datetime}</td>
  38. </tr>
  39. {/foreach}
  40. </tbody>
  41. </table>
  42. {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
  43. </div>
  44. {/block}