Commit 311588cb authored by 章建武's avatar 章建武

deo

parent b9cd0ff0
...@@ -583,6 +583,16 @@ ...@@ -583,6 +583,16 @@
<div class="alert-all" id="alert-all" style="display: block;"> <div class="alert-all" id="alert-all" style="display: block;">
<div class="close"></div> <div class="close"></div>
<div class="alert-all-t"> <div class="alert-all-t">
@if($language_type == 1)
<a href="{{ route('enarticle',['id'=>$alert_t->id]) }}">
<img src="{{$alert_t->url}}{{ $alert_t->img_path }}">
<div class="alert-all-t-info">
<h1 class="ell1">{{ $alert_t->title }}</h1>
<p></p>
<p class="clock"><span class="icon-clock"></span><em>{{ date('Y-m-d',$alert_t->release_time) }}</em></p>
</div>
</a>
@else
<a href="{{ route('article',['id'=>$alert_t->id]) }}"> <a href="{{ route('article',['id'=>$alert_t->id]) }}">
<img src="{{$alert_t->url}}{{ $alert_t->img_path }}"> <img src="{{$alert_t->url}}{{ $alert_t->img_path }}">
<div class="alert-all-t-info"> <div class="alert-all-t-info">
...@@ -591,14 +601,23 @@ ...@@ -591,14 +601,23 @@
<p class="clock"><span class="icon-clock"></span><em>{{ date('Y-m-d',$alert_t->release_time) }}</em></p> <p class="clock"><span class="icon-clock"></span><em>{{ date('Y-m-d',$alert_t->release_time) }}</em></p>
</div> </div>
</a> </a>
@endif
</div> </div>
<div class="alert-all-b"> <div class="alert-all-b">
<ul> <ul>
@foreach($alert_b as $v) @foreach($alert_b as $v)
<li> <li>
@if($language_type == 1)
<a href="{{ route('enarticle',['id'=>$v->id]) }}">
<p class="ell1">{{ $v->title }}<span>{{ date('Y-m-d',$v->release_time) }}</span></p>
</a>
@else
<a href="{{ route('article',['id'=>$v->id]) }}"> <a href="{{ route('article',['id'=>$v->id]) }}">
<p class="ell1">{{ $v->title }}<span>{{ date('Y-m-d',$v->release_time) }}</span></p> <p class="ell1">{{ $v->title }}<span>{{ date('Y-m-d',$v->release_time) }}</span></p>
</a> </a>
@endif
</li> </li>
@endforeach @endforeach
</ul> </ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment