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();
$form->textarea('description', '分类简介')
->rules('nullable');
$form->image('cover', 'Logo')
$form->image('cover', '封面')
->move('images/' . date('Y/m/d'))
->removable()
->uniqueName();
@@ -109,7 +109,7 @@ class IndexController extends AdminController
->required()
->rules('required');
$form->textarea('description', '分类简介')->rows(4)->rules('nullable');
$form->image('cover', 'Logo')
$form->image('cover', '封面')
->move('images/' . date('Y/m/d'))
->removable()
->uniqueName();

View File

@@ -202,7 +202,6 @@ body {
}
.news-notice {
margin: 20px 0;
}
@@ -528,7 +527,8 @@ body {
color: #0594c9;
}
.col-2-l {}
.col-2-l {
}
.col-2-l .tit {
height: 40px;
@@ -603,7 +603,8 @@ body {
background: #084466;
}
.col-2-r {}
.col-2-r {
}
.gsht {
float: left;
@@ -973,8 +974,9 @@ body {
}
.pagelist li a {
height: 35px;
line-height: 35px;
/* height: 35px; */
line-height: 30px;
padding-right: 40px;
display: block;
background: url(../images/sanjiao2.png) 220px 14px no-repeat #fafafa;
font-size: 12px;
@@ -1026,6 +1028,7 @@ body {
margin: 12px 12px 0 12px;
}
.pagelujing {
height: 40px;
border-bottom: 2px solid #efefef;
@@ -1033,6 +1036,7 @@ body {
}
.pagelujing .name {
width: 48%;
position: absolute;
left: 0;
top: 0;
@@ -1041,13 +1045,20 @@ body {
line-height: 40px;
font-size: 16px;
font-weight: bold;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.pagelujing span {
/* width:48%; */
position: absolute;
right: 0;
/* right: 0; */
line-height: 40px;
color: #888;
/* overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; */
}
.news-txt.ny,
@@ -1167,7 +1178,6 @@ body {
}
.words11 {
overflow: hidden;
padding-top: 20px;

View File

@@ -30,14 +30,13 @@
</div>
<div class="page-right">
<div class="pagelujing">
<div class="name">{{ $category->title }}</div>
{{-- <div class="name">{{ $category->title }}</div>--}}
<span>
您当前所在位置:<a href="/">首页</a> >
您当前所在位置:<a href="/">首页</a>
@if ($parent->id!=$category->id)
<a href="{{ $parent->link }}">{{ $parent->title }}</a> >
> <a href="{{ $parent->link }}">{{ $parent->title }}</a>
@endif
<a href="{{ $category->link }}">{{ $category->title }}</a> >
> <a href="{{ $category->link }}">{{ $category->title }}</a>
</span>
</div>
<div class="biaoti">{{ $article->title }}</div>

View File

@@ -1,13 +1,14 @@
<div class="header">
{{-- <div class="container">--}}
{{-- <div id="weather"></div>--}}
<div class="container">
<div id="weather"></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">--}}
{{-- <input type="text" class="ipt-sea" placeholder="请输入搜索关键词"/>--}}
{{-- <a href="javascript:;">搜索</a></div>--}}
{{-- <a href="javascript:;">搜索</a>--}}
{{-- </div>--}}
</div>
</div>
<div class="nav">
<ul class="" id="navul">
<li @if (!isset($parent)) class="active" @endif><a href="/">首页</a></li>