diff --git a/public/build/beike/shop/default/css/app.css b/public/build/beike/shop/default/css/app.css index ca699096..993adf51 100644 --- a/public/build/beike/shop/default/css/app.css +++ b/public/build/beike/shop/default/css/app.css @@ -715,3 +715,33 @@ body.page-order-success .order-wrap .card-body .order-bottom { body.page-account-order-list { background-color: #F7F8FA; } +body.page-account-order-list .order-wrap .table .sep-row { + height: 20px; +} +body.page-account-order-list .order-wrap .table .sep-row td { + border: 0; +} +body.page-account-order-list .order-wrap .table .head-tr { + background: #f5f5f5; +} +body.page-account-order-list .order-wrap .table .head-tr td { + border-bottom-color: #f5f5f5; +} +body.page-account-order-list .order-wrap .table thead { + background: #f5f5f5; +} +body.page-account-order-list .order-wrap .table thead th { + font-weight: 500; + border: 0; +} +body.page-account-order-list .order-wrap .table tbody td { + border: 1px solid #e5e5e5; +} +body.page-account-order-list .order-wrap .table .product-info { + display: flex; + align-items: center; +} +body.page-account-order-list .order-wrap .table .product-info .img { + width: 60px; + margin-right: 10px; +} diff --git a/resources/beike/shop/default/css/page-account-order-list.scss b/resources/beike/shop/default/css/page-account-order-list.scss index 8d14fb27..e92ff96d 100644 --- a/resources/beike/shop/default/css/page-account-order-list.scss +++ b/resources/beike/shop/default/css/page-account-order-list.scss @@ -2,4 +2,51 @@ body.page-account-order-list { background-color: #F7F8FA; + + .order-wrap { + .table { + .sep-row { + height: 20px; + // border: 0; + + td { + border: 0; + } + } + + .head-tr { + // border: 0; + background: #f5f5f5; + td { + // border: 0; + border-bottom-color: #f5f5f5; + } + } + + thead { + background: #f5f5f5; + th { + font-weight: 500; + border: 0; + } + } + + tbody { + td { + border: 1px solid #e5e5e5; + } + } + + .product-info { + display: flex; + align-items: center; // flex-start | center + // justify-content: space-between; // flex-end | center | space-between + // flex-wrap: wrap; + .img { + width: 60px; + margin-right: 10px; + } + } + } + } } \ No newline at end of file diff --git a/themes/default/account/account.blade.php b/themes/default/account/account.blade.php index 041c0312..b4daa0db 100644 --- a/themes/default/account/account.blade.php +++ b/themes/default/account/account.blade.php @@ -13,37 +13,8 @@
| 订单号 | --}} +订单详情 | +金额 | +状态 | +操作 | +
|---|---|---|---|---|
| + {{ $order->created_at }} + 订单号:{{ $order->number }} + | +||||
|
+
+
+
+ {{ $product->name }}
+
+ {{ $product->quantity }}
+ |
+ @if ($loop->first)
+ {{ $order->total }} | +{{ $order->status }} | ++ 查看 + | + @endif +|