mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
107 lines
4.1 KiB
PHP
107 lines
4.1 KiB
PHP
{extend name='extra@admin/content' /}
|
|
|
|
{block name="button"}
|
|
|
|
<div class="nowrap pull-right" style="margin-top:10px">
|
|
<button data-load="{:url('sync')}" class='layui-btn layui-btn-small'>同步粉丝</button>
|
|
</div>
|
|
|
|
<div class="nowrap pull-right" style="margin-top:10px;margin-right:10px">
|
|
<button data-update="" data-action="{:url('backadd')}" class='layui-btn layui-btn-small'>移入黑名单</button>
|
|
</div>
|
|
|
|
{/block}
|
|
|
|
{block name="content"}
|
|
|
|
<!-- 表单搜索 开始 -->
|
|
<form class="animated form-search" action="__SELF__" onsubmit="return false" method="get">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-2">
|
|
<div class="form-group">
|
|
<input type="text" name="nickname" value="{$Think.get.nickname|default=''}" placeholder="昵称" class="input-sm form-control">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-2">
|
|
<div class="form-group">
|
|
<select name="sex" class="input-sm form-control">
|
|
<option value="">- 性别 -</option>
|
|
<!--{if $Think.get.sex eq 1}-->
|
|
<option selected value="1">- 男 -</option>
|
|
<!--{else}-->
|
|
<option value="1">- 男 -</option>
|
|
<!--{/if}-->
|
|
<!--{if $Think.get.sex eq 2}-->
|
|
<option selected value="2">- 女 -</option>
|
|
<!--{else}-->
|
|
<option value="2">- 女 -</option>
|
|
<!--{/if}-->
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-2">
|
|
<div class="form-group">
|
|
<input type="text" name="country" value="{$Think.get.country|default=''}" placeholder="国家" class="input-sm form-control">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-2">
|
|
<div class="form-group">
|
|
<input type="text" name="province" value="{$Think.get.province|default=''}" placeholder="省份" class="input-sm form-control">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-2">
|
|
<div class="form-group">
|
|
<input type="text" name="city" value="{$Think.get.city|default=''}" placeholder="城市" class="input-sm form-control">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-xs-1">
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-sm btn-white"><i class="fa fa-search"></i> 搜索</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|
|
<!-- 表单搜索 结束 -->
|
|
|
|
<form onsubmit="return false;" data-auto="" method="POST">
|
|
<input type="hidden" value="resort" name="action"/>
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th class='list-table-check-td'>
|
|
<input data-none-auto="" data-check-target='.list-check-box' type='checkbox'/>
|
|
</th>
|
|
<th class='text-left'>用户昵称</th>
|
|
<th class='text-center'>性别</th>
|
|
<th class='text-center'>区域</th>
|
|
<th class='text-center'>关注时间</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach $list as $key=>$vo}
|
|
<tr>
|
|
<td class='list-table-check-td'>
|
|
<input class="list-check-box" value='{$vo.id}' type='checkbox'/>
|
|
</td>
|
|
<td class='text-left'>
|
|
<img style="width:25px;height:25px;border-radius:50%;margin-right:10px" data-tips-image src="{$vo.headimgurl}"/>
|
|
{$vo.nickname|default="<span style='color:#999'>未设置微信昵称</span>"}
|
|
</td>
|
|
<td class='text-center'>{$vo.sex==1?'男':($vo.sex==2?'女':'未知')}</td>
|
|
<td class='text-center'>{$vo.country|default='<span style="color:#999">未设置区域信息</span>'}{$vo.province}{$vo.city}</td>
|
|
<td class='text-center'>{$vo.subscribe_at}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{if isset($page)}<p>{$page}</p>{/if}
|
|
</form>
|
|
{/block} |