refactor: 修改多语言相关

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

View File

@@ -45,7 +45,7 @@
<p class="title">{$ft.title}</p>
<div class="more">
<a href="{$ft.link}" target="_blank">
{:lang('查看所有')} <i class="icon-right-svg"></i>
{:lang_i18n('查看所有')} <i class="icon-right-svg"></i>
</a>
</div>
</div>
@@ -57,7 +57,7 @@
{notempty name="featured_products"}
<div class="oidx-FP">
<div class="Inpro-text">
<p class="title">{:lang('明星产品/热点产品')}</p>
<p class="title">{:lang_i18n('明星产品/热点产品')}</p>
</div>
<div class="m_Container">
<div class="swiper-container FPswiper">
@@ -70,7 +70,7 @@
<p class="t-f16"></p>
<p class="timeblue">
<a href="{:url('product/detail',['id'=>$fp.id])}">
{:lang('了解更多')} <img src="__IMAGES__/more-r.png">
{:lang_i18n('了解更多')} <img src="__IMAGES__/more-r.png">
</a>
</p>
</div>
@@ -103,7 +103,7 @@
<p class="f_weight_500 timetitle" {:style(['color'=>$sc['title_txt_color']])}>{$sc.title}</p>
<p class=" margin-top-14 f_weight_100 timedesin" {:style(['color'=>$sc['desc_txt_color']])}>{$sc.desc}</p>
<p class=" margin-top-20 f_weight_100">
<a href="{$sc.link}" class="timeblue"> {:lang('了解更多')} <img src="__IMAGES__/more-r.png"></a>
<a href="{$sc.link}" class="timeblue"> {:lang_i18n('了解更多')} <img src="__IMAGES__/more-r.png"></a>
</p>
</div>
</div>
@@ -113,8 +113,8 @@
<!-- orico技术 -->
<div class="oidx-tcly">
<div class="Tech-text">
<h3>{:lang('Orico 技术')}</h3>
<p>{:lang('强大功能、简单使用')}</p>
<h3>{:lang_i18n('Orico 技术')}</h3>
<p>{:lang_i18n('强大功能、简单使用')}</p>
</div>
<div class="section section-blends section-full">
<div class="section-stack section-stack--center ">
@@ -144,7 +144,7 @@
<p class=" margin-top-14 f_weight_100 timedesin" {:style(['color'=>$bs['desc_txt_color']])}>{$bs.desc}</p>
<p class=" margin-top-20 f_weight_100">
<span class=" timeblue">
<a href="{$bs.link}">{:lang('了解更多')}<img src="__IMAGES__/more-r.png"></a>
<a href="{$bs.link}">{:lang_i18n('了解更多')}<img src="__IMAGES__/more-r.png"></a>
</span>
</p>
</div>
@@ -208,9 +208,9 @@
<div class="oidx-fqa">
<div class="faq">
<div class="faq-title ">
<h3>{:lang('常见问题')}</h3>
<h5>{:lang('回答您最关心的问题')}</h5>
<p>{:lang('客服团队的工作时间周一到周五早9点到晚6点 平均应答时间24小时内')}</p>
<h3>{:lang_i18n('常见问题')}</h3>
<h5>{:lang_i18n('回答您最关心的问题')}</h5>
<p>{:lang_i18n('客服团队的工作时间周一到周五早9点到晚6点 平均应答时间24小时内')}</p>
</div>
{volist name="recommend_faq" id="rq"}
<dl>