From f42b378d78a6dd8c672bf2e62f3f7dca713d2306 Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Thu, 30 Jun 2022 21:35:38 +0800 Subject: [PATCH] wip --- public/build/beike/shop/default/css/app.css | 58 +++++++++++++++ .../beike/shop/default/css/bootstrap.css | 4 + .../views/pages/customers/form.blade.php | 6 +- .../beike/shop/default/css/page-checkout.scss | 74 +++++++++++++++++++ themes/default/checkout.blade.php | 38 +++++++--- 5 files changed, 167 insertions(+), 13 deletions(-) diff --git a/public/build/beike/shop/default/css/app.css b/public/build/beike/shop/default/css/app.css index a57f6c4a..b06f6768 100644 --- a/public/build/beike/shop/default/css/app.css +++ b/public/build/beike/shop/default/css/app.css @@ -546,3 +546,61 @@ body.page-checkout .total-wrap .totals > li > span:first-of-type { body.page-checkout .total-wrap .totals > li > span:last-of-type { color: #dc3545; } +body.page-checkout .addresses-wrap { + margin-bottom: 2rem; +} +body.page-checkout .addresses-wrap .item { + position: relative; + padding: 20px 20px 30px; + margin-bottom: 10px; + border: 1px solid #e8e8e8; + height: 155px; + cursor: pointer; +} +body.page-checkout .addresses-wrap .item.add-addres { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + font-size: 1rem; + color: #666; +} +body.page-checkout .addresses-wrap .item.add-addres i { + font-size: 2rem; +} +body.page-checkout .addresses-wrap .item:hover { + border-color: #222; +} +body.page-checkout .addresses-wrap .item.active { + border-left: none; +} +body.page-checkout .addresses-wrap .item.active:before { + content: ""; + position: absolute; + top: -1px; + left: 0; + width: 4px; + height: calc(100% + 2px); + background-color: #4991F4; + background: repeating-linear-gradient(-45deg, #d60404 0, #d60404 10px, #fff 10px, #fff 20px, #4991F4 20px, #4991F4 30px, #fff 30px, #fff 40px); +} +body.page-checkout .addresses-wrap .item .name-wrap { + margin-bottom: 0.5rem; +} +body.page-checkout .addresses-wrap .item .name-wrap .name { + font-size: 1rem; + font-weight: bold; +} +body.page-checkout .addresses-wrap .item .name-wrap .phone { + font-size: 0.8rem; + color: #666; +} +body.page-checkout .addresses-wrap .item .zipcode { + margin-bottom: 0.5rem; +} +body.page-checkout .addresses-wrap .item .address-info { + margin-bottom: 0.5rem; +} +body.page-checkout .addresses-wrap .item .address-bottom a { + color: #2d68a8; +} diff --git a/public/build/beike/shop/default/css/bootstrap.css b/public/build/beike/shop/default/css/bootstrap.css index 5f058900..a86debce 100644 --- a/public/build/beike/shop/default/css/bootstrap.css +++ b/public/build/beike/shop/default/css/bootstrap.css @@ -18032,3 +18032,7 @@ textarea.form-control-lg { margin-right: 1rem; opacity: 0.1; } + +.table > :not(:first-child) { + border-top: none; +} diff --git a/resources/beike/admin/views/pages/customers/form.blade.php b/resources/beike/admin/views/pages/customers/form.blade.php index 8cdc7537..6c6262fa 100644 --- a/resources/beike/admin/views/pages/customers/form.blade.php +++ b/resources/beike/admin/views/pages/customers/form.blade.php @@ -56,15 +56,13 @@
| # | @@ -96,8 +96,8 @@操作 | ||||
|---|---|---|---|---|---|
| @{{ index }} | @{{ address.name }} | @{{ address.phone }} | @@ -106,17 +106,36 @@- | {{-- -||
|
当前账号无地址 | {{--
- |||||