调整
This commit is contained in:
@@ -46,7 +46,7 @@ class IndexController extends AdminController
|
|||||||
->required();
|
->required();
|
||||||
$form->textarea('description', '分类简介')
|
$form->textarea('description', '分类简介')
|
||||||
->rules('nullable');
|
->rules('nullable');
|
||||||
$form->image('cover', 'Logo')
|
$form->image('cover', '封面')
|
||||||
->move('images/' . date('Y/m/d'))
|
->move('images/' . date('Y/m/d'))
|
||||||
->removable()
|
->removable()
|
||||||
->uniqueName();
|
->uniqueName();
|
||||||
@@ -109,7 +109,7 @@ class IndexController extends AdminController
|
|||||||
->required()
|
->required()
|
||||||
->rules('required');
|
->rules('required');
|
||||||
$form->textarea('description', '分类简介')->rows(4)->rules('nullable');
|
$form->textarea('description', '分类简介')->rows(4)->rules('nullable');
|
||||||
$form->image('cover', 'Logo')
|
$form->image('cover', '封面')
|
||||||
->move('images/' . date('Y/m/d'))
|
->move('images/' . date('Y/m/d'))
|
||||||
->removable()
|
->removable()
|
||||||
->uniqueName();
|
->uniqueName();
|
||||||
|
|||||||
@@ -124,8 +124,8 @@ body {
|
|||||||
padding: 0 26px;
|
padding: 0 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav li>a:hover,
|
.nav li > a:hover,
|
||||||
.nav li.active>a {
|
.nav li.active > a {
|
||||||
background: #007900;
|
background: #007900;
|
||||||
color: #FF0;
|
color: #FF0;
|
||||||
}
|
}
|
||||||
@@ -202,7 +202,6 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.news-notice {
|
.news-notice {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
@@ -528,7 +527,8 @@ body {
|
|||||||
color: #0594c9;
|
color: #0594c9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-2-l {}
|
.col-2-l {
|
||||||
|
}
|
||||||
|
|
||||||
.col-2-l .tit {
|
.col-2-l .tit {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
@@ -603,7 +603,8 @@ body {
|
|||||||
background: #084466;
|
background: #084466;
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-2-r {}
|
.col-2-r {
|
||||||
|
}
|
||||||
|
|
||||||
.gsht {
|
.gsht {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -860,7 +861,7 @@ body {
|
|||||||
.ft-menu {
|
.ft-menu {
|
||||||
height: 230px;
|
height: 230px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: linear-gradient( rgb(63, 155, 11) , #3e8a1a);
|
background: linear-gradient(rgb(63, 155, 11), #3e8a1a);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -973,8 +974,9 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pagelist li a {
|
.pagelist li a {
|
||||||
height: 35px;
|
/* height: 35px; */
|
||||||
line-height: 35px;
|
line-height: 30px;
|
||||||
|
padding-right: 40px;
|
||||||
display: block;
|
display: block;
|
||||||
background: url(../images/sanjiao2.png) 220px 14px no-repeat #fafafa;
|
background: url(../images/sanjiao2.png) 220px 14px no-repeat #fafafa;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@@ -983,7 +985,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pagelist li a:hover,
|
.pagelist li a:hover,
|
||||||
.pagelist li.active>a {
|
.pagelist li.active > a {
|
||||||
background: url(../images/sanjiao.png) 218px 14px no-repeat #fafafa;
|
background: url(../images/sanjiao.png) 218px 14px no-repeat #fafafa;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
@@ -1026,6 +1028,7 @@ body {
|
|||||||
margin: 12px 12px 0 12px;
|
margin: 12px 12px 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.pagelujing {
|
.pagelujing {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border-bottom: 2px solid #efefef;
|
border-bottom: 2px solid #efefef;
|
||||||
@@ -1033,6 +1036,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pagelujing .name {
|
.pagelujing .name {
|
||||||
|
width: 48%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -1041,13 +1045,20 @@ body {
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagelujing span {
|
.pagelujing span {
|
||||||
|
/* width:48%; */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
/* right: 0; */
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
color: #888;
|
color: #888;
|
||||||
|
/* overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-txt.ny,
|
.news-txt.ny,
|
||||||
@@ -1167,7 +1178,6 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.words11 {
|
.words11 {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
@@ -1412,7 +1422,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.poster li>img {
|
.poster li > img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@@ -30,20 +30,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="page-right">
|
<div class="page-right">
|
||||||
<div class="pagelujing">
|
<div class="pagelujing">
|
||||||
<div class="name">{{ $category->title }}</div>
|
{{-- <div class="name">{{ $category->title }}</div>--}}
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
您当前所在位置:<a href="/">首页</a> >
|
您当前所在位置:<a href="/">首页</a>
|
||||||
@if ($parent->id!=$category->id)
|
@if ($parent->id!=$category->id)
|
||||||
<a href="{{ $parent->link }}">{{ $parent->title }}</a> >
|
> <a href="{{ $parent->link }}">{{ $parent->title }}</a>
|
||||||
@endif
|
@endif
|
||||||
<a href="{{ $category->link }}">{{ $category->title }}</a> >
|
> <a href="{{ $category->link }}">{{ $category->title }}</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="biaoti">{{ $article->title }}</div>
|
<div class="biaoti">{{ $article->title }}</div>
|
||||||
<div class="sshuomign"><span>发布时间:{{ $article->created_at->format('Y-m-d') }}</span></div>
|
<div class="sshuomign"><span>发布时间:{{ $article->created_at->format('Y-m-d') }}</span></div>
|
||||||
<div class="article_txt">
|
<div class="article_txt">
|
||||||
{{-- @if ($article->cover)--}}
|
{{-- @if ($article->cover)--}}
|
||||||
{{-- <img src="{{ $article->cover_path }}">--}}
|
{{-- <img src="{{ $article->cover_path }}">--}}
|
||||||
{{-- @endif--}}
|
{{-- @endif--}}
|
||||||
{!! $article->content !!}
|
{!! $article->content !!}
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
{{-- <div class="container">--}}
|
<div class="container">
|
||||||
{{-- <div id="weather"></div>--}}
|
<div id="weather"></div>
|
||||||
{{-- <div class="toptxt"><a href="#">加入收藏</a><a href="#">设为首页</a></div>--}}
|
{{-- <div class="toptxt"><a href="#">加入收藏</a><a href="#">设为首页</a></div>--}}
|
||||||
{{-- <div class="logo"><a href="#"><img src="images/logo.png"/></a></div>--}}
|
<div class="logo"><a href="#"><img src="/assets/index/images/logo.png"/></a></div>
|
||||||
{{-- <div class="search">--}}
|
{{-- <div class="search">--}}
|
||||||
{{-- <input type="text" class="ipt-sea" placeholder="请输入搜索关键词"/>--}}
|
{{-- <input type="text" class="ipt-sea" placeholder="请输入搜索关键词"/>--}}
|
||||||
{{-- <a href="javascript:;">搜索</a></div>--}}
|
{{-- <a href="javascript:;">搜索</a>--}}
|
||||||
{{-- </div>--}}
|
{{-- </div>--}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<ul class="" id="navul">
|
<ul class="" id="navul">
|
||||||
|
|||||||
Reference in New Issue
Block a user