diff --git a/app/index/controller/Faq.php b/app/index/controller/Faq.php index 91d4774a..c9b3a6eb 100644 --- a/app/index/controller/Faq.php +++ b/app/index/controller/Faq.php @@ -25,7 +25,8 @@ class Faq extends Common // 获取banner焦点图 $banner = SysBannerItemModel::hasWhere('banner', [ 'language_id' => $this->lang_id, - 'unique_label' => 'BANNER_67fa37f30e151' + 'unique_label' => 'BANNER_67fa37f30e151', + 'at_platform' => request()->from ]) ->type('image') ->visible(['id', 'title', 'image', 'link']) diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php index 9701e9fe..a631377d 100644 --- a/app/index/lang/en-us/mobile.php +++ b/app/index/lang/en-us/mobile.php @@ -73,6 +73,12 @@ return [ '提交' => 'SUBMIT', ], + // 常见问题 + 'faq/index' => [ + '常见FQ_下载与服务_中文官网帮助信息_ORICO/奥睿科官网' => 'FAQ', + '常见问题解答' => 'Frequently asked questions', + ], + // 附件下载 'attachment/index' => [ '软件下载' => 'Software download', diff --git a/app/index/lang/en-us/pc.php b/app/index/lang/en-us/pc.php index 15b56888..80e2ee36 100644 --- a/app/index/lang/en-us/pc.php +++ b/app/index/lang/en-us/pc.php @@ -40,6 +40,11 @@ return [ '链接复制成功' => 'Link copied successfully', ], + // 常见问题 + 'faq/index' => [ + '常见FQ_下载与服务_中文官网帮助信息_ORICO/奥睿科官网' => 'FAQ', + ], + // 附件页 - 软件下载 'attachment/index' => [ '软件和驱动程序' => 'Software and Drivers', diff --git a/app/index/view/mobile/faq/index.html b/app/index/view/mobile/faq/index.html new file mode 100644 index 00000000..5be280b1 --- /dev/null +++ b/app/index/view/mobile/faq/index.html @@ -0,0 +1,34 @@ +{extend name="public/base" /} +{block name="title"} +{:lang_i18n('常见FQ_下载与服务_中文官网帮助信息_ORICO/奥睿科官网')} +{/block} +{block name="style"} + +{/block} +{block name="main"} +
+ +
+ + {notempty name="banner.image"} + + {/notempty} + + {notempty name="faq"} +
+
{:lang_i18n('常见问题解答')} +
+ {volist name="faq" id="vo"} +
+
{$vo.question}
+
{$vo.answer|raw}
+ {/volist} +
+ +
{$faq|raw}
+ {/notempty} +
+
+{/block} \ No newline at end of file diff --git a/public/static/index/mobile/css/faq.css b/public/static/index/mobile/css/faq.css new file mode 100644 index 00000000..2933b6e7 --- /dev/null +++ b/public/static/index/mobile/css/faq.css @@ -0,0 +1,10 @@ +.oricoEGapp-fq { + position: relative; + } + .oricoEGapp-fq .banner { + margin-top: 3.3rem; + } + .oricoEGapp-fq .banner img { + max-width: 100%; + } + \ No newline at end of file