diff --git a/app/index/config/lang.php b/app/index/config/lang.php
new file mode 100644
index 00000000..f5055ebb
--- /dev/null
+++ b/app/index/config/lang.php
@@ -0,0 +1,30 @@
+ env('DEFAULT_LANG', 'zh-cn'),
+ // 允许的语言列表
+ 'allow_lang_list' => ['zh-cn', 'en-us'],
+ // 多语言自动侦测变量名
+ 'detect_var' => 'lang',
+ // 是否使用Cookie记录
+ 'use_cookie' => true,
+ // 多语言cookie变量
+ 'cookie_var' => 'think_lang',
+ // 多语言header变量
+ 'header_var' => 'think-lang',
+ // 扩展语言包
+ 'extend_list' => [
+ 'en-us' => app()->getAppPath() . '/lang/en-us/' . (request()->isMobile() ? 'mobile' : 'pc') . '.php',
+ 'zh-cn' => app()->getAppPath() . '/lang/zh-cn/' . (request()->isMobile() ? 'mobile' : 'pc') . '.php',
+ ],
+ // Accept-Language转义为对应语言包名称
+ 'accept_language' => [
+ 'zh-hans-cn' => 'zh-cn',
+ ],
+ // 是否支持语言分组
+ 'allow_group' => true,
+];
diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php
new file mode 100644
index 00000000..a32f9981
--- /dev/null
+++ b/app/index/lang/en-us/mobile.php
@@ -0,0 +1,19 @@
+ 'Search',
+ '搜索历史' => 'Search History',
+ '请择地区' => 'SELECT A REGION',
+ '首页' => 'Home',
+ '产品列表' => 'Products',
+ '产品' => 'Product',
+ '联系方式' => 'Contact',
+ '查看所有' => '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',
+];
\ No newline at end of file
diff --git a/app/index/lang/en-us.php b/app/index/lang/en-us/pc.php
similarity index 100%
rename from app/index/lang/en-us.php
rename to app/index/lang/en-us/pc.php
diff --git a/app/index/lang/zh-cn.php b/app/index/lang/zh-cn/pc.php
similarity index 100%
rename from app/index/lang/zh-cn.php
rename to app/index/lang/zh-cn/pc.php
diff --git a/app/index/middleware.php b/app/index/middleware.php
index fb3c3fa6..90a6ad68 100644
--- a/app/index/middleware.php
+++ b/app/index/middleware.php
@@ -2,5 +2,5 @@
// 这是系统自动生成的middleware定义文件
return [
// 启用多语言支持
- 'think\middleware\LoadLangPack',
+ think\middleware\LoadLangPack::class,
];
diff --git a/app/index/view/mobile/index/index.html b/app/index/view/mobile/index/index.html
index fdc90b0f..e02d1297 100644
--- a/app/index/view/mobile/index/index.html
+++ b/app/index/view/mobile/index/index.html
@@ -1,200 +1,128 @@
{extend name="public/base"/}
+{block name="style"}
+
+{/block}
{block name="main"}
+ {notempty name="focus_images"}
+ {volist name="focus_images" id="fi"}
-

-
-
-

-
-
-

+
+ {/volist}
+ {/notempty}
-
+
+ {notempty name="product_categorys"}
+ {volist name="product_categorys" id="pct"}
-

-
数据存储
-
-
-

-
智慧存储
-
-
-

-
智能家具
-
-
+ {/volist}
-
+ {/notempty}
+
+ {notempty name="featured_topics"}
+ {volist name="featured_topics" id="ft"}
-

+
-
-
-

-
+ {/volist}
-
+ {/notempty}
+
+ {notempty name="featured_products"}
-
明星产品/热点产品
+
{:lang('明星产品/热点产品')}
+ {volist name="featured_products" id="fp"}
-

+
-
M.2 2230 磁吸硬盘盒
+
{$fp.name}
- 了解更多
-
-
-
-
-
-

-
-
M.2 2230 磁吸硬盘盒
-
-
- 了解更多
-
-
-
-
-
-

