pushuo 2022-08-26 15:35:19 +08:00
parent 3503560202
commit b8dd4f3fb3
4 changed files with 8 additions and 6 deletions

View File

@ -1248,7 +1248,7 @@ body.page-account-order-list .order-wrap .table .product-info {
align-items: center;
}
body.page-account-order-list .order-wrap .table .product-info .img {
width: 60px;
flex: 0 0 60px;
margin-right: 10px;
}
@ -1264,7 +1264,7 @@ body.page-account-order-info .product-list {
margin-bottom: 1rem;
}
body.page-account-order-info .product-list .left {
width: 80px;
flex: 0 0 80px;
margin-right: 10px;
}
body.page-account-order-info .product-list .right {

View File

@ -39,7 +39,7 @@ body.page-account-order-list {
align-items: center;
.img {
width: 60px;
flex: 0 0 60px;
margin-right: 10px;
}
}
@ -64,7 +64,7 @@ body.page-account-order-info {
// justify-content: space-between; // flex-end | center | space-between
.left {
width: 80px;
flex: 0 0 80px;
margin-right: 10px;
}

View File

@ -43,7 +43,7 @@
<div class="product-info">
<div class="img"><img src="{{ $product->image }}" class="img-fluid"></div>
<div class="name">
<span>{{ $product->name }}</span>
<a class="text-dark" href="{{ shop_route('products.show', ['product' => $product->product_id]) }}">{{ $product->name }}</a>
<div class="quantity mt-1 text-secondary">x {{ $product->quantity }}</div>
</div>
</div>

View File

@ -61,7 +61,9 @@
<div class="d-flex">
<div class="left"><img src="{{ $product->image }}" class="img-fluid"></div>
<div class="right">
<div class="name">{{ $product->name }} x {{ $product->quantity }}</div>
<div class="name">
<a class="text-dark" href="{{ shop_route('products.show', ['product' => $product->product_id]) }}">{{ $product->name }}</a><br> x {{ $product->quantity }}
</div>
<div class="price">{{ $product->price_format }}</div>
</div>
</div>