This commit is contained in:
2020-09-17 10:40:01 +08:00
parent b266a81b29
commit fec199aa7b
4 changed files with 789 additions and 779 deletions

View File

@@ -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();

View File

@@ -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;
@@ -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;
@@ -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;

View File

@@ -30,14 +30,13 @@
</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>

View File

@@ -1,13 +1,14 @@
<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">
<li @if (!isset($parent)) class="active" @endif><a href="/">首页</a></li> <li @if (!isset($parent)) class="active" @endif><a href="/">首页</a></li>