初步完成

This commit is contained in:
2020-09-11 10:27:23 +08:00
parent 9c6d4da51e
commit 49c3511dbe
43 changed files with 3437 additions and 1188 deletions

View File

@@ -1,127 +1,97 @@
<!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">
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<meta name="keywords" content="@section('keywords') @show">
<meta name="description" content="@section('description') @show">
<title>{{ config('app.name', '') }}</title>
<link type="text/css" rel="stylesheet" href="{{ asset('assets/index/css/swiper.min.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ asset('assets/index/css/style.css') }}" />
<script type="text/javascript" src="{{ asset('assets/index/js/swiper.min.js') }}"></script>
<style type="text/css">
body{background: #f4f5f7}
</style>
<meta charset="utf-8"/>
<title>@section('title'){{ config('app.name', '') }}@show</title>
<link rel="icon" href="{{ asset('assets/index/img/favicon.ico') }}" mce_href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/font-awesome.min.css') }}"/>
<link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/swiper.min.css') }}"/>
<link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/style.css') }}"/>
@yield('css')
@yield('js')
</head>
<body>
<!-- 头部 -->
<div class="idxTop" style="background-image: url({{ $top_advert->cover_path }});">
<div class="idxTop-img">
<img src="{{ asset('assets/index/images/idx/idx_top_img.png') }}">
<!-- tool -->
<div class="tool">
<div class="container tool-content">
<div class="tool-herf">
<a href="#">联系我们</a>
<span>/</span>
<a href="#">网站地图</a>
<span>/</span>
<a href="#">电子邮箱</a>
</div>
<div class="idxTop-tel">
<p>电话:{{ config('mobile') }}</p>
<p>邮箱:{{ config('email') }}</p>
<form class="tool-search" action="{{ route('article.search') }}">
<input name="title" placeholder="输入关键字搜索"/>
<button type="submit">
<i class="fa fa-search"></i>
</button>
</form>
</div>
</div>
<!-- end tool -->
<!-- header -->
<header class="header">
<div class="container header-content">
<img class="header-logo" src="{{ asset('assets/index/img/logo.png') }}" alt="黑龙江省科学院智能制造研究所">
<div class="header-text">
<p>面向世界科技前沿,面向国家重大需求,面向国民经济主战场,率先实现科学技术跨越发展,率先建成国家创新人才高地,率先建成国家高水平科技智库,率先建设国际一流科研机构。</p>
<p class="header-text-sign">——智能制造所办所方针</p>
</div>
</div>
<!-- 导航 -->
<div class="idxNav">
<div class="contant">
<div class="idxNav-img">
<p>《黑龙江科学》期刊</p>
<span>Heilongjiang scientific journals</span>
</div>
<ul class="idxNav-ul">
<li @if (!isset($category)) class="active" @endif><a href="/">首页</a></li>
</header>
<!-- end header -->
@foreach($all_categorys as $menu)
<li @if (isset($category) && $menu->id==$category->id) class="active" @endif>
@switch($menu->type)
@case('picture')
<a href="{{ route('article.picture', $menu) }}">
{{ $menu->title }}
</a>
@break
@case('show')
@if ($menu->relations)
<a href="{{ route('article.show', $menu->relations) }}">
{{ $menu->title }}
</a>
@endif
@break
@default
<a href="{{ route('article.index', $menu) }}">
{{ $menu->title }}
</a>
@break
@endswitch
@include('layouts.header')
@section('content')
</li>
@endforeach
</ul>
@show
@if ($links->isNotEmpty())
<!-- href -->
<div class="footer-href">
<div class="container href-flex">
@foreach ($links as $link)
<a href="{{ $link->url }}" target="_Blank">{{ $link->title}}</a>
@endforeach
</div>
</div>
@section('content')
<!-- end href -->
@endif
<!-- footer -->
<footer class="footer">
<p>版权所有黑龙江省科学院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;黑ICP备11005256号</p>
<p>地址黑龙江省哈尔滨市南岗区汉水路265号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;邮政编码150090</p>
<p>电话86-451-82305698&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eMailwebmaster@haai.com.cn</p>
<p>© CopyRight 2002-2012,The Instiute of Automation heilongjiang academy of sciences All rights reserved.</p>
<img src="{{ asset('assets/index/img/blue.png') }}" alt="事业单位">
</footer>
<!-- end footer -->
<!-- script -->
<script src="{{ asset('assets/index/js/jquery.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/cjango.js') }}" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
@show
<!-- 尾部 -->
<footer class="idxFooter" style="background-image: url({{ asset('assets/index/images/idx/idxFooter.png') }});">
<div class="contant">
<div class="idxFooter-top">
<div class="idxNav-img">
<p>《黑龙江科学》期刊</p>
<span>Heilongjiang Science</span>
</div>
<div class="idxFooter-text">
<div class="idxFooter-title">
<span>编委会</span>
<ul class="idxFooter-ul">
<li>
&nbsp;&nbsp;&nbsp;任:
@if($manage_users->isNotEmpty()){{ $manage_users->first()->title }} @endif
</li>
<li>
副主任:
@if($manage_users->isNotEmpty())
@foreach ($manage_users as $users)
@if ($loop->iteration>1)
{{ $users->title }}
@endif
@endforeach
@endif
</li>
</ul>
</div>
<div class="idxFooter-name">
<span>专家委员:<small>(以姓氏笔画为序)</small></span>
<ul class="idxFooter-name-ul">
@if ($other_users->isNotEmpty())
@foreach ($other_users as $user)
<li>{{ $user->title }}</li>
@endforeach
@endif
</ul>
</div>
</div>
</div>
<ul class="idxFooter-bottom">
@foreach ($links as $link)
<li> <a href="{{ $link->url }}">{{ $link->title}}</a> </li>
@endforeach
</ul>
<div class="idxFooter-tips">
<p>版权所有: 黑龙江易代文化产业有限公司&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.beian.miit.gov.cn/" style="color: #fff">黑ICP备18000348号-1</a></p>
<p>地址哈尔滨市嵩山路15号150090&nbsp;&nbsp;&nbsp;&nbsp;电话0451-82316133/82321706&nbsp;&nbsp;&nbsp;&nbsp;E-Mail: hlj16133@163.com</p>
<p>印刷单位:哈尔滨市工大节能印刷厂&nbsp;&nbsp;&nbsp;&nbsp;总发行:哈尔滨市邮局&nbsp;&nbsp;&nbsp;&nbsp;订阅:全国各地邮局&nbsp;&nbsp;&nbsp;&nbsp;刊期:半月</p>
<p>广告发布登记编号哈南市监逛变字【2019】第21号</p>
</div>
</div>
</footer>
// 导航栏
$(function () {
$("#nav").find("li").mouseenter(function () {
if ($(this).find(".nav-layer").length != 0) {
$(this).addClass("show");
$(this).find(".nav-layer").removeClass('hide');
}
}).mouseleave(function () {
if ($(this).find(".nav-layer").length != 0) {
if ($(this).hasClass("show")) {
$(this).removeClass("show");
}
$(this).find(".nav-layer").addClass('hide');
}
})
})
</script>
<!-- end script -->
</body>
@stack('script')
</html>