优化前台订单

This commit is contained in:
pushuo 2022-08-26 17:24:20 +08:00
parent e72d64a4cb
commit ab8c3f20dd
2 changed files with 4 additions and 4 deletions

View File

@ -23,9 +23,9 @@
<thead>
<tr>
<th>{{ __('shop/account.order.order_details') }}</th>
<th>{{ __('shop/account.order.amount') }}</th>
<th>{{ __('shop/account.order.state') }}</th>
<th class="text-end">{{ __('common.action') }}</th>
<th width="160px">{{ __('shop/account.order.amount') }}</th>
<th width="100px">{{ __('shop/account.order.state') }}</th>
<th width="100px" class="text-end">{{ __('common.action') }}</th>
</tr>
</thead>
@foreach ($orders as $order)

View File

@ -17,7 +17,7 @@
<div>
@if ($order->status == 'unpaid')
<a href="{{ shop_route('orders.pay', $order->number) }}" class="btn btn-primary btn-sm nowrap">{{ __('shop/account.order.order_info.to_pay') }}</a>
<button class="btn btn-primary btn-sm cancel-order" type="button">{{ __('shop/account.order.order_info.cancel') }}</button>
<button class="btn btn-outline-secondary btn-sm cancel-order" type="button">{{ __('shop/account.order.order_info.cancel') }}</button>
@endif
@if ($order->status == 'shipped')
<button class="btn btn-primary btn-sm shipped-ed" type="button">{{ __('shop/account.order.order_info.confirm_receipt') }}</button>