This commit is contained in:
songliang 2022-08-16 14:45:24 +08:00
parent 036b6a466e
commit 481c06a15a
4 changed files with 11 additions and 4 deletions

View File

@ -1263,6 +1263,9 @@ body.page-account-order-info .product-list .right .name {
body.page-account-order-info .product-list .right .price {
font-weight: bold;
}
body.page-account-order-info .nowrap {
white-space: nowrap;
}
body.page-account-address .addresses-wrap .item, body.page-checkout .addresses-wrap .item {
position: relative;

View File

@ -82,4 +82,8 @@ body.page-account-order-info {
}
}
}
.nowrap {
white-space: nowrap;
}
}

View File

@ -63,7 +63,7 @@
</div>
@else
{{-- <p class="text-muted">近期订单</p> --}}
<ul class="list-unstyled orders-list">
<ul class="list-unstyled orders-list table-responsive">
<table class="table table-hover">
<tbody>
@foreach ($latest_orders as $order)

View File

@ -18,12 +18,12 @@
<div class="card mb-4 order-head">
<div class="card-header"><h5 class="card-title">订单详情</h5></div>
<div class="card-body">
<div class="bg-light p-2">
<div class="bg-light p-2 table-responsive">
<table class="table table-borderless mb-0">
<thead>
<tr>
<th>订单号</th>
<th>下单日期</th>
<th class="nowrap">下单日期</th>
<th>状态</th>
<th>订单金额</th>
</tr>
@ -35,7 +35,7 @@
<td>
{{ $order->status }}
@if ($order->status == 'unpaid')
<a href="{{ shop_route('orders.pay', $order->number) }}" class="btn btn-primary btn-sm">去支付</a>
<a href="{{ shop_route('orders.pay', $order->number) }}" class="btn btn-primary btn-sm nowrap">去支付</a>
@endif
</td>
<td>{{ $order->total }}</td>