From 393d0416d2797cce09de73ff9ad09234a62e969f Mon Sep 17 00:00:00 2001 From: sl <2436637291@qq.com> Date: Fri, 19 Aug 2022 15:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E8=AF=8D=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/lang/zh_cn/shop/cart.php | 3 +++ themes/default/cart/mini.blade.php | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/resources/lang/zh_cn/shop/cart.php b/resources/lang/zh_cn/shop/cart.php index e85faa56..66985d60 100644 --- a/resources/lang/zh_cn/shop/cart.php +++ b/resources/lang/zh_cn/shop/cart.php @@ -26,4 +26,7 @@ return [ 'go_buy' => '您可以去看看有哪些想买的', 'go_shopping' => '去逛逛', 'must_select' => '请选择至少一个商品', + 'mini' => '您的购物车', + 'delete' => '删除', + 'check_cart' => '查看购物车', ]; diff --git a/themes/default/cart/mini.blade.php b/themes/default/cart/mini.blade.php index d6a4e7b3..aa668c8b 100644 --- a/themes/default/cart/mini.blade.php +++ b/themes/default/cart/mini.blade.php @@ -1,5 +1,5 @@
-
您的购物车
+
{{ __('shop/cart.mini') }}
@@ -14,7 +14,7 @@
{{ $cart['price_format'] }} x {{ $cart['quantity'] }}
- 删除 + {{ __('shop/cart.delete') }}
@@ -27,11 +27,11 @@
-
您的购物车是空的
-

您可以去看看有哪些想买的

+
{{ __('shop/cart.cart_empty') }}
+

{{ __('shop/cart.go_buy') }}

- 去逛逛 + {{ __('shop/cart.go_shopping') }}
@@ -45,8 +45,8 @@ {{ $amount_format }}
- 去结账 - 查看购物车 + {{ __('shop/cart.to_checkout') }} + {{ __('shop/cart.check_cart') }}
@endif