@if (!empty($productData['items']))
@foreach ($productData['items'] as $index => $item)
@php $cate = $item['detail'] ?? ''; $price = $item['price'] ?? ''; $status = $item['status'] ?? ''; @endphp
@endforeach
@if ($productData['page']['lastPage'] > 0)
    @if ($productData['page']['currentPage'] > 1)
  1. @else
  2. @endif @php $page = 1; @endphp @while ($page <= $productData['page']['lastPage']) @if ($page > $productData['page']['currentPage'] + 5) @break @endif @if ($page > $productData['page']['currentPage'] - 6) @if ($productData['page']['currentPage'] == $page)
  3. {{ $page }}
  4. @else
  5. {{ $page }}
  6. @endif @endif @php $page++; @endphp @endwhile @if ($productData['page']['currentPage'] < $productData['page']['lastPage'])
  7. @else
  8. @endif
@endif @endif

Loading...

@script @endscript {{-- --}}