Browse Source

更新文章页面入口

sandm 3 years ago
parent
commit
31e77ef570
1 changed files with 6 additions and 0 deletions
  1. 6 0
      public/themes/default/views/app/content/article/list.blade.php

+ 6 - 0
public/themes/default/views/app/content/article/list.blade.php

@@ -66,9 +66,15 @@
                         </div>
                         <div class="br link_gray6">
                             <div class="t substring">
+                                @if(empty($v->is_url))
                                 <a  href="{{route('news.show',['id'=>$v->id])}}">
                                     {!! $v->title !!}
                                 </a>
+                                @else
+                                    <a  href="{{$v->is_url}}">
+                                        {!! $v->title !!}
+                                    </a>
+                                @endif
                             </div>
                             <div class="time substring">