160 lines
7.2 KiB
PHP
160 lines
7.2 KiB
PHP
@extends('layouts.base')
|
|
|
|
@section('content')
|
|
@section('title', trans('打赏记录'))
|
|
<div class="right-titpos">
|
|
<ul class="add-snav">
|
|
<li class="active"><a href="#">打赏记录</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class='panel panel-default'>
|
|
<form action="" method="post" class="form-horizontal" id="form1">
|
|
<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[stick_id]" id="" type="text"
|
|
value="{{$search['stick_id']}}" placeholder="帖子ID">
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-2">
|
|
<input class="form-control" name="search[stick_user_id]" id="" type="text"
|
|
value="{{$search['stick_user_id']}}" placeholder="发帖会员ID">
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-2">
|
|
<input class="form-control" name="search[stick_user_msg]" id="" type="text"
|
|
value="{{$search['stick_user_msg']}}" placeholder="发帖会员昵称/姓名/手机">
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-2">
|
|
<input class="form-control" name="search[reward_user_id]" id="" type="text"
|
|
value="{{$search['reward_user_id']}}" placeholder="打赏会员ID">
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-2">
|
|
<input class="form-control" name="search[reward_user_msg]" id="" type="text"
|
|
value="{{$search['reward_user_msg']}}" placeholder="打赏会员昵称/姓名/手机">
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-2">
|
|
|
|
<select name='search[category_id]' class='form-control'>
|
|
<option value=''>帖子分类</option>
|
|
@foreach($cate as $val)
|
|
<option value="{{$val['id']}}"
|
|
@if($search['category_id'] ==$val['id']) selected @endif>{{$val['name']}}</option>
|
|
@endforeach
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-xs-12 col-sm-5">
|
|
<div class="col-sm-3">
|
|
<select name='search[is_time]' class='form-control'>
|
|
<option value='0' @if($search['is_time'] ==0) selected @endif>不搜索打赏时间</option>
|
|
<option value='1' @if($search['is_time'] ==1) selected @endif>搜索打赏时间</option>
|
|
</select>
|
|
</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-2">
|
|
<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label"></label>
|
|
<div class="col-sm-8 col-lg-9 col-xs-12">
|
|
<button class="btn btn-success" style="border-radius: 5px;"><i class="fa fa-search"></i> 搜索</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div class='panel panel-default'>
|
|
<div class='panel-heading'>
|
|
累计打赏金额:{{$total_stick}}元
|
|
</div>
|
|
<div class='panel-body'>
|
|
<table class="table table-hover" style="overflow:visible;">
|
|
<thead>
|
|
<tr>
|
|
<th style='width:10%;'>时间</th>
|
|
<th style='width:10%;'>帖子ID</th>
|
|
<th style='width:10%;'>发布会员</th>
|
|
<th style='width:10%;'>评论会员</th>
|
|
<th style='width:10%;'>打赏会员</th>
|
|
<th style='width:15%;'>打赏订单号</th>
|
|
<th style='width:10%;'>打赏金额<br/>元</th>
|
|
<th style='width:10%;'>支付方式</th>
|
|
<th style='width:10%;'>支付状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($list['data'] as $row)
|
|
<tr>
|
|
<td>{{$row['created_at']}}</td>
|
|
<td>{{$row['stick_id']}}</td>
|
|
<td>
|
|
<img src="{{tomedia($row['has_one_stick_user']['avatar'])}}"
|
|
style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
|
|
</br>
|
|
{{$row['has_one_stick_user']['nickname']}}
|
|
</td>
|
|
|
|
<td>
|
|
@if (!empty($row['has_one_comment']))
|
|
<img src="{{tomedia($row['has_one_comment']['has_one_comment_user']['avatar'])}}"
|
|
style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
|
|
</br>
|
|
{{$row['has_one_comment']['has_one_comment_user']['nickname']}}
|
|
@endif
|
|
</td>
|
|
|
|
<td>
|
|
<img src="{{tomedia($row['has_one_reward_user']['avatar'])}}"
|
|
style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
|
|
</br>
|
|
{{$row['has_one_reward_user']['nickname']}}
|
|
</td>
|
|
{{--<td>--}}
|
|
{{--<a target="_blank"--}}
|
|
{{--href="{{yzWebUrl('member.member.detail',['id'=>$row['has_one_member']['uid']])}}">--}}
|
|
{{--<img src="{{tomedia($row['has_one_member']['avatar'])}}"--}}
|
|
{{--style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">--}}
|
|
{{--</br>--}}
|
|
{{--{{$row['has_one_member']['nickname']}}--}}
|
|
{{--</a>--}}
|
|
{{--</td>--}}
|
|
|
|
<td>{{$row['order_sn']}}</td>
|
|
<td>{{$row['money']}}</td>
|
|
<td>{{$row['pay_name']}}</td>
|
|
<td>{{$row['pay_status_name']}}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
{!! $pager !!}
|
|
</div>
|
|
</div>
|
|
<div style="width:100%;height:150px;"></div>
|
|
<script language='javascript'>
|
|
$(function () {
|
|
{{--$('#export').click(function () {--}}
|
|
{{--$('#form1').attr('action', '{!! yzWebUrl('plugin.team-dividend.admin.team-dividend.export') !!}');--}}
|
|
{{--$('#form1').submit();--}}
|
|
{{--});--}}
|
|
$('#search').click(function () {
|
|
$('#form1').attr('action', '{!! yzWebUrl('plugin.micro-communities.admin.reward.index') !!}');
|
|
$('#form1').submit();
|
|
});
|
|
});
|
|
</script>
|
|
@endsection |