From 731faf536740af487492ba242f88b33a05b4bb8b Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Mon, 29 Aug 2022 16:50:14 +0800 Subject: [PATCH] https://guangdagit.com/beike/beikeshop/issues/206 --- .../views/pages/customers/index.blade.php | 4 +- themes/default/product.blade.php | 52 ++++++++++--------- 2 files changed, 30 insertions(+), 26 deletions(-) diff --git a/resources/beike/admin/views/pages/customers/index.blade.php b/resources/beike/admin/views/pages/customers/index.blade.php index acc6b9d4..591aa22c 100644 --- a/resources/beike/admin/views/pages/customers/index.blade.php +++ b/resources/beike/admin/views/pages/customers/index.blade.php @@ -15,7 +15,7 @@ - + @@ -153,7 +153,7 @@ filter: { email: bk.getQueryString('email'), name: bk.getQueryString('name'), - customer_group: bk.getQueryString('customer_group'), + customer_group_id: bk.getQueryString('customer_group_id'), status: bk.getQueryString('status'), }, }, diff --git a/themes/default/product.blade.php b/themes/default/product.blade.php index ccb851f4..e6777182 100644 --- a/themes/default/product.blade.php +++ b/themes/default/product.blade.php @@ -85,32 +85,36 @@ - - - - - - + @if ($product['active']) + + + + + + + + {{ __('shop/products.add_to_cart') }} + + {{ __('shop/products.buy_now') }} + - {{ __('shop/products.add_to_cart') }} - - {{ __('shop/products.buy_now') }} - - - - - {{ __('shop/products.add_to_favorites') }} - - + + + {{ __('shop/products.add_to_favorites') }} + + + @else + {{ __('product.has_been_inactive') }} + @endif