sifangpay/resources/views/web/layouts/h5base.blade.php

113 lines
3.0 KiB
PHP

<!DOCTYPE html>
@section('html')
<html>
@show
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
@section('title')
<title>{{ isset($title)?$title:config('website.name') }}</title>
<meta name="keywords" content="{{ isset($keyword)?$keyword:config('website.name') }}">
<meta name="description" content="{{ isset($description)?$description:config('website.name') }}">
<meta name="csrf-token" content="{{ csrf_token() }}">
@show
<script>
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if (clientWidth > 640) {
docEl.style.fontSize = 100 + 'px';
} else {
docEl.style.fontSize = 100 * (clientWidth / 375) + 'px';
}
};
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
</script>
@section('theme_css')
<link rel="stylesheet" href="{{ url('/style/web/') }}/h5/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ url('/style/web/') }}/h5/css/ui.min.css">
@show
@section('juqery')
<script src="{{ url('/style/web/') }}/h5/js/jquery-1.11.0.min.js"></script>
@show
<link rel="stylesheet" href="{{ url('/style/web/') }}/h5/layer_mobile/need/layer.css">
<script src="{{ url('/style/web/') }}/h5/layer_mobile/layer.js"></script>
@yield('add_css')
@section('font_css')
<!-- 图标 CSS-->
@show
<style>
.fa-close-404 {
font-size: .72rem;
color: #fe9400;
}
.nothing {
padding: 10px;
font-size: 14px;
text-align: center;
margin-top: 100px;
color: #666;
}
[v-cloak] {
display: none;
}
.tabs {
max-width: 640px;
overflow: hidden;
}
</style>
</head>
@section('body')
<body class="">
@show
@section('header')
@show
@section('footer')
@show
@yield('content')
@section('base_js')
@show
@yield('foot_js')
</body>
</html>