|
@@ -293,7 +293,11 @@
|
|
|
@if(array_has($articles2, '58') && $articles2['58'])
|
|
|
@foreach($articles2['58'] as $k=>$v)
|
|
|
<li>
|
|
|
- <a href="{{route('mobile.news.show',['id'=>$v->id])}}" target="_blank" rel="nofollow noopener noreferrer"><b class="b2"></b>{{cut_str($v->title, 25, 0, '...')}}</a>
|
|
|
+ @if(empty($v->is_url))
|
|
|
+ <a href="{{route('mobile.news.show',['id'=>$v->id])}}" target="_blank" rel="nofollow noopener noreferrer"><b>></b>{{cut_str($v->title, 15, 0, '...')}}<span class="jc_rt">{{date('Y-m-d',strtotime($v->created_at))}}</span></a>
|
|
|
+ @else
|
|
|
+ <a href="{{$v->is_url}}" target="_blank" rel="nofollow noopener noreferrer"><b>></b>{{cut_str($v->title, 15, 0, '...')}}<span class="jc_rt">{{date('Y-m-d',strtotime($v->created_at))}}</span></a>
|
|
|
+ @endif
|
|
|
</li>
|
|
|
@endforeach
|
|
|
<div onclick="window.location='{{route($sub_site."mobile.news.list",['id'=>58])}}';" style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多</div>
|