微调
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<ul class="child-nav-ul">
|
||||
@if ($parent->childrens->isNotEmpty())
|
||||
@foreach ($parent->childrens as $child)
|
||||
@foreach ($parent->childrens()->orderBy('order','asc')->get() as $child)
|
||||
<li>
|
||||
<a href="{{ $child->link }}" @if($category->id==$child->id) class="show" @endif>{{ $child->title }}</a>
|
||||
</li>
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
</div>
|
||||
<ul class="child-nav-ul">
|
||||
@if ($parent->childrens->isNotEmpty())
|
||||
@foreach ($parent->childrens as $child)
|
||||
@foreach ($parent->childrens()->orderBy('order','asc')->get() as $child)
|
||||
|
||||
<li>
|
||||
<a href="{{ $child->link }}" @if($category->id==$child->id) class="show" @endif>{{ $child->title }}</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user