Няма описание

customercouponlist.blade.php 3.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. @extends('admin/master')
  2. @section('content')
  3. <body>
  4. @if(session('info'))
  5. <div class="Huialert Huialert-info" onclick="$(this).remove()" id="info">
  6. {{session('info')}}
  7. </div>
  8. @endif
  9. <div class="page-container">
  10. <div>
  11. <button class="btn btn-default" type="reset" onclick="self.location=document.referrer;">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>&nbsp;
  12. </div>
  13. <div class="mt-20">
  14. <table class="table table-border table-bordered table-bg table-hover table-sort">
  15. <thead>
  16. <tr class="text-c">
  17. <th width="10%">代金券编号</th>
  18. <th width="10%">代金券金额</th>
  19. <th width="10%">到期时间</th>
  20. <th width="10%">代金券状态</th>
  21. <th width="10%">使用时间</th>
  22. <th width="10%">订单编号</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. @if($data)
  27. @foreach($data as $k=>$a)
  28. <tr class="text-c">
  29. <td class="text-c">{{($k+1)}}</td>
  30. <td class="text-c">{{$a['coupon_price']}}</td>
  31. <td class="text-c">{{date("Y-m-d",strtotime($a['end_time']))}}</td>
  32. <td class="text-c">{{$a['status']}}</td>
  33. <td class="text-c">{{isset($a['use_time']) ? $a['use_time'] : "--"}}</td>
  34. <td class="text-c">{{isset($a['order_id']) ? $a['order_id'] : "--"}}</td>
  35. </tr>
  36. @endforeach
  37. @endif
  38. </tbody>
  39. </table>
  40. </div>
  41. <div id="page" class="page_div"></div>
  42. </div>
  43. <!--_footer 作为公共模版分离出去-->
  44. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  45. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  46. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  47. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  48. <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
  49. <!--/_footer 作为公共模版分离出去-->
  50. <!--/_footer 作为公共模版分离出去-->
  51. <script type="text/javascript">
  52. $(function(){
  53. setTimeout("$('#info').hide()",3000);
  54. });
  55. {{--$("#page").paging({--}}
  56. {{--pageNo:{{$page}},--}}
  57. {{--totalPage: {{$pages}},--}}
  58. {{--totalSize: {{$count}},--}}
  59. {{--callback: function(num) {--}}
  60. {{--var phone = $('#phone').val();--}}
  61. {{--var name = $('#name').val();--}}
  62. {{--var team_id = $('#team_id').val();--}}
  63. {{--var admin_id = $('#admin_id').val();--}}
  64. {{--location.href='vipList?page='+num + '&name='+name + '&phone='+phone+ '&team_id=' + team_id + '&admin_id=' + admin_id;--}}
  65. {{--}--}}
  66. {{--})--}}
  67. </script>
  68. </body>
  69. @endsection