bztang-admin/plugins/team-dividend/views/admin/redpack/award-list.blade.php

83 lines
3.6 KiB
PHP

@extends('layouts.base')
@section('title', '红包奖励')
@section('content')
<style>
.time {
width: 30%;
float: left;
}
table a {
color: #333;
}
</style>
<div class="w1200 ">
<div class=" rightlist ">
<div class="right-titpos">
<ul class="add-snav">
<li class="active"><a href="#">红包奖励</a></li>
</ul>
</div>
<div class="right-addbox"><!-- 此处是右侧内容新包一层div -->
<div class="panel panel-info">
<div class="panel-body">
<form action="{!! yzWebUrl('plugin.team-dividend.admin.RedPack.index', ['log_id' => $log_id]) !!}" method="post" class="form-horizontal" role="form" id="form1">
<div class="form-group col-xs-12 col-sm-3">
<div class="">
<input type="text" class="form-control" name="search[member]" value="" placeholder="可搜索昵称/姓名/手机号"/>
</div>
</div>
<div class="form-group col-xs-12 col-sm-7 col-lg-4">
<div class="">
<button class="btn btn-success "><i class="fa fa-search"></i> 搜索</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="clearfix">
<div class="panel panel-default">
<div class="panel-body table-responsive">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th width="6%">ID</th>
<th width="10%">会员</th>
<th width="8%">状态</th>
<th width="8%">红包金额</th>
<th width="16%">领取时间</th>
<th width="16%">发放时间</th>
</tr>
</thead>
<tbody>
@foreach($list as $item)
<tr>
<td>{{$item->id}}</td>
<td>
<a href="{!! yzWebUrl('member.member.detail', ['id' => $item->uid]) !!}"><img src="{{$item->hasOneMember->avatar}}" style="width:30px;height:30px;padding:1px;border:1px solid #ccc"><BR>{{$item->hasOneMember->nickname}}</a>
</td>
<td>{{$item->status_name}}</td>
<td>{{$item->amount}}</td>
<td>{{$item->recrive_time}}</td>
<td>{{$item->created_at}}</td>
</tr>
@endforeach
</tbody>
</table>
{!!$pager!!}
<!--分页-->
</div>
</div>
</div>
</div>
</div>
<style>
.table-hover tr th, .table-hover tr td{text-align: center;}
.input-group{
margin: 4px auto;height: 30px; line-height: 30px;
}
</style>
@endsection