<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <title>{{ config('app.name', '') }} </title>
    <link rel="stylesheet" href="{{ asset('assets/index/css/swiper.min.css') }}" type="text/css"/>
    <link rel="stylesheet" href="{{ asset('assets/index/css/style.css') }}" type="text/css"/>
</head>

<body>
<!-- 头部 -->
<div class="idxTop-back">
    <div class="contant">
        <div class="idxTop">
            <img class="idxLogo" src="/assets/index/images/nys_banner.png">
        </div>
    </div>
</div>
<!-- end 头部 -->

<!-- 导航 -->
<div class="idxNav-back">
    <div class="contant">
        <ul class="idxNav">
            <li @if (!isset($parent)) class="active" @endif data-href="/"><span>首页</span></li>

            @foreach ($all_categorys as $cate)
                <li data-href="{{ $cate->link }}" @if (isset($parent) && $cate->id==$parent->id) class="active" @endif>
                    <span>{{ $cate->title }}</span>
                </li>
            @endforeach
        </ul>
    </div>
</div>
<!-- 导航 -->

@section('content')
@show

<!-- 友情链接 -->
<div class="idxLink ce-morgin-tb">
    <div class="contant">
        <div class="idxTitle">
            <div class="idxTitle-name">
                友情链接<span>/ Links</span>
            </div>
        </div>
        <div class="line"></div>
        <ul class="idxLink-ul">
            @if ($links->isNotEmpty())
                @foreach ($links as $link)
                    <li data-href="{{ $link->url }}">{{ $link->title}}</li>
                @endforeach
            @endif
        </ul>
    </div>
</div>
<!-- end 友情链接 -->

<!-- 尾部 -->
<footer class="idxFooter">
    <div class="contant">
        <div class="idxFooter-text">
            <span>版权所有：黑龙江省科学院自动化研究所</span>
            <span>黑ICP备11004102号</span>
        </div>
        <div class="idxFooter-img">
            <img src="/assets/index/images/idxFooter_img.png">
        </div>
    </div>
</footer>
<!-- end 尾部 -->

</body>

<script src="{{ asset('assets/index/js/jquery-1.8.2.min.js') }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ asset('assets/index/js/plugin.js') }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ asset('assets/index/js/swiper.min.js') }}" type="text/javascript" charset="utf-8"></script>
@stack('script')


</html>
