d3a83fc262a967ed28ff470ebfe0df2a2c654397.php 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php if($paginator->hasPages()): ?>
  2. <nav>
  3. <ul class="pagination">
  4. <?php if($paginator->onFirstPage()): ?>
  5. <li class="page-item disabled" aria-disabled="true" aria-label="<?php echo app('translator')->get('pagination.previous'); ?>">
  6. <span class="page-link" aria-hidden="true">&lsaquo;</span>
  7. </li>
  8. <?php else: ?>
  9. <li class="page-item">
  10. <a class="page-link" href="<?php echo e($paginator->previousPageUrl()); ?>" rel="prev" aria-label="<?php echo app('translator')->get('pagination.previous'); ?>">&lsaquo;</a>
  11. </li>
  12. <?php endif; ?>
  13. <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  14. <?php if(is_string($element)): ?>
  15. <li class="page-item disabled" aria-disabled="true"><span class="page-link"><?php echo e($element); ?></span></li>
  16. <?php endif; ?>
  17. <?php if(is_array($element)): ?>
  18. <?php $__currentLoopData = $element; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  19. <?php if($page == $paginator->currentPage()): ?>
  20. <li class="page-item active" aria-current="page"><span class="page-link"><?php echo e($page); ?></span></li>
  21. <?php else: ?>
  22. <li class="page-item"><a class="page-link" href="<?php echo e($url); ?>"><?php echo e($page); ?></a></li>
  23. <?php endif; ?>
  24. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  25. <?php endif; ?>
  26. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  27. <?php if($paginator->hasMorePages()): ?>
  28. <li class="page-item">
  29. <a class="page-link" href="<?php echo e($paginator->nextPageUrl()); ?>" rel="next" aria-label="<?php echo app('translator')->get('pagination.next'); ?>">&rsaquo;</a>
  30. </li>
  31. <?php else: ?>
  32. <li class="page-item disabled" aria-disabled="true" aria-label="<?php echo app('translator')->get('pagination.next'); ?>">
  33. <span class="page-link" aria-hidden="true">&rsaquo;</span>
  34. </li>
  35. <?php endif; ?>
  36. </ul>
  37. </nav>
  38. <?php endif; ?>
  39. <?php /**PATH /Users/shaoguo/Desktop/公司资料/小梦/商城/ebayShop/vendor/laravel/framework/src/Illuminate/Pagination/resources/views/bootstrap-4.blade.php ENDPATH**/ ?>