@if(isset($list))
    @foreach($list as $key => $item)
        <div class="col-sm-7" style="margin: auto">
            <div class="row  company-info">
                <div class="col-lg-2 col-md-3 col-sm-4">
                    <img src="/base/img/companyAvatar.82b6c75.png" alt="">
                </div>
                <div class="col-lg-10 col-md-9 col-sm-8">
                    <a href="{{ U('Company/Info/view',['id'=>$item->id])}}">
                        <h3>{{ $item->companyName }}</h3>
                    </a>

                    <p>
                        <label for="">公司类型：</label>
                        <span>{{ $item->entType }}</span>

                        <label for="">成立日期：</label>
                        <span>{{ $item->startDate }}</span>

                        <label for="">注册资本:</label>
                        <span>{{ $item->regCapital }}</span>
                    </p>

                    <p>
                        <label for="">所属行业：</label>
                        <span>{{ $item->industry }}</span>

                        <label for="">官网：</label>
                        <span>{{ $item->website }}</span>
                    </p>
                    <p>
                        <label for="">注册地址：</label>
                        <span>{{ $item->regAddr }}</span>
                    </p>
                </div>

            </div>
        </div>


    @endforeach
@endif

<div class="row">
    <div class="col-sm-6">
        <div class="dataTables_info" id="DataTables_Table_0_info"
             role="alert" aria-live="polite" aria-relevant="all">每页{{ $list->count() }}
            条，共{{ $list->lastPage() }}页，总{{ $list->total() }}条。
        </div>
    </div>
    <div class="col-sm-6">
        <div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate">
            {!! $list->setPath('')->appends(Request::all())->render() !!}
        </div>
    </div>
</div>