| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- @extends('layouts.base')
- @section('content')
- <link href="{{static_url('yunshop/balance/balance.css')}}" media="all" rel="stylesheet" type="text/css"/>
- <div id="member-blade" class="rightlist">
- <!-- 新增加右侧顶部三级菜单 -->
- <div class="right-titpos">
- @include('layouts.tabs')
- </div>
- <!-- 新增加右侧顶部三级菜单结束 -->
- <div class="panel panel-info">
- <div class="panel-heading">筛选</div>
- <div class="panel-body">
- <form action="" method="get" class="form-horizontal" role="form" id="form1">
- <input type="hidden" name="c" value="site" />
- <input type="hidden" name="a" value="entry" />
- <input type="hidden" name="m" value="yun_shop" />
- <input type="hidden" name="do" value="5201" />
- <input type="hidden" name="route" value="finance.point-member.index" id="route" />
- <div class="form-group col-sm-11 col-lg-11 col-xs-12">
- <div class="">
- <div class='input-group'>
- <!--<div class='input-group-addon'>会员信息</div>-->
- <input class="form-control" name="search[realname]" type="text"
- value="{{ $search['realname'] ?? ''}}" placeholder="会员ID/会员姓名/昵称/手机号">
- <div class='form-input'>
- <p class="input-group-addon">会员等级</p>
- <select name="search[level]" class="form-control">
- <option value="" selected>不限</option>
- @foreach($memberLevel as $level)
- <option value="{{ $level['id'] }}"
- @if($search['level'] == $level['id']) selected @endif>{{ $level['level_name'] }}</option>
- @endforeach
- </select>
- </div>
- <div class='form-input'>
- <p class="input-group-addon">会员分组</p>
- <select name="search[groupid]" class="form-control">
- <option value="" selected>不限</option>
- @foreach($memberGroup as $group)
- <option value="{{ $group['id'] }}"
- @if($search['groupid'] == $group['id']) selected @endif>{{ $group['group_name'] }}</option>
- @endforeach
- </select>
- </div>
- <div class='form-input'>
- <p class="input-group-addon price">积分区间</p>
- <input class="form-control price" name="search[min_credit2]" type="text"
- value="{{ $search['min_credit2'] ?? ''}}" placeholder="最小">
- <p class="line">—</p>
- <input class="form-control price" name="search[max_credit2]" type="text"
- value="{{ $search['max_credit2'] ?? ''}}" placeholder="最大">
- </div>
- </div>
- </div>
- </div>
- <div class="form-group col-xs-12 col-sm-7 col-lg-4">
- <div class="">
- <input type="hidden" name="token" value="{{$var['token']}}" />
- <button class="btn btn-success ">
- <i class="fa fa-search"></i>
- 搜索
- </button>
- <button type="button" name="export" value="1" id="export" class="btn btn-primary excel back ">
- 导出 EXCEL
- </button>
- </div>
- </div>
- </form>
- </div>
- </div>
- <div class="clearfix">
- <div class="panel panel-default">
- <div class="panel-heading">
- <span>总数:{{ $memberList->total() }}</span>
-     
- <span>积分总合计:{{ $amount }}</span>
- </div>
- <div class="panel-body">
- <table class="table table-hover" style="overflow:visible">
- <thead class="navbar-inner">
- <tr>
- <th style='width:6%; text-align: center;'>会员ID</th>
- <th style='width:8%; text-align: center;'>粉丝</th>
- <th style='width:10%'>姓名<br/>手机号码</th>
- <th style='width:8%'>等级</th>
- <th style='width:8%'>分组</th>
- <th style='width:10%'>积分</th>
- <th style='width:15%'>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($memberList as $list)
- <tr>
- <td style="text-align: center;">{{ $list->uid }}</td>
- <td style="text-align: center;">
- @if($list->avatar)
- <img src='{{ $list->avatar }}' style='width:30px;height:30px;padding:1px;border:1px solid #ccc'/><br/>
- @endif
- {{ $list->nickname ?? ''}}
- </td>
- <td>{{ $list->realname }}<br/>{{ $list->mobile }}</td>
- <td>
- {{ $list->yzMember->level->level_name ?? '默认会员等级' }}
- </td>
- <td>
- {{ $list->yzMember->group->group_name ?? '默认会员分组' }}
- </td>
- <td>
- <label class="label label-danger">积分:{{ $list->credit1 }}</label>
- </td>
- <td>
- <a class='btn btn-default'
- style="margin-bottom: 2px"
- href="{{ yzWebUrl('point.recharge.index', array('id' => $list->uid)) }}">充值积分</a>
- @if($transfer_love)
- <a class='btn btn-default'
- href="{{ yzWebUrl('finance.point-love.index', array('member_id' => $list->uid)) }}"
- style="margin-bottom: 2px">转出设置</a>
- @endif
- <a class='btn btn-default'
- href="{{ yzWebUrl('point.records.index', array('search' => ['member_id' => $list->uid])) }}"
- style="margin-bottom: 2px">积分明细</a>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $page !!}
- </div>
- </div>
- </div>
- </div>
- <script>
- $(function () {
- $('#export').click(function(){
- $('#route').val("point.member-export.index");
- $('#form1').submit();
- $('#route').val("finance.point-member.index");
- });
- });
- </script>
- @endsection
|