This commit is contained in:
pushuo 2022-06-27 20:29:35 +08:00
parent eb6d07ea0f
commit a54d521ba5
2 changed files with 3 additions and 3 deletions

View File

@ -44,8 +44,8 @@
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">{{ $category['name'] }}</a>
@if ($category['children'])
<ul class="dropdown-menu">
@forelse ($category['children'] as $children)
<li><a href="" class="dropdown-item">{{ $children['name'] }}</a></li>
@forelse ($category['children'] as $child)
<li><a href="{{ $child['url'] }}" class="dropdown-item">{{ $child['name'] }}</a></li>
@endforeach
</ul>
@endif

View File

@ -1,5 +1,5 @@
<div class="product-wrap">
<div class="image"><img src="{{ asset('image/default/zhanweitu.png') }}" class="img-fluid"></div>
<div class="image"><img src="{{ $product['image'] }}" class="img-fluid"></div>
<div class="product-name">{{ $product['name'] }}</div>
<div class="product-price">
<span class="price-new">$55.00</span>