From e4a5507fabbd6b642d3e6757283802ce756173eb Mon Sep 17 00:00:00 2001
From: jsasg <735273025@qq.com>
Date: Tue, 13 May 2025 17:52:31 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=B4=BB=E9=A1=B6?=
=?UTF-8?q?=E9=83=A8=E5=AF=BC=E8=88=AA=E4=B8=AD=E5=BA=97=E9=93=BA=E6=8C=89?=
=?UTF-8?q?=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/index/lang/en-us.php | 3 ++-
app/index/lang/zh-cn.php | 3 ++-
app/index/view/public/header.html | 7 +++++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/app/index/lang/en-us.php b/app/index/lang/en-us.php
index 62b86746..b3f5e7bd 100644
--- a/app/index/lang/en-us.php
+++ b/app/index/lang/en-us.php
@@ -2,7 +2,8 @@
return [
'header_navigation' => [
- 'product_categorys' => 'Products'
+ 'product_categorys' => 'Products',
+ 'store' => 'Store'
],
'header_search' => [
'history' => 'Search History',
diff --git a/app/index/lang/zh-cn.php b/app/index/lang/zh-cn.php
index f12d0f37..4b3ae45d 100644
--- a/app/index/lang/zh-cn.php
+++ b/app/index/lang/zh-cn.php
@@ -2,7 +2,8 @@
return [
'header_navigation' => [
- 'product_categorys' => '产品列表'
+ 'product_categorys' => '产品列表',
+ 'store' => '店铺'
],
'header_search' => [
'hot_product' => '热销产品',
diff --git a/app/index/view/public/header.html b/app/index/view/public/header.html
index f5dcd144..26cec323 100644
--- a/app/index/view/public/header.html
+++ b/app/index/view/public/header.html
@@ -87,8 +87,11 @@
-
-
Store
+ {notempty name="basic_config['navigation_store_url']['value']"}
+
+
{:lang('header_navigation.store')}
+
+ {/notempty}