@extends('layouts.app')
@section('content')
<h4 style="text-align:center;">SHOES</h4>
@foreach($shoes as $list)
<div style="margin-top: 40px">
<div class="row d-flex justify-content-md-center">
<div class="card" style="width: 22rem;">
<img class="card-img-top justify-content-center" src="{{ asset("images/$list->shoe_image") }}" alt="" style="width:350px; height:350px;">
{{-- bg-card-pink p-2 m-2 --}}
<div class="card-body">
<h1>{{ $list->shoe_name }}</h1><br>
<h6>{{ $list->shoe_description }}</h6><br>
${{ $list->shoe_price }}<br>
</div>
<a class="btn btn-primary btn-dark" href="/detail/{{ $list->id }}">
SEE DETAILS
</a>
</div>
</div>
</div>
@endforeach
<div class="row d-flex justify-content-md-center mt-4">{{ $shoes->links() }}</div>
@endsection有没有人知道如何改变刀片上分页按钮的颜色/样式?我使用默认的按幼虫分页,即$shoes->links()
发布于 2020-12-14 20:46:52
您可以通过将分页文件从供应商文件夹导出到资源来自定义默认分页。
要导出在终端中运行:php artisan vendor:publish --tag=laravel-pagination
请参阅Laravel Docs
https://stackoverflow.com/questions/65286632
复制相似问题