| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- @extends('layouts.base')
- @section('content')
- @section('title', '分红份数明细')
- <div class="w1200 ">
- <div class=" rightlist ">
- <div class="right-titpos">
- <ul class="add-snav">
- <li class="active"><a href="#">分红份数明细</a></li>
- </ul>
- </div>
- <form action="" method="post" class="form-horizontal" id="form1">
- <div class="right-addbox">
- <div class="panel panel-info">
- <div class="panel-body">
- <div class="form-group col-xs-12 col-sm-2">
- <input class="form-control" name="search[member_id]" id="" type="text"
- value="{{$search['member_id']}}" placeholder="请输入会员ID">
- </div>
- <div class="form-group col-xs-12 col-sm-2">
- <input class="form-control" name="search[keyword]" id="" type="text"
- value="{{$search['keyword']}}" placeholder="会员昵称/姓名/手机">
- </div>
- <div class="form-group col-xs-12 col-sm-2">
- <select name='search[type]' class='form-control'>
- <option value='0'>变动类型</option>
- @foreach($type as $name => $row)
- <option value={{$name}} @if($search['type'] == $name) selected @endif>{{$row}}</option>
- @endforeach
- </select>
- </div>
- <div class="form-group col-xs-12 col-sm-2 col-md-2 col-lg-2">
- <div class="">
- <select name='search[level_id]' class='form-control'>
- <option value=''>等级不限</option>
- <option value='-1'>{{$default}}</option>
- @foreach($levels as $level)
- <option value='{{$level->id}}'
- @if($search['level_id'] == $level->id)
- selected
- @endif
- >{{$level->level_name}}</option>
- @endforeach
- </select>
- </div>
- </div>
- <div class="form-group col-xs-12 col-sm-8">
- <div class="col-sm-2">
- <label class='radio-inline'>
- <input type='checkbox' value='1' name='search[is_time]'
- @if($search['is_time'] == '1') checked @endif>是否搜索时间
- </label>
- </div>
- {!! app\common\helpers\DateRange::tplFormFieldDateRange('search[time]', [
- 'starttime'=>$search['time']['start'],
- 'endtime'=>$search['time']['end'],
- 'start'=>$search['time']['start'],
- 'end'=>$search['time']['end']
- ], true) !!}
- </div>
- <div class="form-group col-xs-12 col-sm-7 col-lg-4">
- <div class="">
- <button type="button" id="search" class="btn btn-success "><i class="fa fa-search"></i>搜索</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </form>
- <div class="clearfix">
- <div class='panel panel-default'>
- <div class='panel-body table-responsive'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:8%;text-align: center;'>创建时间</th>
- <th style='width:6%;text-align: center;'>会员ID</th>
- <th style='width:8%;text-align: center;'>会员信息</th>
- <th style='width:8%;text-align: center;'>会员等级</th>
- <th style='width:6%;text-align: center;'>变动类型</th>
- <th style='width:8%;text-align: center;'>变动份数</th>
- <th style='width:8%;text-align: center;'>变动后份数</th>
- <th style='width:8%;text-align: center;'>备注</th>
- </tr>
- </thead>
- <tbody>
- @if (!empty($list['data']))
- @foreach($list['data'] as $row)
- <tr>
- <td style='text-align: center;'>{{$row['created_at']}}</td>
- <td style='text-align: center;'>{{$row['member_id']}}</td>
- <td style='text-align: center;'>
- <a href="{!! yzWebUrl('member.member.detail', ['id'=>$row['member_id']]) !!}"><img src="{{tomedia($row['avatar'])}}" style="width:30px;height:30px;padding:1px;border:1px solid #ccc"><BR>{{$row['nickname']}}</a>
- </td>
- <td style='text-align: center;'>
- {{$row['level_name']?:$default}}
- </td>
- <td style='text-align: center;'>
- {{$row['type_name']}}
- </td>
- <td style='text-align: center;'>
- @if($row['nums'] > 0)+@endif{{$row['nums']}}
- </td>
- <td style='text-align: center;'>
- {{$row['current_nums']}}
- </td>
- <td style='text-align: center;'>
- {{$row['remark']}}
- </td>
- </tr>
- @endforeach
- @else
- <td colspan="8" style="color: red">没有更多数据了!</td>
- @endif
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- </div>
- </div>
- </div>
- <script language="javascript">
- $(function () {
- $('#search').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('plugin.share-partner.admin.change.index') !!}');
- $('#form1').submit();
- });
- });
- </script>
- @endsection
|