| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- @extends('layouts.base')
- @section('content')
- @section('title', '广告主申请')
- <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
- <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-3">
- <input class="form-control" name="search[uid]" type="text"
- value="{{$search['uid']}}" placeholder="会员ID">
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[member]" type="text"
- value="{{$search['member']}}" placeholder="会员昵称/姓名/手机号">
- </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>
- </div>
- </div>
- </form>
- </div>
- <body ng-app="">
- <div class='panel panel-default'>
- <div class='panel-heading'>
- 总数:{{$list->total()}}个
- </div>
- <div class='panel-body'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:16%;text-align: center;'>申请时间</th>
- <th style='width:8%;text-align: center;'>申请人</th>
- <th style='width:8%;text-align: center;'>姓名</th>
- <th style='width:10%;text-align: center;'>手机号</th>
- <th style='width:16%;text-align: center;'>公司名称</th>
- <th style='width:20%;text-align: center;'>所在区域</th>
- <th style='width:18%;text-align: center;'>备注</th>
- <th style='width:8%;text-align: center;'>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td style="text-align: center;">{{$row->created_at}}</td>
- <td style="text-align: center;">
- <a target="_blank"
- href="{{yzWebUrl('member.member.detail',['id' => $row->uid])}}">
- <img src="{{tomedia($row->member->avatar)}}"
- style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
- </br>
- {{$row->member->nickname}}
- </a>
- </td>
- <td style="text-align: center;">{{$row->realname}}</td>
- <td style="text-align: center;">{{$row->mobile}}</td>
- <td style="text-align: center;">{{$row->company_name}}</td>
- <td style="text-align: center;">{{$row->full_address}}</td>
- <td style="text-align: center;">{{$row->remark}}</td>
- <td style="text-align: center;">
- @if (!$row->status)
- <a class="label label-default " href="{{yzWebUrl('plugin.advert-market.admin.apply.audit.reject', ['apply_id' => $row['id']])}}">驳回审核</a>
- <br>
- <a class="label label-default label-info" href="{{yzWebUrl('plugin.advert-market.admin.apply.audit.pass', ['apply_id' => $row['id']])}}">审核通过</a>
- @else
- 已审核
- @endif
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- </body>
- <div style="width:100%;height:150px;"></div>
- @endsection
|