refactor: 修改多语言相关
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
<!-- 顶部菜单-->
|
||||
<div class="top-menu">
|
||||
<div class="it-ct">
|
||||
<div class="it-1"><a href="/">{:lang('首页')}</a></div>
|
||||
<div class="it-1"><a href="/">{:lang_i18n('首页')}</a></div>
|
||||
</div>
|
||||
<div class="it-ct">
|
||||
<div class="it-1">
|
||||
<div class="it-1-more">{:lang('产品列表')}<i class="icon-arrow"></i></div>
|
||||
<div class="it-1-more">{:lang_i18n('产品列表')}<i class="icon-arrow"></i></div>
|
||||
{notempty name="header_categorys"}
|
||||
{volist name="header_categorys" id="ca"}
|
||||
<div class="it-1-2"><a href="{:url('product/category', ['id' => $ca.id])}">{$ca.name}</a></div>
|
||||
@@ -48,11 +48,11 @@
|
||||
<div class="ac-close float_r "><img src="__IMAGES__/close.png"></div>
|
||||
<div class="search-in">
|
||||
<form action="{:url('product/search')}" method="get">
|
||||
<input type="text" name="keywords" placeholder="{:lang('产品')} USB 2.0...">
|
||||
<button type="submit" id="search-btnput" class="search-button">{:lang('搜索')}</button>
|
||||
<input type="text" name="keywords" placeholder="{:lang_i18n('产品')} USB 2.0...">
|
||||
<button type="submit" id="search-btnput" class="search-button">{:lang_i18n('搜索')}</button>
|
||||
</form>
|
||||
<div class="title-text">
|
||||
<p><a href="#">{:lang('搜索历史')}</a></p>
|
||||
<p><a href="#">{:lang_i18n('搜索历史')}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="mask"></div>
|
||||
<div class="action-sheet">
|
||||
<div class="menu-title">
|
||||
<div class="menu-name">{:lang('请择地区')}</div>
|
||||
<div class="menu-name">{:lang_i18n('请择地区')}</div>
|
||||
<div class="close-icon">
|
||||
<img src="__IMAGES__/close.png">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user