<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="{{ config('app.name', '') }}">
    <meta name=“description” content=“{{ config('app.name', '') }}”>
    <title>{{ config('app.name', '') }}</title>
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/bootstrap.min.css') }}"/>
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/style.css?v=0.3') }}"/>
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/swiper.min.css') }}"/>
</head>

{{--<body oncontextmenu='return false' ondragstart='return false' onselectstart='return false'--}}
{{--      onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false'--}}
{{--      onmouseup='document.selection.empty()'>--}}
<body>
<!-- 顶部 -->
<div class="indexHead">
    <div class="container">
        <div class="row">
            <div class="col-xs-8 col-md-9 indexHead-nav">
                <!-- <a href="#"><img src="/assets/index/images/collectIcon.png"/>加入收藏</a> -->
                <!-- <a href="#" style="margin-left: 20px;"><img src="/assets/index/images/websiteIcon.png"/>院所网站</a> -->
            </div>
            <form class="tool-search" action="{{ route('article.search') }}">
                <div class="col-xs-4 col-md-3 indexHead-search">
                    <input type="text" name="title" value="{{ request()->title }}" placeholder="请输入..."/>
                    <button type="submit">搜索</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!-- 导航 -->
<div class="indexNav">
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-md-4 indexNav-logo">
                <a href="/"><img src="/assets/index/images/logo.png"/></a>
            </div>
            <ul class="col-xs-12 col-md-8 indexNav-nav">
                <li @if (!isset($parent)) class="active" @endif><a href="/">网站首页</a></li>
                @foreach ($all_categorys as $cate)
                    <li @if (isset($parent) && $cate->id==$parent->id) class="active" @endif
                    ><a href="{{ route('category.show',$cate) }}">{{ $cate->title }}</a></li>
                @endforeach
            </ul>
        </div>
    </div>
</div>

<!-- 日期 -->
<div class="indexDate">
    <div class="container">
        今天是 {{ now()->isoFormat('Y年M月D日 a h:mm:ss') }} {{ now()->get('dayName') }}
    </div>
</div>
@section('content')

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

<!-- Laytool -->
<div class="laytool">
    <ul class="laytool-ul">
        <li>
            <div class="wechat-code" class="wechat-code">
                <img class="i" src="{{ asset('assets/index/images/z19_ewm3.png?v=0.3') }}">
            </div>
        </li>
    </ul>
</div>
<!-- end Laytool -->

<!-- 友情链接 -->
<div class="link">
    <div class="container">
        <div class="linkTitle">
            <span>友情链接</span>/ Links
        </div>
        <ul class="linkUl">
            @if ($links->isNotEmpty())
                @foreach ($links as $link)
                    <li><a href="{{ $link->url }}" target="_blank">{{ $link->title}}</a></li>
                @endforeach
            @endif
        </ul>
    </div>
</div>

<!-- 底部菜单 -->
<div class="footer">
    <div class="container">
        <ul class="footerList">
            <li>
                (C)2021 黑龙江省科学院大庆分院 版权所有
            </li>
            <li>
                <span>地址：黑龙江省大庆高新区博学大街45号</span>
                <span>黑ICP备2021000362号-1</span>
            </li>
            <li>
                <span>邮箱：hkydqyb@126.com</span>
                <span>电话：086-459-8998866</span>
                <span>传真：086-459-8998866</span>
                <span>邮编：163319</span>
            </li>
        </ul>
        <script type="text/javascript">document.write(unescape("%3Cspan id='_ideConac' %3E%3C/span%3E%3Cscript src='https://dcs.conac.cn/js/10/000/0000/40684988/CA100000000406849880003.js' type='text/javascript'%3E%3C/script%3E"));</script>
    </div>
</div>

@stack('script')

</body>
</html>
