Sin descripción

customerbirthdaygiftlist.blade.php 3.0KB

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