<!DOCTYPE html>
<html lang="{{ config('lang') }}" class="lang-{{ config('lang') }}">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="csrf-token" content="{{ csrf_token() }}">
	<title>{{ $seo['title'] }}</title>
    <meta name="keywords" content="{{ $seo['keywords'] }}">
    <meta name="description" content="{{ $seo['description'] }}">
	<meta name="renderer" content="webkit">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="canonical" href="{{ Request::fullUrl() }}" />
  {!! inject('setting')->config('traffic_code') !!}
	{!! inject('setting')->config('app_traffic_code') !!}
	{!! inject('setting')->config('google_code') !!}
	{!! inject('setting')->config('chat_code') !!}
	<link rel="icon" href="{{ inject('setting')->config('brand_ico') }}" type="image/x-icon">
	<link rel="stylesheet" href="{{ themePath('css/bootstrap.min.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/jquery.fancybox.min.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/font-awesome.min.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/swiper-bundle.min.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/animate.min.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/index.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/app.css') }}">
	<link rel="stylesheet" href="{{ themePath('css/main.css') }}">
  	<link rel="stylesheet" href="{{ config('system.icon_url') }}">
    <script>
    	var THEME_URL = '{{ themePath('/') }}';
      var HOME_URL = "{{ url('/') }}";
    </script>
	@yield('head')
</head>
<!--[if lt IE 10]>
<body>
    <div class="noie">
        您现在使用的是旧版本的 IE 浏览器，为了您能更好及完整体验该系统的所有功能，请尽快升级您的浏览器！
    </div>
<![endif]-->
<body>
@include('theme::common.header')
@yield('banner')
@yield('anchor')

<div class="nei-template-wrap">
	<div class="max-all clearfix">
		<div class="wmy-left">
			@yield('left')
		</div>
		<div class="wmy-right">
			@yield('right')
		</div>
	</div>
</div>

@yield('content')
@yield('related')
@include('theme::common.foot')
<script src="{{ themePath('js/app.js') }}"></script>
<script src="{{ themePath('js/bootstrap.bundle.min.js') }}"></script>
<script src="{{ themePath('js/swiper-bundle.min.js') }}"></script>
<script src="{{ themePath('js/jquery.fancybox.min.js') }}"></script>
<script src="{{ themePath('js/wow.min.js') }}"></script>
<script src="{{ themePath('js/jquery.lazyload.min.js') }}"></script>
<script src="{{ themePath('js/jquery.SuperSlide.2.1.2.js') }}"></script>
<script src="{{ themePath('js/jquery.countup.min.js') }}"></script>
<script src="{{ themePath('js/jquery.waypoints.min.js') }}"></script>
<script src="{{ themePath('js/main.js') }}"></script>
@yield('foot')
@include('theme::common.prompt')
@include('theme::common.service')
@include('theme::common.cookie')
<script>
	$(document).ready(function() {
		$(function() {
			$(window).scroll(function() {
				if ($(window).scrollTop() > 0) { //计算 //当滚动条的位置处于距顶部200像素以下时，跳转链接出现，否则消失
					$("header").addClass('header_bg');
				} else {
					$("header").removeClass('header_bg');
				}
			});
		});
	});
</script>
</body>
</html>