From 34703e5f002724fa3a9e6182ddfc7cc02407f20d Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Thu, 29 May 2025 10:45:29 +0800 Subject: [PATCH 1/7] =?UTF-8?q?feat:=20mobile=20=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E6=88=91=E4=BB=AC=E7=95=99=E8=A8=80=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/common.php | 30 +++- app/index/controller/ContactUs.php | 5 +- app/index/lang/en-us/mobile.php | 12 ++ app/index/view/mobile/contact_us/message.html | 102 ++++++++++++ .../index/mobile/css/contactus_message.css | 156 ++++++++++++++++++ 5 files changed, 300 insertions(+), 5 deletions(-) create mode 100644 app/index/view/mobile/contact_us/message.html create mode 100755 public/static/index/mobile/css/contactus_message.css diff --git a/app/index/common.php b/app/index/common.php index 0610181f..26d0c87f 100644 --- a/app/index/common.php +++ b/app/index/common.php @@ -1,6 +1,8 @@ controller() . '/' . request()->action()); + $lang_key = "{$path}.{$name}"; + if (!Lang::has($lang_key, $lang)) { + return $name; + } + return Lang::get($lang_key, $vars, $lang); + } +} diff --git a/app/index/controller/ContactUs.php b/app/index/controller/ContactUs.php index 4da9e34a..d61da2b1 100644 --- a/app/index/controller/ContactUs.php +++ b/app/index/controller/ContactUs.php @@ -89,10 +89,10 @@ class ContactUs extends Common 'user_agent' => request()->header('user-agent'), ]); if ($msg->isEmpty()) { - return error(lang('contact_message.send_fail')); + return error(lang('信息提交失败!')); } - return success(lang('contact_message.send_success')); + return success(lang('信息已成功提交!')); } $focus_image = []; @@ -103,6 +103,7 @@ class ContactUs extends Common ->where('status', '=', 1) ->order(['sort' => 'asc', 'id' => 'desc']); }]) + ->atPlatform(request()->from) ->uniqueLabel([ 'BANNER_6801be1e7d686', 'BANNER_6801c053ce12e', diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php index 9caf1bbc..4ea52811 100644 --- a/app/index/lang/en-us/mobile.php +++ b/app/index/lang/en-us/mobile.php @@ -71,4 +71,16 @@ return [ '电话号码' => 'Phone Number', '您对哪个产品品类感兴趣?' => 'Products you are interested in?', '当前选定语言的采购可选品类配置出错' => 'The procurement category configuration for the currently selected language is incorrect', + + // 联系我们留言页 + 'contactus/message' => [ + '我们的信息' => 'Our Information', + '姓名' => 'Your name', + '电子邮箱' => 'Your email', + '您的问题' => 'Your message', + '提交您的问题' => 'Send Us Your Question', + '请输入内容...' => 'This is your placeholder text', + '发送' => 'SEND', + '成为经销商' => 'Become a Distributor', + ], ]; \ No newline at end of file diff --git a/app/index/view/mobile/contact_us/message.html b/app/index/view/mobile/contact_us/message.html new file mode 100644 index 00000000..87343d90 --- /dev/null +++ b/app/index/view/mobile/contact_us/message.html @@ -0,0 +1,102 @@ +{extend name="public/base" /} +{block name="style"} + +{/block} +{block name="main"} +
+ +
+ + {notempty name="focus_image"} + + {/notempty} + +
+
{:lang_i18n('我们的信息')}
+ {notempty name="our_information"} + {assign name="first_info" value="$our_information|array_shift"/} +
+ {notempty name="first_info.image"} +
+ {/notempty} +
+
{$first_info.desc|raw}
+
+
+ {assign name="chunk_info" value="$our_information|array_chunk=2"} + {volist name="chunk_info" id="chunk"} +
+
+ {notempty name="chunk.0.image"} +
+ {/notempty} +
+ {volist name="chunk" id="info" key="k"} +
{$info.title}:
+
{$info.desc|raw}
+ {/volist} +
+
+ {/volist} + {/notempty} +
+ +
+
{:lang_i18n('提交您的问题')}
+
+
+
{:lang_i18n('姓名')} *
+
+ +
+
+
+
{:lang_i18n('电子邮箱')} *
+
+ +
+
+
+
{:lang_i18n('您的问题')} *
+
+ +
+
+
+ {:lang_i18n('发送')} +
+
+
+ + +
+
+{/block} +{block name="script"} + +{/block} \ No newline at end of file diff --git a/public/static/index/mobile/css/contactus_message.css b/public/static/index/mobile/css/contactus_message.css new file mode 100755 index 00000000..d8297815 --- /dev/null +++ b/public/static/index/mobile/css/contactus_message.css @@ -0,0 +1,156 @@ +@charset "UTF-8"; +.oricoEGapp-Contact { + /*新增*/ +} +.oricoEGapp-Contact .banner { + position: relative; + margin-top: 3.3rem; +} +.oricoEGapp-Contact .banner_title { + font-family: "Montserrat-Bold"; + font-size: 1.5rem; + position: absolute; + top: 50%; + margin-top: -0.75rem; + color: #fff; + z-index: 9; + text-align: center; + width: 100%; +} +.oricoEGapp-Contact .content { + background-color: #fff; + margin-top: 0.75rem; + padding: 2rem 1.25rem; + color: #000; +} +.oricoEGapp-Contact .title { + font-family: "Montserrat-Bold"; + font-size: 1rem; +} +.oricoEGapp-Contact .info { + padding-top: 2.125rem; + padding-bottom: 2rem; + display: flex; + justify-content: flex-start; +} +.oricoEGapp-Contact .info .left { + width: 3rem; + height: 3rem; + margin-right: 1rem; +} +.oricoEGapp-Contact .info .left img { + width: 3rem; + height: 3rem; +} +.oricoEGapp-Contact .info .right .des { + font-family: "Montserrat-Regular"; + font-size: 0.875rem; + line-height: 1.25rem; +} +.oricoEGapp-Contact .info_title { + font-family: "Montserrat-Bold"; + font-size: 0.875rem; + line-height: 1.25rem; + margin-bottom: 0.22rem; +} +.oricoEGapp-Contact .m-t-20 { + margin-top: 1.11rem; +} +.oricoEGapp-Contact .question { + margin-top: 1.11rem; +} +.oricoEGapp-Contact .question .title { + margin-top: 0.5rem; + font-family: "Montserrat-Bold"; + font-size: 0.875rem; + line-height: 1.25rem; +} +.oricoEGapp-Contact .question .des { + margin-top: 0.5rem; +} +.oricoEGapp-Contact .question .des input { + background-color: #f2f2f2; + border-radius: 0.5rem; + padding: 1rem; + width: calc(100% - 2rem); + width: -webkit-calc(100% - 2rem); + width: -moz-calc(100% - 2rem); +} +.oricoEGapp-Contact .question .des textarea { + background-color: #f2f2f2; + border-radius: 0.5rem; + padding: 1rem; + width: calc(100% - 2rem); + border: 1px solid transparent; +} +.oricoEGapp-Contact .send { + display: inline-block; + background-color: #004bfa; + font-family: "Montserrat-Bold"; + font-size: 0.875rem; + padding: 0.75rem 1.5rem; + color: #fff; + border-radius: 1.25rem; +} +.oricoEGapp-Contact .red { + color: #ee2f53; +} +.oricoEGapp-Contact .contact_b { + font-family: "Montserrat-SemiBold"; + font-size: 1rem; + padding-top: 1.125rem; + padding-bottom: 1.125rem; + color: #004bfa; + width: 100%; + text-align: center; + background-color: #fff; + margin-top: 0.67rem; +} +.oricoEGapp-Contact .contact_b a { + color: #004bfa; +} +.oricoEGapp-Contact .line { + width: 100%; + height: 1px; + background-color: #f1f1f1; +} +.oricoEGapp-Contact input::-webkit-input-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact input:-moz-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact input::-moz-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact input:-ms-input-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact textarea::-webkit-input-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact textarea:-moz-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact textarea::-moz-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} +.oricoEGapp-Contact textarea:-ms-input-placeholder { + color: #9e9e9f; + font-size: 0.875rem; + font-family: "Montserrat-Regular"; +} From 7699c4ee1a57e5bb95a6b0b776b1dc505fafb214 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 30 May 2025 09:16:14 +0800 Subject: [PATCH 2/7] =?UTF-8?q?refactor:=20=E5=8E=BB=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/mobile/product/__CSS__/product_detail.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/index/view/mobile/product/__CSS__/product_detail.css diff --git a/app/index/view/mobile/product/__CSS__/product_detail.css b/app/index/view/mobile/product/__CSS__/product_detail.css deleted file mode 100644 index e69de29b..00000000 From c1ec132a924028345fffa912b39d6fe61b305b35 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 30 May 2025 09:56:48 +0800 Subject: [PATCH 3/7] =?UTF-8?q?refactor:=20=20=E4=BF=AE=E6=94=B9=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=96=87=E4=BB=B6=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/mobile/attachment/index.html | 12 ++++++------ .../css/{download.css => attachment_index.css} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename public/static/index/mobile/css/{download.css => attachment_index.css} (100%) diff --git a/app/index/view/mobile/attachment/index.html b/app/index/view/mobile/attachment/index.html index e6b4df30..f314815b 100644 --- a/app/index/view/mobile/attachment/index.html +++ b/app/index/view/mobile/attachment/index.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="style"} - + {/block} {block name="main"}
@@ -14,25 +14,25 @@ - +
-
{:lang('软件下载')}
+
{:lang_i18n('软件下载')}
{notempty name="attachements"} {volist name="attachements" id="att"}
- {$att.name} + {$att.name}
{$att.name}
-

{:lang('支持型号')}: {$att.applicable_to}

-

{:lang('支持系统')}: {$att.support_platform}

+

{:lang_i18n('支持型号')}: {$att.applicable_to}

+

{:lang_i18n('支持系统')}: {$att.support_platform}

{notempty name="att.attach"} {volist name="att.attach" id="ch"} diff --git a/public/static/index/mobile/css/download.css b/public/static/index/mobile/css/attachment_index.css similarity index 100% rename from public/static/index/mobile/css/download.css rename to public/static/index/mobile/css/attachment_index.css From 4008feadfac32f9bff468d82c29da504b1c1117e Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 30 May 2025 09:57:11 +0800 Subject: [PATCH 4/7] =?UTF-8?q?feat:=20mobile=E8=A7=86=E9=A2=91=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/lang/en-us/mobile.php | 18 +++-- app/index/view/mobile/attachment/video.html | 41 ++++++++++ .../index/mobile/css/attachment_video.css | 76 ++++++++++++++++++ .../index/mobile/images/video-banner.webp | Bin 0 -> 12314 bytes 4 files changed, 129 insertions(+), 6 deletions(-) create mode 100644 app/index/view/mobile/attachment/video.html create mode 100644 public/static/index/mobile/css/attachment_video.css create mode 100644 public/static/index/mobile/images/video-banner.webp diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php index 4ea52811..716aa15d 100644 --- a/app/index/lang/en-us/mobile.php +++ b/app/index/lang/en-us/mobile.php @@ -36,12 +36,18 @@ return [ '信息提交失败!' => 'Add Fail!', // 附件下载 - '软件下载' => 'Software download', - '支持型号' => 'Supported Models', - '支持系统' => 'Supported Systems', - '全站搜索' => 'Search', - '搜索' => 'Search', - '请搜索' => 'Please search...', + 'attachment/index' => [ + '软件下载' => 'Software download', + '支持型号' => 'Supported Models', + '支持系统' => 'Supported Systems', + '全站搜索' => 'Search', + '搜索' => 'Search', + '请搜索' => 'Please search...', + ], + 'attachment/video' => [ + '软件和驱动程序' => 'Software and Drivers', + '您的浏览器不支持 video 标签。' => 'Your browser does not support HTML5 video.', + ], // 成为分销商页面 '成为经销商' => 'Become a Distributor', diff --git a/app/index/view/mobile/attachment/video.html b/app/index/view/mobile/attachment/video.html new file mode 100644 index 00000000..19d18ea6 --- /dev/null +++ b/app/index/view/mobile/attachment/video.html @@ -0,0 +1,41 @@ +{extend name="public/base" /} +{block name="style"} + +{/block} +{block name="main"} +
+ +
+
+ + {:lang_i18n('软件和驱动程序')} +
+ +
+ {notempty name="video_categorys"} + {volist name="video_categorys" id="va"} +
{$va.name}
+ {/volist} + {/notempty} +
+
+ {notempty name="videos"} + {assign name="flat_videos" value=":\think\helper\Arr::flatMap(fn($item) => $item->toArray(), $videos->items())" /} + {volist name="flat_videos" id="vo"} +
+ +
+ {$vo.name} + {$vo.desc} +
+
+ {/volist} +
{$page|raw}
+ {/notempty} +
+
+
+{/block} \ No newline at end of file diff --git a/public/static/index/mobile/css/attachment_video.css b/public/static/index/mobile/css/attachment_video.css new file mode 100644 index 00000000..536a2c91 --- /dev/null +++ b/public/static/index/mobile/css/attachment_video.css @@ -0,0 +1,76 @@ +.oricoEGapp-softDrviersVideo { + display: flex; + flex-direction: column; + background: #f5f5f5; +} +.oricoEGapp-softDrviersVideo .topbanner { + margin-top: 3.125rem; + display: flex; + justify-content: center; + position: relative; +} +.oricoEGapp-softDrviersVideo .topbanner .bannerimg { + width: 100%; +} +.oricoEGapp-softDrviersVideo .topbanner .bannertitle { + font-size: 1.5rem; + position: absolute; + top: 50%; + margin-top: -0.75rem; + color: #fff; + z-index: 9; + text-align: center; + width: 100%; +} +.oricoEGapp-softDrviersVideo .tabs { + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin: 1rem 1.25rem 0; +} +.oricoEGapp-softDrviersVideo .tabs .tabit { + padding: 0.5rem 0.75rem; + border-radius: 1rem; + background-color: #fff; + color: #6b6c6e; + font-family: "Montserrat-Medium"; + font-size: 0.875rem; + display: inline-block; + margin-bottom: 0.5rem; + margin-right: 0.5rem; +} +.oricoEGapp-softDrviersVideo .tabs .tabit.active { + background-color: #004bfa; + color: #ffffff; +} +.oricoEGapp-softDrviersVideo .infolist { + display: flex; + flex-direction: column; + margin: 0 1rem; +} +.oricoEGapp-softDrviersVideo .infolist .vd-item { + display: flex; + flex-direction: column; + border-radius: 0.5rem; + background-color: #fff; + overflow: hidden; + margin-bottom: 0.75rem; +} +.oricoEGapp-softDrviersVideo .infolist .vd-item .texts { + padding: 1.5rem; + word-wrap: break-word; + word-break: normal; + display: flex; + flex-direction: column; +} +.oricoEGapp-softDrviersVideo .infolist .vd-item .texts .t1 { + font-size: 0.875rem; + color: #000; + line-height: 1.25rem; +} +.oricoEGapp-softDrviersVideo .infolist .vd-item .texts .t2 { + font-size: 0.75rem; + line-height: 1.125rem; + color: #9E9E9F; + margin-top: 0.75rem; +} diff --git a/public/static/index/mobile/images/video-banner.webp b/public/static/index/mobile/images/video-banner.webp new file mode 100644 index 0000000000000000000000000000000000000000..080d6a38690bcfa615b1b5487786d79e169ae23f GIT binary patch literal 12314 zcmV+#Fy+ruNk&EzFaQ8oMM6+kP&gn4FaQ8BlL4IpD((W10X~sJnMtpzt1T(kD-rM# z31x02MC`JPsqrDEDRHKR++V7B+~t>q#mQ&^;J3|x*sZGFpnmSDwNKUmm_>_S?I&{r z>>M;d!vh^HmA_A-pI$%t<{!+u31%PcJGuYc%uoHlzW&Po9ppJ9`>Xu_%caTBXqd*1 zbOOOh#g~CPJt)YDRfYM`Zb(;R91)y(4o408^kaAd21KMd65z!p$X6dGj9V_wJ7|{l zazavm45rkS^FK@Z?QHqBmpl`3FcTQPo8Ap+e(POQuQ}JRd2O002bQXUQ#h=hp{$l- z9S6-FZ>RA-kfQC@(mH1s8xzX9lrlv_DB>VXhF#tY%1Dxa&|tEXQL2q?@XOF_m9{S; zt?nz^)B2F{%N#X=kfb|YP#B$E-{||A&+=@2W|_z`{hpKO3GpIgJiHmY<~%y3k;+I} z&L9X2=5pC({c|{E_f0(6I!f`+`SGv1*6XB#d5lxz6gvGFZ1Jl!0VbtTJ=+Xj@ZsEZ z<#X7)QE@So@n+RGPvsrnefMY5O8mUeUPpbpW(A$-wHaD}wvINy*-UQLu)#pfXVw9= z2(Q!;RctPwrs%YpGD}QAJ&daRRC)i4IA)#iRzaP`)32L$|0|6!T#4;>%qUaB3*!L6 zm#il?sI~Y>OwX@wVfC2vFo?#fbm1xU{ys`*YCm>t>c#w;)5O&XbVRG(e@th%fr^EGTv_Dc_D|F_=iicd9jFC%y$8ACmQ~y` z^|grRY_I>!5utVW+%k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5|0xLTPv*4@by%aXOai#c=CO{g<9Mjl@;<*>d&6&eZtm+zYF14UtS

eb=fy&mk?gnkVQ-v(-)5{F!`;{d5 z+pDVUrQom*Y~kxT!xwSC6dQv-miSDBN>IcKf4&C!{H7X2^-t$B(0xMPEvH7N^i&#- zTC6AJmT<(Y--4890Rez71%St&fwk>56JAemvu1oshEZ*h8ztPZ1oZ9;u5rHAyM}wL zoGqQ*Gw!R<%h+_+!me{S2CRe0$!`dIP9LEN z4hwYbmV=^ZDwcK-D9*t7AE1q2DR+U6`29QHC2ijR82FLVDx`o<@FC1S zN*+4&gM1tb-eQNRhl})9u_AxRIA}WwnI?^Z|I?7?Anp##+x-2&M!g%9j8yqpG`t|Q zEd_G8p-^uWl=vZ4!;k(i0PSSGo6rvK?3GE^7;Y(3IUjH4l37#Et+e*SLHb_>=zG~iNe+)l5Dv(R%_3-HJggReaQC=x90hg9tvv$IqH0I_A$ AIRF3v literal 0 HcmV?d00001 From 76d0b19f879f58961d70cc12d25ea5ebdc0616c7 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 30 May 2025 10:30:34 +0800 Subject: [PATCH 5/7] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/common.php | 2 +- app/index/lang/en-us/mobile.php | 139 +++++++++++------- app/index/view/mobile/contact_us/bulkbuy.html | 32 ++-- .../view/mobile/contact_us/distributor.html | 34 ++--- app/index/view/mobile/index/index.html | 20 +-- app/index/view/mobile/product/category.html | 2 +- app/index/view/mobile/product/detail.html | 34 ++--- app/index/view/mobile/product/search.html | 4 +- app/index/view/mobile/public/footer.html | 4 +- app/index/view/mobile/public/header.html | 12 +- 10 files changed, 156 insertions(+), 127 deletions(-) diff --git a/app/index/common.php b/app/index/common.php index 26d0c87f..35395eec 100644 --- a/app/index/common.php +++ b/app/index/common.php @@ -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); } diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php index 716aa15d..a4f83ffd 100644 --- a/app/index/lang/en-us/mobile.php +++ b/app/index/lang/en-us/mobile.php @@ -1,40 +1,60 @@ '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', - '准备好加入我们了吗?
在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。' => 'Ready to join us?
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', + '准备好加入我们了吗?
在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。' => 'Ready to join us?
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', diff --git a/app/index/view/mobile/contact_us/bulkbuy.html b/app/index/view/mobile/contact_us/bulkbuy.html index 8cefd10b..c1b4bea5 100644 --- a/app/index/view/mobile/contact_us/bulkbuy.html +++ b/app/index/view/mobile/contact_us/bulkbuy.html @@ -6,45 +6,45 @@

-

{:lang('批量购买')}

+

{:lang_i18n('批量购买')}

- - + +
- - + +
- - - + + +
- - + +
- - + +
- +
{notempty name="interested"} {volist name="interested" id="it"} @@ -58,14 +58,14 @@
- - + +
-
{:lang('提交')}
+
{:lang_i18n('提交')}
diff --git a/app/index/view/mobile/contact_us/distributor.html b/app/index/view/mobile/contact_us/distributor.html index 2ea4c494..7a04540c 100644 --- a/app/index/view/mobile/contact_us/distributor.html +++ b/app/index/view/mobile/contact_us/distributor.html @@ -8,8 +8,8 @@
-

{:lang('成为经销商')}

-

{:lang('准备好加入我们了吗?
在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。')}

+

{:lang_i18n('成为经销商')}

+

{:lang_i18n('准备好加入我们了吗?
在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。')}

@@ -18,25 +18,25 @@
- - + +
- - + +
- - + +
- + + +
- + + +
- - + +
-
{:lang('提交')}
+
{:lang_i18n('提交')}
diff --git a/app/index/view/mobile/index/index.html b/app/index/view/mobile/index/index.html index e02d1297..4d95fdf9 100644 --- a/app/index/view/mobile/index/index.html +++ b/app/index/view/mobile/index/index.html @@ -45,7 +45,7 @@

{$ft.title}

@@ -57,7 +57,7 @@ {notempty name="featured_products"}
-

{:lang('明星产品/热点产品')}

+

{:lang_i18n('明星产品/热点产品')}

@@ -103,7 +103,7 @@

$sc['title_txt_color']])}>{$sc.title}

$sc['desc_txt_color']])}>{$sc.desc}

- {:lang('了解更多')} + {:lang_i18n('了解更多')}

@@ -113,8 +113,8 @@
-

{:lang('Orico 技术')}

-

{:lang('强大功能、简单使用')}

+

{:lang_i18n('Orico 技术')}

+

{:lang_i18n('强大功能、简单使用')}

@@ -144,7 +144,7 @@

$bs['desc_txt_color']])}>{$bs.desc}

