Commit 43652b27 by 肖康

css

parent 464ea692
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
/*全局样式*/
@charset "utf-8";
html, body, div, iframe, em, img, p, a, strong, b, i, form, label, span,
h1, h2, h3, h4, h5, h6, dl, dt, dd, ol, ul, li,
applet, object, blockquote, big, cite, code, del, dfn,
abbr, acronym, address, pre, time, mark, audio, video,
article, aside, canvas, details, embed, figure, figcaption, footer, header, nav, section, menu, button, input {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
table, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
font-size: 100%;
font: inherit;
}
table {
border-color: #ccc !important;
}
body, html, button, input {
color: #666666;
font-size: 12px;
font-family: arical,"微软雅黑", PingFangSC-Regular, PingFang SC;
background: #ccc;
}
.clr:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0
}
.clr {
display: block;
min-height: 1%;
}
.clr {
clear: both
}
.clr:after {
content: " ";
display: table;
clear: both
}
.fl {
float: left;
}
.fr {
float: right;
}
\ No newline at end of file
@charset "utf-8";html,body,div,iframe,em,img,p,a,strong,b,i,form,label,span,h1,h2,h3,h4,h5,h6,dl,dt,dd,ol,ul,li,applet,object,blockquote,big,cite,code,del,dfn,abbr,acronym,address,pre,time,mark,audio,video,article,aside,canvas,details,embed,figure,figcaption,footer,header,nav,section,menu,button,input{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}table,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;font-size:100%;font:inherit}table{border-color:#ccc !important}body,html,button,input{color:#666666;font-size:12px;font-family:arical,"微软雅黑",PingFangSC-Regular,PingFang SC;background:#ccc}.clr:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clr{display:block;min-height:1%}.clr{clear:both}.clr:after{content:" ";display:table;clear:both}.fl{float:left}.fr{float:right}
\ No newline at end of file
alert("home")
\ No newline at end of file
File mode changed
我是css
\ No newline at end of file
我是尾部
\ No newline at end of file
我是商城头部
\ No newline at end of file
我是官网头部
\ No newline at end of file
我是js
\ No newline at end of file
@extends('layouts.app') @extends('layouts.app')
@section('css')
css
@endsection
@section('body')
@include('common.headerg')
官网
@endsection
@section('content') @section('js')
这里是主页内容 js
@endsection @endsection
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', '深茂官网')title描述</title>
<!-- 样式 -->
</head>
<body>
<div id="app">
@include('layouts.home._header')
<div class="container">
@yield('content')
</div>
@include('layouts.home._footer')
</div>
<!-- JS 脚本 -->
<script src="/assets/js/app.js"></script>
</body>
</html>
...@@ -7,17 +7,17 @@ ...@@ -7,17 +7,17 @@
<!-- CSRF Token --> <!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', '深茂官网')title描述</title> <title>@yield('title', '深茂官网')title描述</title>
<link rel="stylesheet" href="__PUBLIC__/assets/css/common/common.min.css?v={$suffixtime}" >
<!-- 样式 --> <!-- 样式 -->
@yield('css')
</head> </head>
<body> <body>
<div id="app"> <div id="app">
@include('layouts._header') @yield('body')
<div class="container">
@yield('content')
</div>
@include('layouts._footer')
</div> </div>
<!-- JS 脚本 --> <!-- JS 脚本 -->
<script src="/assets/js/app.js"></script> <script src="/assets/js/app.js"></script>
@yield('js')
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment