Files
new_dqb/resources/views/layouts/app.blade.php
2020-09-14 09:56:48 +08:00

53 lines
1.7 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<title>{{ config('app.name', '') }}</title>
<link rel="stylesheet" href="{{ asset('assets/index/css/style.css') }}?{{ time() }}" type="text/css"/>
<script type="text/javascript" src="{{ asset('assets/index/js/jquery-1.8.2.min.js') }}"/></script>
<script type="text/javascript" src="{{ asset('assets/index/js/banner.js') }}"/></script>
</head>
<body>
<div class="clear"></div>
<div class="logo">
<a href="/"><img src="/assets/index/images/logo.jpg" /></a>
</div>
<div class="clear"></div>
<div class="nav">
<div class="main">
<ul>
<li @if (!isset($category)) class="on" @endif><a href="/">首页</a></li>
@foreach ($all_categorys as $cate)
<li @if (isset($category) && $cate->id==$category->id) class="on" @endif >
<a href="{{ route('category.show',$cate) }}">{{ $cate->title }}</a>
</li>
@endforeach
</ul>
</div>
</div>
@section('content')
@show
<div class="clear"></div>
<div class="footer">
<div class="main">
<div class="foot">
<div>黑龙江省科学院大庆分院 版权所有 <br>
黑ICP备1000001号<br>
地址大庆高新区博学大街45号 邮箱hkydqyb@126.com<br>
电话086-459-8998866  传真086-459-8998866 邮编163319 <br>
</div>
</div>
</div>
</div>
@yield('script')
</body>
</html>