<?php $__env->startSection('head'); ?>
    @parent
    <style>
        .op-time-span {
            display: block;
            text-align: center;
            font-size: 0.8rem;
            color: #ccc;
        }
        .op-time-span > span{
            display:block
        }
        .user_mark{
            max-width: 14rem;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            vertical-align: bottom;
            display: inline-block;
            color: #2799ef !important;
        }
        .fontsize08{
            font-size: .8rem !important;
        }
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main-content'); ?>
    <section class="content animated slideInRight">
        <div class="row">
            <div class="col-md-12">
                <div class="card card-primary card-outline">
                    <div class="card-header">
                        <a class="btn btn-primary btn-sm fa fa-plus-square-o white" style="visibility: hidden" href="">  </a>
                        <div class="card-tools" style="top:0.7rem">
                            <div class="input-group input-group-sm">
                                <input type="text" class="form-control title-input" placeholder="名称搜索">
                                <div class="input-group-append">
                                    <div class="btn btn-default">
                                        <i class="fa fa-search title-search"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="card-body p-0">
                        <div class="table-responsive">
                            <table class="table table-hover admin-table" id="product-table">
                                <thead>
                                <tr>
                                    <th width="8%">选择</th>
                                    <th width="20%">微信昵称</th>
                                    <th width="10%">状态</th>
                                    <th width="15%">时间</th>
                                    <th width="20%">备注</th>
                                    <th width="19%">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr v-if="total == 0">
                                    <td colspan="6">暂无相关记录</td>
                                </tr>
                                <tr v-if="total > 0 " v-for="item in list">
                                    <td><input type="checkbox"></td>
                                    <td>
                                        <a href="">
                                            <img :src="item.avatar" class="index_image" v-if="item.avatar">
                                            <span class="title_span cp grey"
                                                  :title="item.nick_name">{{item['nick_name']}}</span>
                                        </a>
                                    </td>
                                    <td>{{item['status'] ? '正常' : '冻结'}}</td>
                                    <td class="op-time-span">
                                        <span>注册于 {{item.created_at}}</span>
                                        <span>更新于 {{item.updated_at}}</span>
                                    </td>
                                    <td>
                                        <span class="user_mark" :title="item.mark">{{item.mark}}</span>
                                    </td>
                                    <td class="fontsize08">
                                        <i @click="release(item.id)" title="解除用户登录限制" v-show="item.status === 0">解冻 |</i>
                                        <i @click="froze(item.id)" title="限制用户登录小程序" v-show="item.status === 1">冻结 |</i>
                                        <i @click="mark(item.id)" >备注</i>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="card-footer">
                        <div id="page-wrap"></div>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </section>
<?php $__env->startSection('script'); ?>
    @parent
    <script src="/static/js/wxuser/wxuser.js?vt=<?php echo e(time()); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.index', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>