暫無描述

customermonthgiftlist.blade.php 3.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. <th width="10%">商品名称</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. @if($data)
  28. @foreach($data as $k=>$a)
  29. <tr class="text-c">
  30. <td class="text-c">{{($k+1)}}</td>
  31. <td class="text-c">{{$a['end_time']}}</td>
  32. <td class="text-c">{{$a['status']}}</td>
  33. <td class="text-c">{{isset($a['dtime']) ? $a['dtime'] : "--"}}</td>
  34. <td class="text-c">{{isset($a['order_id']) ? $a['order_id'] : "--"}}</td>
  35. <td class="text-c">{{isset($a['goods_id']) ? $a['goods_id'] : "--"}}</td>
  36. <td class="text-c">{{isset($a['goods_name']) ? $a['goods_name'] : "--"}}</td>
  37. </tr>
  38. @endforeach
  39. @endif
  40. </tbody>
  41. </table>
  42. </div>
  43. <div id="page" class="page_div"></div>
  44. </div>
  45. <!--_footer 作为公共模版分离出去-->
  46. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  47. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  48. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  49. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  50. <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
  51. <!--/_footer 作为公共模版分离出去-->
  52. <!--/_footer 作为公共模版分离出去-->
  53. <script type="text/javascript">
  54. $(function(){
  55. setTimeout("$('#info').hide()",3000);
  56. });
  57. {{--$("#page").paging({--}}
  58. {{--pageNo:{{$page}},--}}
  59. {{--totalPage: {{$pages}},--}}
  60. {{--totalSize: {{$count}},--}}
  61. {{--callback: function(num) {--}}
  62. {{--var phone = $('#phone').val();--}}
  63. {{--var name = $('#name').val();--}}
  64. {{--var team_id = $('#team_id').val();--}}
  65. {{--var admin_id = $('#admin_id').val();--}}
  66. {{--location.href='vipList?page='+num + '&name='+name + '&phone='+phone+ '&team_id=' + team_id + '&admin_id=' + admin_id;--}}
  67. {{--}--}}
  68. {{--})--}}
  69. </script>
  70. </body>
  71. @endsection