1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {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: 10%">头像</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' >成长值</th>
- <th class='text-left nowrap' style="width: 15%">手机号</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'>{$lev_set[$vo.level_id]|default='--'}</td>
- <td class='text-left'>{$vo.integral|default='0'}</td>
- <td class='text-left'>{$vo.growth|default='0'}</td>
- <td class='text-left'>{$vo.phone|default='--'}</td>
- <td class='text-left'>{$vo.create_at|format_datetime}</td>
- <td class='text-center nowrap'>
- <a class="layui-btn layui-btn-sm" data-modal="{:url('integral')}?id={$vo.id}" >积分变更</a>
- {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-btn-warm" data-action="{:url('resume')}" data-value="id#{$vo.id};status#1">启 用</a>
- {/if}
- {if auth("store/member/remove")}
- <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该用户吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}">删 除</a>
- {/if}
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|