- {:lang('了解更多')} + {:lang_i18n('了解更多')}

@@ -208,9 +208,9 @@
-

{:lang('常见问题')}

-
{:lang('回答您最关心的问题')}
-

{:lang('客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内')}

+

{:lang_i18n('常见问题')}

+
{:lang_i18n('回答您最关心的问题')}
+

{:lang_i18n('客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内')}

{volist name="recommend_faq" id="rq"}
diff --git a/app/index/view/mobile/product/category.html b/app/index/view/mobile/product/category.html index 04702b45..5a836c6b 100644 --- a/app/index/view/mobile/product/category.html +++ b/app/index/view/mobile/product/category.html @@ -37,7 +37,7 @@
diff --git a/app/index/view/mobile/product/detail.html b/app/index/view/mobile/product/detail.html index 9d55ceb5..8dd0c949 100644 --- a/app/index/view/mobile/product/detail.html +++ b/app/index/view/mobile/product/detail.html @@ -19,7 +19,7 @@
- {:lang('首页')} + {:lang_i18n('首页')} {volist name="product_categorys" id="ca"} {$ca.name} @@ -81,7 +81,7 @@
  • -
    {:lang('型号')}
    +
    {:lang_i18n('型号')}
    {$product.spu}
  • @@ -96,15 +96,15 @@
{/notempty}
    -
  • {:lang('产品描述')}
  • +
  • {:lang_i18n('产品描述')}
  • {notempty name="product_related"} -
  • {:lang('关联产品')}
  • +
  • {:lang_i18n('关联产品')}
  • {/notempty}
