manage.blade.php 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @extends('layouts.base')
  2. @section('content')
  3. @section('title', '广告主申请')
  4. <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
  5. <div class='panel panel-default'>
  6. <form action="" method="post" class="form-horizontal" id="form1">
  7. <div class="panel panel-info">
  8. <div class="panel-body">
  9. <div class="form-group col-xs-12 col-sm-3">
  10. <input class="form-control" name="search[uid]" type="text"
  11. value="{{$search['uid']}}" placeholder="会员ID">
  12. </div>
  13. <div class="form-group col-xs-12 col-sm-3">
  14. <input class="form-control" name="search[member]" type="text"
  15. value="{{$search['member']}}" placeholder="会员昵称/姓名/手机号">
  16. </div>
  17. <div class="form-group col-xs-12 col-sm-7 col-lg-4">
  18. <div class="">
  19. <button class="btn btn-success ">
  20. <i class="fa fa-search"></i>
  21. 搜索
  22. </button>
  23. </div>
  24. </div>
  25. </div>
  26. </div>
  27. </form>
  28. </div>
  29. <body ng-app="">
  30. <div class='panel panel-default'>
  31. <div class='panel-heading'>
  32. 总数:{{$list->total()}}个
  33. </div>
  34. <div class='panel-body'>
  35. <table class="table table-hover" style="overflow:visible;">
  36. <thead>
  37. <tr>
  38. <th style='width:16%;text-align: center;'>申请时间</th>
  39. <th style='width:8%;text-align: center;'>申请人</th>
  40. <th style='width:8%;text-align: center;'>姓名</th>
  41. <th style='width:10%;text-align: center;'>手机号</th>
  42. <th style='width:16%;text-align: center;'>公司名称</th>
  43. <th style='width:20%;text-align: center;'>所在区域</th>
  44. <th style='width:18%;text-align: center;'>备注</th>
  45. <th style='width:8%;text-align: center;'>操作</th>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. @foreach($list as $row)
  50. <tr>
  51. <td style="text-align: center;">{{$row->created_at}}</td>
  52. <td style="text-align: center;">
  53. <a target="_blank"
  54. href="{{yzWebUrl('member.member.detail',['id' => $row->uid])}}">
  55. <img src="{{tomedia($row->member->avatar)}}"
  56. style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
  57. </br>
  58. {{$row->member->nickname}}
  59. </a>
  60. </td>
  61. <td style="text-align: center;">{{$row->realname}}</td>
  62. <td style="text-align: center;">{{$row->mobile}}</td>
  63. <td style="text-align: center;">{{$row->company_name}}</td>
  64. <td style="text-align: center;">{{$row->full_address}}</td>
  65. <td style="text-align: center;">{{$row->remark}}</td>
  66. <td style="text-align: center;">
  67. @if (!$row->status)
  68. <a class="label label-default " href="{{yzWebUrl('plugin.advert-market.admin.apply.audit.reject', ['apply_id' => $row['id']])}}">驳回审核</a>
  69. <br>
  70. <a class="label label-default label-info" href="{{yzWebUrl('plugin.advert-market.admin.apply.audit.pass', ['apply_id' => $row['id']])}}">审核通过</a>
  71. @else
  72. 已审核
  73. @endif
  74. </td>
  75. </tr>
  76. @endforeach
  77. </tbody>
  78. </table>
  79. {!! $pager !!}
  80. </div>
  81. </div>
  82. </body>
  83. <div style="width:100%;height:150px;"></div>
  84. @endsection