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 @@
- x-shop-sidebar start - - x-shop-sidebar end + -
@if (\Session::has('success'))
diff --git a/themes/default/account/order.blade.php b/themes/default/account/order.blade.php index dde6a45f..10193d1a 100644 --- a/themes/default/account/order.blade.php +++ b/themes/default/account/order.blade.php @@ -10,45 +10,62 @@ -{{-- @foreach ($orders as $order) -
{{ $order->number }}
- @endforeach --}} + {{-- {{ dd($orders) }} --}} +
- + +
- diff --git a/themes/default/components/account/sidebar.blade.php b/themes/default/components/account/sidebar.blade.php index 7fbb1f0c..8d0e38d3 100644 --- a/themes/default/components/account/sidebar.blade.php +++ b/themes/default/components/account/sidebar.blade.php @@ -1,5 +1,27 @@ -
- account sidebar - {{ $customer->email }} - -
+ \ No newline at end of file