This commit is contained in:
sl 2022-08-18 17:13:38 +08:00
parent c07de5c130
commit 22944781c3
2 changed files with 7 additions and 4 deletions

View File

@ -39,6 +39,9 @@ return [
'wishlist' => [
'index' => '收藏列表',
'product' => '产品',
'price' => '价格',
'check_details' => '查看详情',
],
'order' => [

View File

@ -20,15 +20,15 @@
<div class="col-12 col-md-9">
<div class="card mb-4 h-min-600">
<div class="card-header d-flex justify-content-between align-items-center">
<h5 class="card-title">我的收藏</h5>
<h5 class="card-title">{{ __('shop/account.wishlist.index') }}</h5>
</div>
<div class="card-body">
<table class="table align-middle">
<thead>
<tr>
<th width="90px"></th>
<th>产品</th>
<th>价格</th>
<th>{{ __('shop/account.wishlist.product') }}</th>
<th>{{ __('shop/account.wishlist.price') }}</th>
<th class="text-end"></th>
</tr>
</thead>
@ -40,7 +40,7 @@
<td>{{ $item['price'] }}</td>
<td class="text-end">
<div class="">
<a class="btn btn-dark btn-sm add-cart" href="{{ shop_route('products.show', $item['product_id']) }}">查看详情</a>
<a class="btn btn-dark btn-sm add-cart" href="{{ shop_route('products.show', $item['product_id']) }}">{{ __('shop/account.wishlist.check_details') }}</a>
<button class="btn btn-danger btn-sm remove-wishlist"><i class="bi bi-x-lg"></i></button>
</div>
</td>