领导班子增加字段
This commit is contained in:
@@ -62,7 +62,9 @@ class IndexController extends AdminController
|
|||||||
$form->belongsToMany('categories', CategorySelectAble::class, __('关联分类'))->required();
|
$form->belongsToMany('categories', CategorySelectAble::class, __('关联分类'))->required();
|
||||||
|
|
||||||
$form->textarea('description', '内容简介');
|
$form->textarea('description', '内容简介');
|
||||||
$form->text('tenure', '任期')->help('领导班子需要添加此数据');
|
$form->text('duty', '职务')->help('领导班子需要添加此数据');
|
||||||
|
$form->text('rank', '职称')->help('领导班子需要添加此数据');
|
||||||
|
|
||||||
$form->image('cover', '封面')
|
$form->image('cover', '封面')
|
||||||
->move('images/' . date('Y/m/d'))
|
->move('images/' . date('Y/m/d'))
|
||||||
->removable()
|
->removable()
|
||||||
|
|||||||
@@ -66,22 +66,22 @@
|
|||||||
@if (getArticlesBYCate(14,3)->isNotEmpty())
|
@if (getArticlesBYCate(14,3)->isNotEmpty())
|
||||||
@foreach (getArticlesBYCate(14,3) as $article)
|
@foreach (getArticlesBYCate(14,3) as $article)
|
||||||
<li>
|
<li>
|
||||||
<!-- <a href="{{ $article->link }}"> -->
|
<!-- <a href="{{ $article->link }}"> -->
|
||||||
<div class="ce-img surveyLeader-img">
|
<div class="ce-img surveyLeader-img">
|
||||||
<span style="background-image: url({{ $article->cover_path }});"></span>
|
<span style="background-image: url({{ $article->cover_path }});"></span>
|
||||||
|
</div>
|
||||||
|
<div class="surveyLeader-cont">
|
||||||
|
<div class="surveyLeader-name">
|
||||||
|
<span>{{ $article->title }}</span>{{ $article->description }}
|
||||||
</div>
|
</div>
|
||||||
<div class="surveyLeader-cont">
|
<div class="surveyLeader-post">
|
||||||
<div class="surveyLeader-name">
|
{{ $article->tenure }}
|
||||||
<span>{{ $article->title }}</span>{{ $article->description }}
|
|
||||||
</div>
|
|
||||||
<div class="surveyLeader-post">
|
|
||||||
{{ $article->tenure }}
|
|
||||||
</div>
|
|
||||||
<div class="surveyLeader-span">
|
|
||||||
<span>职务:党委书记/院长</span>
|
|
||||||
<span>职称:研究员级高级工程师</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="surveyLeader-span">
|
||||||
|
<span>职务:{{ $article->duty }}</span>
|
||||||
|
<span>职称:{{ $article->rank }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- </a> -->
|
<!-- </a> -->
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
<img src="/assets/index/images/surveyIcon_02.png"/>
|
<img src="/assets/index/images/surveyIcon_02.png"/>
|
||||||
{{ getOneCategory(13,'title') }}
|
{{ getOneCategory(13,'title') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- <a href="{{ getOneCategory(13,'link') }}" class="secondTop-more">
|
<!-- <a href="{{ getOneCategory(13,'link') }}" class="secondTop-more">
|
||||||
查看更多>>
|
查看更多>>
|
||||||
</a> -->
|
</a> -->
|
||||||
</div>
|
</div>
|
||||||
@@ -104,9 +104,9 @@
|
|||||||
@if (getCateChild(13)->isNotEmpty())
|
@if (getCateChild(13)->isNotEmpty())
|
||||||
@foreach (getCateChild(13) as $cate)
|
@foreach (getCateChild(13) as $cate)
|
||||||
<div class="organLabel">
|
<div class="organLabel">
|
||||||
<!-- <div class="organLabel-name">
|
<!-- <div class="organLabel-name">
|
||||||
{{ $cate->title }}
|
{{ $cate->title }}
|
||||||
</div> -->
|
</div> -->
|
||||||
<ul class="organLabel-list">
|
<ul class="organLabel-list">
|
||||||
@if($cate->childrens)
|
@if($cate->childrens)
|
||||||
@foreach ($cate->childrens as $child)
|
@foreach ($cate->childrens as $child)
|
||||||
|
|||||||
@@ -52,8 +52,8 @@
|
|||||||
{{ $article->tenure }}
|
{{ $article->tenure }}
|
||||||
</div>
|
</div>
|
||||||
<div class="surveyLeader-span">
|
<div class="surveyLeader-span">
|
||||||
<span>职务:党委书记/院长</span>
|
<span>职务:{{ $article->duty }}</span>
|
||||||
<span>职称:研究员级高级工程师</span>
|
<span>职称:{{ $article->rank }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user