refactor: 修改多语言相关
This commit is contained in:
@@ -135,7 +135,7 @@ if (!function_exists('lang_i18n')) {
|
||||
$path = strtolower(request()->controller() . '/' . request()->action());
|
||||
$lang_key = "{$path}.{$name}";
|
||||
if (!Lang::has($lang_key, $lang)) {
|
||||
return $name;
|
||||
return Lang::get($name, $vars, $lang);
|
||||
}
|
||||
return Lang::get($lang_key, $vars, $lang);
|
||||
}
|
||||
|
||||
@@ -1,40 +1,60 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// 公共header/footer
|
||||
'首页' => 'Home',
|
||||
'产品列表' => 'Products',
|
||||
'搜索' => 'Search',
|
||||
'搜索历史' => 'Search History',
|
||||
'请择地区' => 'SELECT A REGION',
|
||||
'首页' => 'Home',
|
||||
'产品列表' => 'Products',
|
||||
'产品' => 'Product',
|
||||
'联系方式' => 'Contact',
|
||||
'查看所有' => 'View All',
|
||||
'查看全部' => 'View All',
|
||||
'明星产品/热点产品' => 'Featured Products',
|
||||
'了解更多' => 'Learn More',
|
||||
'Orico 技术' => 'ORICO Technology',
|
||||
'强大功能、简单使用' => 'designed to be just as easy to learn as iPhone. chatting with friends.',
|
||||
'常见问题' => 'FAQ',
|
||||
'回答您最关心的问题' => 'What are you most concerned about',
|
||||
'客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内' => 'Our customer support is available Monday to Friday: 9am-6:00pm. Average answer time: 24h',
|
||||
'发送查询' => 'Send Inquiry',
|
||||
'型号' => 'Model',
|
||||
'产品描述' => 'Product Description',
|
||||
'关联产品' => 'Related Products',
|
||||
'姓名' => 'Name',
|
||||
'请输入您的名称' => 'First name',
|
||||
'请输入您的姓氏' => 'Last name',
|
||||
'公司/组织' => 'Company/Organization',
|
||||
'电子邮箱' => 'Email',
|
||||
'电话号码' => 'Phone Number',
|
||||
'国家' => 'Country',
|
||||
'请选择所属国家' => 'Select your country',
|
||||
'行业' => 'Industry',
|
||||
'询问内容' => 'Inquiry',
|
||||
'提交' => 'SUBMIT',
|
||||
|
||||
// 返回文本
|
||||
'信息已成功提交!' => 'Add Success!',
|
||||
'信息提交失败!' => 'Add Fail!',
|
||||
|
||||
// 首页
|
||||
'index/index' => [
|
||||
'查看所有' => 'View All',
|
||||
'明星产品/热点产品' => 'Featured Products',
|
||||
'了解更多' => 'Learn More',
|
||||
'Orico 技术' => 'ORICO Technology',
|
||||
'强大功能、简单使用' => 'designed to be just as easy to learn as iPhone. chatting with friends.',
|
||||
'常见问题' => 'FAQ',
|
||||
'回答您最关心的问题' => 'What are you most concerned about',
|
||||
'客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内' => 'Our customer support is available Monday to Friday: 9am-6:00pm. Average answer time: 24h',
|
||||
],
|
||||
|
||||
// 产品分类
|
||||
'product/category' => [
|
||||
'查看全部' => 'View All',
|
||||
],
|
||||
// 产品搜索
|
||||
'product/search' => [
|
||||
'搜索' => 'Search',
|
||||
'请搜索' => 'Please search...',
|
||||
],
|
||||
// 产品详情
|
||||
'product/detail' => [
|
||||
'首页' => 'Home',
|
||||
'型号' => 'Model',
|
||||
'发送查询' => 'Send Inquiry',
|
||||
'产品描述' => 'Product Description',
|
||||
'关联产品' => 'Related Products',
|
||||
'姓名' => 'Name',
|
||||
'请输入您的名称' => 'First name',
|
||||
'请输入您的姓氏' => 'Last name',
|
||||
'公司/组织' => 'Company/Organization',
|
||||
'邮箱' => 'Email',
|
||||
'电话号码' => 'Phone Number',
|
||||
'国家' => 'Country',
|
||||
'请选择所属国家' => 'Select your country',
|
||||
'行业' => 'Industry',
|
||||
'询问内容' => 'Inquiry',
|
||||
'提交' => 'SUBMIT',
|
||||
],
|
||||
|
||||
// 附件下载
|
||||
'attachment/index' => [
|
||||
'软件下载' => 'Software download',
|
||||
@@ -48,36 +68,45 @@ return [
|
||||
'软件和驱动程序' => 'Software and Drivers',
|
||||
'您的浏览器不支持 video 标签。' => 'Your browser does not support HTML5 video.',
|
||||
],
|
||||
|
||||
// 成为分销商页面
|
||||
'成为经销商' => 'Become a Distributor',
|
||||
'准备好加入我们了吗?<br> 在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。' => 'Ready to join us?<br/>Enter your details below and our Sales team will get back to you within 2 business days.',
|
||||
'公司名称' => 'Company Name',
|
||||
'请输入公司名称' => 'Enter your Company Name',
|
||||
'电子邮件' => 'Contact Email',
|
||||
'请输入邮箱' => 'Enter your Email',
|
||||
'电话号码' => 'Phone Number',
|
||||
'请输入电话号码' => 'Enter your Phone Number',
|
||||
'业务类型' => 'Type of Business',
|
||||
'在线商店网址' => 'Online Store URL',
|
||||
'企业规模' => 'Enterprise Size',
|
||||
'公司地址' => 'Company Address',
|
||||
'请输入地址' => 'Enter Address',
|
||||
'留言' => 'Message',
|
||||
'请输入留言' => 'Enter your message',
|
||||
// 批量购买页面
|
||||
'批量购买' => 'Bulk Buy',
|
||||
'法定营业名称' => 'Legal business name',
|
||||
'官方网站' => 'Official website',
|
||||
'请粘贴网址' => 'Please paste the URL',
|
||||
'姓名' => 'Your Name',
|
||||
'姓' => 'Last name',
|
||||
'名' => 'First name',
|
||||
'邮箱' => 'Email',
|
||||
'电话号码' => 'Phone Number',
|
||||
'您对哪个产品品类感兴趣?' => 'Products you are interested in?',
|
||||
'当前选定语言的采购可选品类配置出错' => 'The procurement category configuration for the currently selected language is incorrect',
|
||||
|
||||
// 联系我们批量购买页面
|
||||
'contactus/bulkbuy' => [
|
||||
'批量购买' => 'Bulk Buy',
|
||||
'公司名称' => 'Company Name',
|
||||
'法定营业名称' => 'Legal business name',
|
||||
'官方网站' => 'Official website',
|
||||
'请粘贴网址' => 'Please paste the URL',
|
||||
'姓名' => 'Your Name',
|
||||
'姓' => 'Last name',
|
||||
'名' => 'First name',
|
||||
'邮箱' => 'Email',
|
||||
'请输入邮箱' => 'Enter your Email',
|
||||
'电话号码' => 'Phone Number',
|
||||
'请输入电话号码' => 'Enter your Phone Number',
|
||||
'您对哪个产品品类感兴趣?' => 'Products you are interested in?',
|
||||
'留言' => 'Message',
|
||||
'请输入留言' => 'Enter your message',
|
||||
'提交' => 'SUBMIT',
|
||||
],
|
||||
// 联系我们成为分销商页面
|
||||
'contactus/distributor' => [
|
||||
'成为经销商' => 'Become a Distributor',
|
||||
'准备好加入我们了吗?<br> 在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。' => 'Ready to join us?<br/>Enter your details below and our Sales team will get back to you within 2 business days.',
|
||||
'公司名称' => 'Company Name',
|
||||
'请输入公司名称' => 'Enter your Company Name',
|
||||
'电子邮件' => 'Contact Email',
|
||||
'请输入邮箱' => 'Enter your Email',
|
||||
'电话号码' => 'Phone Number',
|
||||
'请输入电话号码' => 'Enter your Phone Number',
|
||||
'业务类型' => 'Type of Business',
|
||||
'在线商店网址' => 'Online Store URL',
|
||||
'企业规模' => 'Enterprise Size',
|
||||
'公司地址' => 'Company Address',
|
||||
'请输入地址' => 'Enter Address',
|
||||
'留言' => 'Message',
|
||||
'请输入留言' => 'Enter your message',
|
||||
'提交' => 'SUBMIT',
|
||||
],
|
||||
// 联系我们留言页
|
||||
'contactus/message' => [
|
||||
'我们的信息' => 'Our Information',
|
||||
|
||||
@@ -6,45 +6,45 @@
|
||||
<div class="oricoEGapp">
|
||||
<div class="bdpage" style="background: #fff;border-radius: 8px;padding-top: 50px;">
|
||||
<div class="bd_main bd_main1 bd_main2">
|
||||
<h1 class="t1 sfbt1">{:lang('批量购买')}</h1>
|
||||
<h1 class="t1 sfbt1">{:lang_i18n('批量购买')}</h1>
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<!--内容-->
|
||||
<div class="bd_ct ">
|
||||
<div class="bd_from" style="padding: 0 16px;">
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('公司名称')}<span class="redtag">*</span></label>
|
||||
<input type="text" name="corp_name" class="form-control itinp companyName" placeholder="{:lang('法定营业名称')}">
|
||||
<label class="itlable">{:lang_i18n('公司名称')}<span class="redtag">*</span></label>
|
||||
<input type="text" name="corp_name" class="form-control itinp companyName" placeholder="{:lang_i18n('法定营业名称')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('官方网站')}</label>
|
||||
<input type="text" name="url" class="form-control itinp url" placeholder="{:lang('请粘贴网址')}">
|
||||
<label class="itlable">{:lang_i18n('官方网站')}</label>
|
||||
<input type="text" name="url" class="form-control itinp url" placeholder="{:lang_i18n('请粘贴网址')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('姓名')}<span class="redtag">*</span></label>
|
||||
<input type="text" name="first_name" class="form-control itinp firstname" placeholder="{:lang('名')}">
|
||||
<input type="text" name="last_name" class="form-control itinp lastname" placeholder="{:lang('姓')}" style="margin-top: 8px;">
|
||||
<label class="itlable">{:lang_i18n('姓名')}<span class="redtag">*</span></label>
|
||||
<input type="text" name="first_name" class="form-control itinp firstname" placeholder="{:lang_i18n('名')}">
|
||||
<input type="text" name="last_name" class="form-control itinp lastname" placeholder="{:lang_i18n('姓')}" style="margin-top: 8px;">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('邮箱')}<span class="redtag">*</span></label>
|
||||
<input type="text" name="email" class="form-control itinp email" placeholder="{:lang('请输入邮箱')}">
|
||||
<label class="itlable">{:lang_i18n('邮箱')}<span class="redtag">*</span></label>
|
||||
<input type="text" name="email" class="form-control itinp email" placeholder="{:lang_i18n('请输入邮箱')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('电话号码')}</label>
|
||||
<input type="text" name="phone" class="form-control itinp phone" placeholder="{:lang('请输入电话号码')}">
|
||||
<label class="itlable">{:lang_i18n('电话号码')}</label>
|
||||
<input type="text" name="phone" class="form-control itinp phone" placeholder="{:lang_i18n('请输入电话号码')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('您对哪个产品品类感兴趣?')}</label>
|
||||
<label class="itlable">{:lang_i18n('您对哪个产品品类感兴趣?')}</label>
|
||||
<div class="sfbchecks">
|
||||
{notempty name="interested"}
|
||||
{volist name="interested" id="it"}
|
||||
@@ -58,14 +58,14 @@
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('留言')}<span class="redtag">*</span></label>
|
||||
<textarea name="message" class="ittextarea ittextarea2 message" placeholder="{:lang('请输入留言')}"></textarea>
|
||||
<label class="itlable">{:lang_i18n('留言')}<span class="redtag">*</span></label>
|
||||
<textarea name="message" class="ittextarea ittextarea2 message" placeholder="{:lang_i18n('请输入留言')}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 提交-->
|
||||
<div class="bttj" id="send">{:lang('提交')}</div>
|
||||
<div class="bttj" id="send">{:lang_i18n('提交')}</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<div class="cooperapp_bdpage" style="background:#F2F2F2;">
|
||||
<div class="cooperapp_bd_main" style="margin-top: 60px;">
|
||||
<form action="" method="post">
|
||||
<h1 class="cooperapp_t1">{:lang('成为经销商')}</h1>
|
||||
<p class="cooperapp_s1">{:lang('准备好加入我们了吗?<br> 在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。')}</p>
|
||||
<h1 class="cooperapp_t1">{:lang_i18n('成为经销商')}</h1>
|
||||
<p class="cooperapp_s1">{:lang_i18n('准备好加入我们了吗?<br> 在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。')}</p>
|
||||
<!--内容-->
|
||||
<div class="bd_ct cooperapp_bd_ct">
|
||||
<div class="thimg">
|
||||
@@ -18,25 +18,25 @@
|
||||
<div class="bd_from">
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('公司名称')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp companyName" placeholder="{:lang('请输入公司名称')}" />
|
||||
<label class="itlable">{:lang_i18n('公司名称')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp companyName" placeholder="{:lang_i18n('请输入公司名称')}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('电子邮件')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp email" placeholder="{:lang('请输入邮箱')}" />
|
||||
<label class="itlable">{:lang_i18n('电子邮件')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp email" placeholder="{:lang_i18n('请输入邮箱')}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('电话号码')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp mphone" placeholder="{:lang('请输入电话号码')}" />
|
||||
<label class="itlable">{:lang_i18n('电话号码')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp mphone" placeholder="{:lang_i18n('请输入电话号码')}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('业务类型')}<span class="redtag">*</span></label>
|
||||
<label class="itlable">{:lang_i18n('业务类型')}<span class="redtag">*</span></label>
|
||||
<select name="business_type" class="form-control itinp business_type">
|
||||
{volist name="types" id="ty"}
|
||||
<option value="{$ty.value}">{$ty.name}</option>
|
||||
@@ -46,13 +46,13 @@
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">{:lang('在线商店网址')}</label>
|
||||
<input type="text" class="form-control itinp url" placeholder="{:lang('请输入网址')}" />
|
||||
<label class="itlable">{:lang_i18n('在线商店网址')}</label>
|
||||
<input type="text" class="form-control itinp url" placeholder="{:lang_i18n('请输入网址')}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('企业规模')}<span class="redtag">*</span></label>
|
||||
<label class="itlable">{:lang_i18n('企业规模')}<span class="redtag">*</span></label>
|
||||
<select name="enterprise_size" data-pf-type="FormInput" class="form-control itinp enterprise_size">
|
||||
{volist name="sizes" id="si"}
|
||||
<option value="{$si.value}">{$si.name}</option>
|
||||
@@ -62,20 +62,20 @@
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('公司地址')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp address" placeholder="{:lang('请输入地址')}">
|
||||
<label class="itlable">{:lang_i18n('公司地址')}<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp address" placeholder="{:lang_i18n('请输入地址')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">{:lang('留言')}<span class="redtag">*</span></label>
|
||||
<textarea class="ittextarea message" placeholder="{:lang('请输入留言')}"></textarea>
|
||||
<label class="itlable">{:lang_i18n('留言')}<span class="redtag">*</span></label>
|
||||
<textarea class="ittextarea message" placeholder="{:lang_i18n('请输入留言')}"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 提交-->
|
||||
<div class="bttj" id="send">{:lang('提交')}</div>
|
||||
<div class="bttj" id="send">{:lang_i18n('提交')}</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<div class="product_list_title">
|
||||
<div class="product_title">{$vo.name}</div>
|
||||
<a href="{:url('product/subcategory', ['id' => $vo.id])}" class="view_all text_gray">
|
||||
{:lang('查看全部')}<span class="icon-Double-Arrow"></span>
|
||||
{:lang_i18n('查看全部')}<span class="icon-Double-Arrow"></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="product_list">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
<form action="{:url('product/search')}" method="get" class="topsearch">
|
||||
<div class="sleft">
|
||||
<img src="__IMAGES__/ssapp.png" class="icosearch"/>
|
||||
<input class="topseach-ipt" name="keywords" placeholder="{:lang('请搜索')}"/>
|
||||
<input class="topseach-ipt" name="keywords" placeholder="{:lang_i18n('请搜索')}"/>
|
||||
</div>
|
||||
<button type="submit" class="searchbt">{:lang('搜索')}</button>
|
||||
<button type="submit" class="searchbt">{:lang_i18n('搜索')}</button>
|
||||
</form>
|
||||
{notempty name="products"}
|
||||
<div class="prlist">
|
||||
|
||||
@@ -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