12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @extends('mobile.module.layouts.content')
- @push('meta')
- <meta name="csrf-token" content="{{ csrf_token() }}">
- @endpush
- @push('css')
- <link href="{{ theme_asset('mobile/css/personal.css') }}" rel="stylesheet">
- <style>
- .list-item .content .line-two .left {
- width: 50%;
- float: left;
- }
- </style>
- @endpush
- @push('js')
- <script src="{{ theme_asset('mobile/js/dropload.min.js') }}"></script>
- @endpush
- @section('content')
- <div class="favorites-top-nav" style="padding:15px;">
- <div class="n-cell " style="width: 100%; position: relative; text-align:center">领取方式:上班期间,至泉州(晋江)国际人才港、晋江经济开发区人才服务共享中心进行登记兑奖。晋江聚才网客服热线:0595-88223456</div>
- <div class="clear"></div>
- </div>
- <div class="split-block"></div>
- <div class="drop_content">
- <div class="add_data">
- @if($list->total())
- @include('mobile.app.person.ajax_tpl.ajax_lottery')
- @else
- <div class="list-empty">
- 抱歉,没有符合条件的记录!
- </div>
- @endif
- </div>
- </div>
- @endsection
- @section('script')
- <script type="text/javascript">
- $(function () {
- var page = 1;
- var key = $("#key").val();
- $('.drop_content').dropload({
- scrollArea : window,
- loadDownFn : function(me){
- page++;
- $.ajax({
- type: 'GET',
- url: '{{ route($sub_site.'mobile.person.lottery') }}?page='+page,
- dataType: 'json',
- success: function(result){
- if (result.status ==1) {
- $('.add_data').append(result.data);
- } else {
- // 锁定
- me.lock();
- // 无数据
- me.noData();
- }
- me.resetload();
- },
- error: function(xhr, type){
- alert('Ajax error!');
- // 即使加载出错,也得重置
- me.resetload();
- }
- });
- },
- threshold : 50
- });
- })
- </script>
- @endsection
|