12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- @extends('admin/master')
- @section('content')
- <body>
- @if(session('info'))
- <div class="Huialert Huialert-info" onclick="$(this).remove()" id="info">
- {{session('info')}}
- </div>
- @endif
- <div class="page-container">
- <div>
- <button class="btn btn-default" type="reset" onclick="self.location=document.referrer;"> 返回 </button>
- </div>
- <div class="mt-20">
- <table class="table table-border table-bordered table-bg table-hover table-sort">
- <thead>
- <tr class="text-c">
- <th width="10%">礼品编号</th>
- <th width="10%">到期时间</th>
- <th width="10%">礼品状态</th>
- <th width="10%">使用时间</th>
- <th width="10%">订单编号</th>
- <th width="10%">商品编号</th>
- <th width="10%">商品名称</th>
- </tr>
- </thead>
- <tbody>
- @if($data)
- @foreach($data as $k=>$a)
- <tr class="text-c">
- <td class="text-c">{{($k+1)}}</td>
- <td class="text-c">{{$a['end_time']}}</td>
- <td class="text-c">{{$a['status']}}</td>
- <td class="text-c">{{isset($a['dtime']) ? $a['dtime'] : "--"}}</td>
- <td class="text-c">{{isset($a['order_id']) ? $a['order_id'] : "--"}}</td>
- <td class="text-c">{{isset($a['goods_id']) ? $a['goods_id'] : "--"}}</td>
- <td class="text-c">{{isset($a['goods_name']) ? $a['goods_name'] : "--"}}</td>
- </tr>
- @endforeach
- @endif
- </tbody>
- </table>
- </div>
- <div id="page" class="page_div"></div>
- </div>
- <!--_footer 作为公共模版分离出去-->
- <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
- <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
- <!--/_footer 作为公共模版分离出去-->
- <!--/_footer 作为公共模版分离出去-->
- <script type="text/javascript">
- $(function(){
- setTimeout("$('#info').hide()",3000);
- });
- {{--$("#page").paging({--}}
- {{--pageNo:{{$page}},--}}
- {{--totalPage: {{$pages}},--}}
- {{--totalSize: {{$count}},--}}
- {{--callback: function(num) {--}}
- {{--var phone = $('#phone').val();--}}
- {{--var name = $('#name').val();--}}
- {{--var team_id = $('#team_id').val();--}}
- {{--var admin_id = $('#admin_id').val();--}}
- {{--location.href='vipList?page='+num + '&name='+name + '&phone='+phone+ '&team_id=' + team_id + '&admin_id=' + admin_id;--}}
- {{--}--}}
- {{--})--}}
- </script>
- </body>
- @endsection
|