-
-
M.2 2230 磁吸硬盘盒
-
-
- 了解更多
-
-
-
-
-
-

-
-
M.2 2230 磁吸硬盘盒
-
-
- 了解更多
-
-
-
-
-
-

-
-
M.2 2230 磁吸硬盘盒
-
-
- 了解更多
-
-
-
-
-
+ {/volist}
-
+ {/notempty}
+
-
+
+ {notempty name="video"}
-

+
+ {/notempty}
+ {notempty name="scenes"}
+ {volist name="scenes" id="sc"}
-

+
-
5合1便携插座
-
小巧玲珑,匠心独蕴。
+
$sc['title_txt_color']])}>{$sc.title}
+
$sc['desc_txt_color']])}>{$sc.desc}
- 了解更多
-
-
-
-
+ {/volist}
+ {/notempty}
-
+
-
Orico 技术
-
强大功能、简单使用
+
{:lang('Orico 技术')}
+
{:lang('强大功能、简单使用')}
-
+
+ {notempty name="brand_story"}
- -
-
+ {volist name="brand_story" id="bs" key="k"}
+ -
+
-
关于我们
-
- 深圳市奥睿科科技有限公司成立于2009年,是一家具有自主知识产权、自主品牌、自主柔性生产链的新型互联网制造企业。因其强大的专业能力,严谨的合作态度,高水准的产品而受到业内伙伴的一致认可。
-
+
$bs['title_txt_color']])}>{$bs.title}
+
$bs['desc_txt_color']])}>{$bs.desc}
- 了解更多
-
-
-
-
-
- -
-
-
-
全新使命
-
- 未来,Orico将依托NAS,拓展坞,快闪U盘,数据线等系列产品线和全面的产品组合,满足全球市场的个性化的数据存储、传输、同步需求。我们也将承担社会责任,实现可持续发展和绿色创新。
-
-
-
- 了解更多
-
-
-
-
-
- -
-
-
-
全新使命
-
- 未来,Orico将依托NAS,拓展坞,快闪U盘,数据线等系列产品线和全面的产品组合,满足全球市场的个性化的数据存储、传输、同步需求。我们也将承担社会责任,实现可持续发展和绿色创新。
-
-
-
- 了解更多
-
+ {:lang('了解更多')}
+ {/volist}
-
-
+ {/notempty}
+
+ {notempty name="data_statistics"}
-
+ {/notempty}
+
+ {notempty name="recommend_articles"}
+ {volist name="recommend_articles" id="ra"}
-
-
-
-
+ {/volist}
-
+ {/notempty}
+
+ {notempty name="recommend_faq"}
-
常见问题
-
回答您最关心的问题
-
客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内
+
{:lang('常见问题')}
+
{:lang('回答您最关心的问题')}
+
{:lang('客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内')}
+ {volist name="recommend_faq" id="rq"}
- - 同行产品品牌对比
+
-
+ {$rq.question}
- - 您好:orico都是采用的进口控制芯片,IC,原器件,自己研发的PCBA电路板,以及所有模具外观均是ORICO研发,生产!这种便宜的产品不是使用控制芯片,而是使用一种叫邦定的技术一个PCBA,如果使用邦定,成本很低,但是用个十来天,就会出现问题!ORICO全部使用贴片元器件所以,从用料上,完全不一样!
-
-
-
- - 同行产品品牌对比
-
- - 您好:orico都是采用的进口控制芯片,IC,原器件,自己研发的PCBA电路板,以及所有模具外观均是ORICO研发,生产!这种便宜的产品不是使用控制芯片,而是使用一种叫邦定的技术一个PCBA,如果使用邦定,成本很低,但是用个十来天,就会出现问题!ORICO全部使用贴片元器件所以,从用料上,完全不一样!
-
-
-
- - 同行产品品牌对比
-
- - 您好:orico都是采用的进口控制芯片,IC,原器件,自己研发的PCBA电路板,以及所有模具外观均是ORICO研发,生产!这种便宜的产品不是使用控制芯片,而是使用一种叫邦定的技术一个PCBA,如果使用邦定,成本很低,但是用个十来天,就会出现问题!ORICO全部使用贴片元器件所以,从用料上,完全不一样!
-
-
-
- - 同行产品品牌对比
-
- - 您好:orico都是采用的进口控制芯片,IC,原器件,自己研发的PCBA电路板,以及所有模具外观均是ORICO研发,生产!这种便宜的产品不是使用控制芯片,而是使用一种叫邦定的技术一个PCBA,如果使用邦定,成本很低,但是用个十来天,就会出现问题!ORICO全部使用贴片元器件所以,从用料上,完全不一样!
-
-
-
- - 同行产品品牌对比
-
- - 您好:orico都是采用的进口控制芯片,IC,原器件,自己研发的PCBA电路板,以及所有模具外观均是ORICO研发,生产!这种便宜的产品不是使用控制芯片,而是使用一种叫邦定的技术一个PCBA,如果使用邦定,成本很低,但是用个十来天,就会出现问题!ORICO全部使用贴片元器件所以,从用料上,完全不一样!
-
+ - {$rq.answer|raw}
+ {/volist}
+ {/notempty}
{/block}
diff --git a/app/index/view/mobile/public/footer.html b/app/index/view/mobile/public/footer.html
index f43e0ee9..9c8d1a8b 100644
--- a/app/index/view/mobile/public/footer.html
+++ b/app/index/view/mobile/public/footer.html
@@ -1,62 +1,70 @@
\ No newline at end of file
diff --git a/app/index/view/mobile/public/header.html b/app/index/view/mobile/public/header.html
index 38d56d37..bd269576 100644
--- a/app/index/view/mobile/public/header.html
+++ b/app/index/view/mobile/public/header.html
@@ -12,72 +12,45 @@
diff --git a/public/static/index/mobile/css/index.css b/public/static/index/mobile/css/index.css
new file mode 100755
index 00000000..060bb710
--- /dev/null
+++ b/public/static/index/mobile/css/index.css
@@ -0,0 +1,128 @@
+.oricoEGapp {
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+.oricoEGapp .oricoEGapp-index {
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+.oricoEGapp .oricoEGapp-index .oidx-banner {
+ margin-top: 3.5rem;
+ z-index: 9;
+}
+.oricoEGapp .oricoEGapp-index .oidx-banner .swiper-container {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.oricoEGapp .oricoEGapp-index .oidx-cate {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: center;
+ align-items: center;
+ padding: 1.5rem 0;
+ margin: 0 5%;
+}
+.oricoEGapp .oricoEGapp-index .oidx-cate .cateit {
+ margin: 0 5%;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+}
+.oricoEGapp .oricoEGapp-index .oidx-cate .cateit img {
+ width: 2.25rem;
+ height: 2.25rem;
+}
+.oricoEGapp .oricoEGapp-index .oidx-cate .cateit span {
+ font-size: 0.8rem;
+}
+.oricoEGapp .oricoEGapp-index .oidx-gg {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+}
+.oricoEGapp .oricoEGapp-index .oidx-FP .timeblue a {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+}
+.oricoEGapp .oricoEGapp-index .oidx-FP .timeblue a img {
+ margin-left: 0.625rem;
+}
+.oricoEGapp .oricoEGapp-index .oidx-ztpictureshow {
+ position: relative;
+ background: #fff;
+}
+.oricoEGapp .oricoEGapp-index .oidx-ztpictureshow .margin-top-20 {
+ display: flex;
+ justify-content: center;
+}
+.oricoEGapp .oricoEGapp-index .oidx-tcly {
+ display: flex;
+ flex-direction: column;
+}
+.oricoEGapp .oricoEGapp-index .oidx-times {
+ display: flex;
+ position: relative;
+}
+.oricoEGapp .oricoEGapp-index .oidx-times .timeblue {
+ display: flex;
+ justify-content: center;
+}
+.oricoEGapp .oricoEGapp-index .oidx-times .timeline .events-wrapper {
+ overflow: initial;
+}
+.oricoEGapp .oricoEGapp-index .oidx-times .cd-horizontal-timeline .events a {
+ width: 33.3%;
+ margin-left: 0;
+}
+.oricoEGapp .oricoEGapp-index .oidx-times .cd-horizontal-timeline .events a::after {
+ left: 50%;
+}
+.oricoEGapp .oricoEGapp-index .oidx-total {
+ position: relative;
+}
+.oricoEGapp .oricoEGapp-index .oidx-imgqh .swiper-container {
+ overflow: initial;
+}
+.oricoEGapp .oricoEGapp-index .oidx-imgqh .swiper-pagination {
+ bottom: -15px;
+}
+.oricoEGapp .oricoEGapp-index .oidx-fqa {
+ margin-top: 2rem;
+}
+.oricoEGapp .oricoEGapp-index .oidx-fqa .faq-title h3 {
+ margin: 2rem auto;
+}
+.oricoEGapp .timeblue {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ text-align: center;
+}
+.oricoEGapp .timeblue a {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ text-align: center;
+}
+.oricoEGapp .timeblue img {
+ margin-left: 0.625rem;
+}
+.oricoEGapp .text_center {
+ text-align: center;
+}
+.oricoEGapp .inprotext {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
diff --git a/public/static/index/mobile/css/style.css b/public/static/index/mobile/css/style.css
index cb928dfa..db9d6173 100755
--- a/public/static/index/mobile/css/style.css
+++ b/public/static/index/mobile/css/style.css
@@ -1,24 +1,24 @@
@font-face {
font-family: "Montserrat";
- src: url("/static/common/fonts/Montserrat-Regular.ttf") format("truetype");
+ src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Montserrat-Bold";
- src: url("/static/common/fonts/Montserrat-Bold.ttf") format("truetype");
+ src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Montserrat-Medium";
- src: url("/static/common/fonts/Montserrat-Medium.ttf") format("truetype");
+ src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Montserrat-SemiBold";
- src: url("/static/common/fonts/Montserrat-SemiBold.ttf") format("truetype");
+ src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@@ -2934,7 +2934,7 @@ video img {
display: flex;
align-items: center;
justify-content: center;
- background: #fff url(../indeximg/ba-arrow.png) center center / 22px 22px no-repeat;
+ background: #fff url(../images/ba-arrow.png) center center / 22px 22px no-repeat;
border: 1px solid #fff;
border-radius: 50%;
transition: all 0.3s ease;
diff --git a/public/static/index/mobile/images/ba-arrow.png b/public/static/index/mobile/images/ba-arrow.png
new file mode 100755
index 00000000..62877752
Binary files /dev/null and b/public/static/index/mobile/images/ba-arrow.png differ
diff --git a/public/static/index/mobile/images/back-img01.jpg b/public/static/index/mobile/images/back-img01.jpg
new file mode 100755
index 00000000..5b1bed91
Binary files /dev/null and b/public/static/index/mobile/images/back-img01.jpg differ
diff --git a/public/static/index/mobile/images/back-img02.jpg b/public/static/index/mobile/images/back-img02.jpg
new file mode 100755
index 00000000..83a7cb8b
Binary files /dev/null and b/public/static/index/mobile/images/back-img02.jpg differ
diff --git a/public/static/index/mobile/images/close.png b/public/static/index/mobile/images/close.png
new file mode 100755
index 00000000..4ce0a763
Binary files /dev/null and b/public/static/index/mobile/images/close.png differ
diff --git a/public/static/index/mobile/images/downicon.png b/public/static/index/mobile/images/downicon.png
new file mode 100755
index 00000000..4706c31d
Binary files /dev/null and b/public/static/index/mobile/images/downicon.png differ
diff --git a/public/static/index/mobile/images/logo-white.png b/public/static/index/mobile/images/logo-white.png
new file mode 100755
index 00000000..93729ebf
Binary files /dev/null and b/public/static/index/mobile/images/logo-white.png differ
diff --git a/public/static/index/mobile/images/more-r.png b/public/static/index/mobile/images/more-r.png
new file mode 100755
index 00000000..f90c9297
Binary files /dev/null and b/public/static/index/mobile/images/more-r.png differ