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