refactor: 修改多语言相关

This commit is contained in:
2025-05-30 10:30:34 +08:00
parent d74b1d78fe
commit a998237ad2
10 changed files with 156 additions and 127 deletions

View File

@@ -5,7 +5,7 @@
<ul class="clearfix">
{notempty name="header_categorys"}
<li>
<h3>{:lang('产品')}</h3>
<h3>{:lang_i18n('产品')}</h3>
{volist name="header_categorys" id="hc"}
<p><a href="{:url('product/category', ['id' => $hc.id])}">{$hc.name}</a></p>
{/volist}
@@ -26,7 +26,7 @@
{/volist}
{/notempty}
<li>
<h3>{:lang('联系方式')}</h3>
<h3>{:lang_i18n('联系方式')}</h3>
{notempty name="contact_config.website_email"}
<p>{$contact_config.website_email.title} {$contact_config.website_email.value}</p>
{/notempty}