1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- @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>
- </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['coupon_price']}}</td>
- <td class="text-c">{{date("Y-m-d",strtotime($a['end_time']))}}</td>
- <td class="text-c">{{$a['status']}}</td>
- <td class="text-c">{{isset($a['use_time']) ? $a['use_time'] : "--"}}</td>
- <td class="text-c">{{isset($a['order_id']) ? $a['order_id'] : "--"}}</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
|