| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- <include file="public@header"/>
- </head>
- <style>
- .form-inline .form-control {
- margin: 10px 0;
- vertical-align: middle;
- }
- .form-inline span {
- margin-left: 5px;
- vertical-align: middle;
- }
- .margin-left-10 {
- margin-left: 10px;
- }
- .profile em {
- font-style: normal;
- color: #0b6cbc;
- }
- .profile em.red {
- color: red;
- }
- span.sort {
- color: red;
- display: inline-block;
- margin-left: 2px;
- vertical-align: middle;
- }
- td .info {
- display: flex;
- }
- td .info a {
- position: relative;
- display: inline-block;
- width: 30px;
- height: 30px;
- }
- td .info span {
- vertical-align: top;
- padding: 0px 4px;
- }
- td img.avatar, td img.sex {
- width: 30px;
- height: 30px;
- vertical-align: middle;
- border-radius: 100%;
- }
- td img.sex {
- position: absolute;
- z-index: 2;
- width: 12px;
- height: 12px;
- left: 0;
- right: 0;
- bottom: 0;
- margin: 0 auto;
- }
- .form .form-control {
- margin-bottom: 20px;
- }
- .form .control-label {
- text-align: center;
- }
- .form label {
- text-align: left;
- margin-bottom: 10px;
- margin-right: 10px;
- }
- .radio-inline+.radio-inline, .checkbox-inline+.checkbox-inline {
- margin-left: 0;
- }
- .table-actions span {
- margin-right: 10px;
- font-weight: bold;
- }
- .table-actions span em {
- font-style: normal;
- color: red;
- }
- .layui-layer-page .layui-layer-content {
- overflow: hidden !important;
- }
- span.expired {
- color: red;
- }
- .js-bootstrap-date {
- line-height: 22px !important;
- }
- .count-label {
- font-size: 16px;
- color: #0B90C4;
- margin-bottom: 10px;
- }
- </style>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a>我推广的资源列表</a>
- </li>
- </ul>
- <form id="search" class="well form-inline margin-top-20" method="post" action="{:url('admin/medias/owner')}">
- <span>会员ID:</span>
- <input class="form-control" type="text" name="uid" style="width: 150px;" value="{:input('request.uid')}"
- placeholder="会员ID">
- <span>用户昵称:</span>
- <input class="form-control" type="text" name="user_nickname" style="width: 200px;"
- value="{:input('request.user_nickname')}" placeholder="用户昵称"><br>
- <span>用户姓名:</span>
- <input class="form-control" type="text" name="real_name" style="width: 200px;"
- value="{:input('request.real_name')}" placeholder="用户姓名">
- <span>手机号:</span>
- <input class="form-control" type="text" name="mobile" style="width: 200px;" value="{:input('request.mobile')}"
- placeholder="手机号">
- <input id="sort" type="hidden" name="sort" value="{$params.sort?$params.sort: 1}">
- <input id="sortType" type="hidden" name="sort_type" value="{$params.sort_type?$params.sort_type: 'desc'}">
- <input type="submit" class="btn btn-primary margin-left-10 " value="搜索"/>
- <a class="btn btn-default margin-left-10" href="{:url('admin/medias/owner')}">清空</a>
- </form>
- <form class="form-horizontal js-ajax-form margin-top-20" role="form">
- <div class="table-actions tags">
- <a class="count-label">共计:{$total}人</a>
- </div>
- <table class="table table-hover table-bordered">
- <thead>
- <tr>
- <th>ID</th>
- <th width="150">用户名</th>
- <th width="80">基本资料</th>
- <th width="100">姓名</th>
- <th >手机号</th>
- <th width="80">注册情况</th>
- <th width="80">关注情况</th>
- <th width="70">VIP会员</th>
- <th width="70">充值过</th>
- <th width="70">消费过</th>
- <th width="70">分配过销售</th>
- <th width="100">媒体推广账号</th>
- <th width="80">实名认证</th>
- <th width="80">学历认证</th>
- <th width="80">职业认证</th>
- <th width="175">注册时间 <span class="row sort join-time" data-status="{$params.sort == 4? $params.sort_type : 'desc'}" onclick="sort(this,4)"><if condition="$params.sort eq 4 && $params.sort_type eq 'asc'">↓<else>↑</if></span></th>
- <th width="175">最后登录<span class="row sort last-time" data-status="{$params.sort == 5? $params.sort_type : 'desc'}" onclick="sort(this,5)"><if condition="$params.sort eq 2 && $params.sort_type eq 'asc'">↓<else>↑</if></span></th>
- </tr>
- </thead>
- <tbody>
- <foreach name="list" item="vo">
- <tr>
- <td>{$vo.id}</td>
- <td>
- <div class="info">
- <a href="{:url('admin/medias/info',['id'=> $vo.id])}"><img class="avatar" src="{$vo.avatar}"> <if condition="$vo['sex'] eq 1"><img class="sex" src="/static/images/male.png" alt=""><else><img class="sex" src="/static/images/fmale.png" alt=""></if></a><span>{$vo['user_nickname']}</span>
- </div>
- </td>
- <td>
- <p class="profile">{$vo.profile_text?$vo.profile_text:'无'}</p>
- </td>
- <td>{$vo['real_name']}</td>
- <td><span class="expired">{$vo['mobile']? $vo['mobile']:'无'}</span></td>
- <td>
- <if condition="$vo['is_reg_profile'] eq 1">
- <span style="color: green;">已注册</span>
- <else>
- <span style="color: red;">未注册</span>
- </if>
- </td>
- <td>
- <if condition="$vo['is_follow'] eq 1">
- <span style="color: green;">已关注</span>
- <else>
- <span style="color: red;">未关注</span>
- </if>
- </td>
- <td>
- <if condition="$vo['is_vip'] eq 1">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>
- <if condition="$vo['is_recharge'] eq 1">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>
- <if condition="$vo['is_cost'] eq 1">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>
- <if condition="$vo['is_pool'] gt 0">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>
- <if condition="$vo.parent_id">
- <span style="color: #0B90C4;">{$vo['parent_name']}(ID:{$vo['parent_id']})</span>
- </if>
- </td>
- <td>
- <if condition="$vo['idcard_check'] eq 2">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>
- <if condition="$vo['education_check'] eq 2">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>
- <if condition="$vo['position_check'] eq 2">
- <span style="color: green;">是</span>
- <else>
- <span style="color: red;">否</span>
- </if>
- </td>
- <td>{$vo['reg_time']}</td>
- <td>{$vo['last_login_time']}</td>
- </foreach>
- </tbody>
- </table>
- <div class="pagination">{$page}</div>
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- <script src="__STATIC__/js/clipboard.min.js"></script>
- <script src="__STATIC__/js/layer/layer.js"></script>
- <script src="__STATIC__/js/position/position1.js" type="text/javascript"></script>
- <script src="__STATIC__/js/height/height.js" type="text/javascript"></script>
- <script>
- /**
- * 排序
- * @param type
- */
- function sort(ele,type){
- $("#sort").val(type);
- var status = $(ele).attr('data-status');
- $("#sortType").val(status=='desc'? 'asc': 'desc');
- $(ele).html(status == 'desc'? '↓' : '↑');
- $(ele).attr('data-status', status=='desc'? 'asc': 'desc');
- $("#search").submit();
- }
- </script>
- </body>
- </html>
|