123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {extend name='admin@main'}
- {block name="button"}
- <span class='layui-btn layui-btn-sm layui-btn-primary' onclick="power_btn();">权限设置</span>
- <button style="display: none" data-modal='{:url("power")}' data-csrf="{:systoken('power')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>权限设置</button>
- {/block}
- {block name="content"}
- <div class="think-box-shadow">
- {include file='invite/index_search'}
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='list-table-check-td think-checkbox'>
- <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
- </th>
- <th class='text-left nowrap'>排名</th>
- <th class='text-left nowrap'>会员头像</th>
- <th class='text-left nowrap'>会员昵称</th>
- <th class='text-left nowrap'>手机号</th>
- <th class='text-left nowrap'>邀请人数</th>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='list-table-check-td think-checkbox'>
- <input class="list-check-box" value='{$vo.id}' type='checkbox'>
- </td>
- <td class='text-left nowrap'>{$key+1+$off_set}</td>
- <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'>{$vo.name|default='--'}</td>
- <td class='text-left'>{$vo.phone|default='--'}</td>
- <td class='text-left'>{$vo.count|default='0'}</td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- <script>
- function power_btn()
- {
- console.log()
- }
- </script>
- {/block}
|