12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- {extend name='main'}
- {block name="button"}
- {/block}
- {block name="content"}
- <div class="think-box-shadow">
- {include file='wechat_user/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'>
- <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
- </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>
- <th class='text-left nowrap'>创建时间</th>
- <!-- <th class='text-left nowrap'>状态</th>-->
- <th class='text-left nowrap'></th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr data-dbclick>
- <td class='list-table-check-td think-checkbox'>
- <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
- </td>
- <td class='text-left nowrap'> <img data-tips-image style="width:60px;height:60px" src="{$vo.avatar|default=''}" class="margin-right-5 text-top"></td>
- <td class='text-left nowrap'>{$vo.nickname|default='-'}</td>
- <td class='text-left nowrap'>{$vo.mobile|default=0}</td>
- <td class='text-left nowrap'>{$vo.level}</td>
- <td class='text-left nowrap'>{$vo.price}</td>
- <td class='text-left nowrap'>{$vo.create_time}</td>
- <td class='text-left nowrap'>
- {eq name='vo.levels' value='1'}
- <a class="layui-btn layui-btn-sm" data-title="修改积分" data-modal='{:url("edit")}?id={$vo.id}&type=2'>修改积分</a>
- {/eq}
- {eq name='vo.levels' value='2'}
- <a class="layui-btn layui-btn-sm" data-title="修改积分" data-modal='{:url("edit")}?id={$vo.id}&type=2'>修改积分</a>
- {/eq}
- {eq name='vo.levels' value='1'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userorder/index")}?id={$vo.id}'>服务订单</a>
- {/eq}
- {eq name='vo.levels' value='2'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userorder/index")}?id={$vo.id}'>服务订单</a>
- {/eq}
- <!-- {if auth("pass")}-->
- <!-- <a class="layui-btn layui-btn-normal layui-btn-sm" data-title="施工照片" data-modal='{:url("pass")}?id={$vo.id}'>施工照片</a>-->
- <!-- {/if}-->
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userimage/index")}?id={$vo.id}'>施工照片管理</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userapp/index")}?id={$vo.id}'>线上预约</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userfeedback/index")}?id={$vo.id}'>跟进反馈</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userweixiu/index")}?id={$vo.id}&type=1'>维修</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userweixiu/index")}?id={$vo.id}&type=2'>报备</a>
- {/eq}
- <a class="layui-btn layui-btn-sm" data-title="修改信息" data-modal='{:url("edits")}?id={$vo.id}&type=2'>修改信息</a>
- <a data-dbclick class="layui-btn layui-btn-sm" data-title="备注" data-modal='{:url("beizhu")}?id={$vo.id}&type=2'>备注</a>
- {if auth("remove")}
- <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该用户吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
- {/if}
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|