refactor: 调活顶部导航中店铺按钮

This commit is contained in:
2025-05-13 17:52:31 +08:00
parent ee0f9f25e3
commit 255ad67fe9
3 changed files with 9 additions and 4 deletions

View File

@@ -2,7 +2,8 @@
return [
'header_navigation' => [
'product_categorys' => 'Products'
'product_categorys' => 'Products',
'store' => 'Store'
],
'header_search' => [
'history' => 'Search History',

View File

@@ -2,7 +2,8 @@
return [
'header_navigation' => [
'product_categorys' => '产品列表'
'product_categorys' => '产品列表',
'store' => '店铺'
],
'header_search' => [
'hot_product' => '热销产品',

View File

@@ -87,8 +87,11 @@
</ul>
</div>
</div>
<!-- 英文官网才有-->
<a class="storetopbt"><img src="__IMAGES__/shopico.png" class="storeImgico" />Store </a>
{notempty name="basic_config['navigation_store_url']['value']"}
<a class="storetopbt" href="{$basic_config['navigation_store_url']['value']}">
<img src="__IMAGES__/shopico.png" class="storeImgico" />{:lang('header_navigation.store')}
</a>
{/notempty}
</div>
</div>