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

@@ -19,7 +19,7 @@
<div class="oricoEGapp-prdetail">
<div class="m_Container margin-top-90">
<div class="goods_address">
<a class="href_01">{:lang('首页')}</a>
<a class="href_01">{:lang_i18n('首页')}</a>
{volist name="product_categorys" id="ca"}
<span class="icon-arrow arrow_address"></span>
<a class="href_02" href="{:url('product/category', ['id' => $ca.id])}">{$ca.name}</a>
@@ -81,7 +81,7 @@
<div class="proTfg">
<ul class="msul swt-Table">
<li class="Table-Row">
<div class="ms1 Table-Cell">{:lang('型号')}</div>
<div class="ms1 Table-Cell">{:lang_i18n('型号')}</div>
<div class="ms2 Table-Cell"></div>
<div class="ms3 Table-Cell">{$product.spu}</div>
</li>
@@ -96,15 +96,15 @@
</div>
{/notempty}
<div class="platform_buy">
<a class="btn-blue-detail business-button">{:lang('发送查询')}</a>
<a class="btn-blue-detail business-button">{:lang_i18n('发送查询')}</a>
</div>
</div>
<!-- 产品描述 -->
<div class="goods_details">
<ul class="cpa des cursor_p">
<li class="active" id="one">{:lang('产品描述')}</li>
<li class="active" id="one">{:lang_i18n('产品描述')}</li>
{notempty name="product_related"}
<li>{:lang('关联产品')}</li>
<li>{:lang_i18n('关联产品')}</li>
{/notempty}
<div class="clear"></div>
</ul>
@@ -122,42 +122,42 @@
<!-- 弹窗-->
<div class="marsk-container-detail">
<div class="popup-quick">
<div class="title-text">{:lang('发送查询')}</div>
<div class="title-text">{:lang_i18n('发送查询')}</div>
<div class="business-close"><img src="__IMAGES__/close2.png"></div>
<form action="" method="post" autocomplete="off" class="apply_content">
<div class="detail_form">
<div>
<p><strong class="redstr">*</strong>{:lang('姓名')}</p>
<p><strong class="redstr">*</strong>{:lang_i18n('姓名')}</p>
<div class="name clearfix">
<input type="text" class="first detail-w02" placeholder="{:lang('请输入您的名称')}"
<input type="text" class="first detail-w02" placeholder="{:lang_i18n('请输入您的名称')}"
name="firstname" id="firstname" style="margin-right:0.5rem;">
<input type="text" class="first detail-w02" placeholder="{:lang('请输入您的姓氏')}"
<input type="text" class="first detail-w02" placeholder="{:lang_i18n('请输入您的姓氏')}"
name="lastname" id="lastname">
</div>
</div>
<div class=" clearfix">
<p><strong class="redstr">*</strong>{:lang('公司/组织')}</p>
<p><strong class="redstr">*</strong>{:lang_i18n('公司/组织')}</p>
<div class="redstr">
<input type="text" class="first detail-w01" id="companyName" name="companyName">
</div>
</div>
<div class=" clearfix">
<p><strong class="redstr">*</strong>{:lang('邮箱')}</p>
<p><strong class="redstr">*</strong>{:lang_i18n('邮箱')}</p>
<div class="redstr">
<input type="text" class="first detail-w01" id="email" name="email">
</div>
</div>
<div class=" clearfix">
<p><strong class="redstr">*</strong>{:lang('电话号码')}</p>
<p><strong class="redstr">*</strong>{:lang_i18n('电话号码')}</p>
<div class="redstr">
<input type="text" class="first detail-w01" id="phone" name="phone">
</div>
</div>
<div class="clearfix">
<p><strong class="redstr">*</strong>{:lang('国家')}</p>
<p><strong class="redstr">*</strong>{:lang_i18n('国家')}</p>
<div class="redstr">
<select class=" detail-w01" id="country" name="country">
<option value="">--- {:lang('请选择所属国家')} ---</option>
<option value="">--- {:lang_i18n('请选择所属国家')} ---</option>
{volist name="country_list" id="country"}
<option value="{$country}">{$country}</option>
{/volist}
@@ -165,18 +165,18 @@
</div>
</div>
<div class=" clearfix">
<p><strong class="redstr">*</strong>{:lang('行业')}</p>
<p><strong class="redstr">*</strong>{:lang_i18n('行业')}</p>
<div class="redstr">
<input type="text" class="first detail-w01" id="industry" name="industry">
</div>
</div>
<div class=" clearfix">
<p><strong style="color: red;">*</strong>{:lang('询问内容')}</p>
<p><strong style="color: red;">*</strong>{:lang_i18n('询问内容')}</p>
<div>
<textarea rows="3" cols="20" class="first detail-w01" id="inquiry" name="inquiry"></textarea>
</div>
</div>
<div class="submit_btn" id="send">{:lang('提交')}</div>
<div class="submit_btn" id="send">{:lang_i18n('提交')}</div>
</div>
</form>
</div>