@@ -122,42 +122,42 @@
diff --git a/app/index/view/mobile/product/search.html b/app/index/view/mobile/product/search.html index 31f070e9..2fd24f87 100644 --- a/app/index/view/mobile/product/search.html +++ b/app/index/view/mobile/product/search.html @@ -9,9 +9,9 @@
- +
- +
{notempty name="products"}
diff --git a/app/index/view/mobile/public/footer.html b/app/index/view/mobile/public/footer.html index 314bd4ca..088c3b5e 100644 --- a/app/index/view/mobile/public/footer.html +++ b/app/index/view/mobile/public/footer.html @@ -5,7 +5,7 @@
    {notempty name="header_categorys"}
  • -

    {:lang('产品')}

    +

    {:lang_i18n('产品')}

    {volist name="header_categorys" id="hc"}

    {$hc.name}

    {/volist} @@ -26,7 +26,7 @@ {/volist} {/notempty}
  • -

    {:lang('联系方式')}

    +

    {:lang_i18n('联系方式')}

    {notempty name="contact_config.website_email"}

    {$contact_config.website_email.title}: {$contact_config.website_email.value}

    {/notempty} diff --git a/app/index/view/mobile/public/header.html b/app/index/view/mobile/public/header.html index 94bcc25d..d8c30371 100644 --- a/app/index/view/mobile/public/header.html +++ b/app/index/view/mobile/public/header.html @@ -12,11 +12,11 @@
    -
    {:lang('产品列表')}
    +
    {:lang_i18n('产品列表')}
    {notempty name="header_categorys"} {volist name="header_categorys" id="ca"} @@ -48,11 +48,11 @@
    - - + +
    @@ -63,7 +63,7 @@
  • {eq name="attr_value_type" value="IMAGE"} - {elseif condition="attr_value_type == 'RGB'" /} + {elseif condition="$attr_value_type == 'RGB'" /} $pv.attr_value])}> {else/} {$pv.attr_value} @@ -130,15 +130,15 @@

    *{:lang_i18n('姓名')}

    + name="first_name" id="firstname" style="margin-right:0.5rem;"> + name="last_name" id="lastname">

*{:lang_i18n('公司/组织')}

- +
@@ -156,7 +156,7 @@

*{:lang_i18n('国家')}

- {volist name="country_list" id="country"} @@ -173,7 +173,7 @@

*{:lang_i18n('询问内容')}

- +
{:lang_i18n('提交')}
From d363191833742a6baea53b0666c5cd67f5e35b05 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 30 May 2025 13:37:23 +0800 Subject: [PATCH 7/7] =?UTF-8?q?refactor:=20think-orm=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 049a9ea8..34b09ade 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": ">=8.0.0", "topthink/framework": "^8.0", - "topthink/think-orm": "^3.0|^4.0", + "topthink/think-orm": "v3.0.34", "topthink/think-filesystem": "^2.0", "topthink/think-multi-app": "^1.1", "topthink/think-migration": "^3.1",