From c4e25484bfc30dde626a6660af7ff614e500cf9a Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 6 Jun 2025 16:28:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mobile=E9=97=AE=E7=AD=94=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Faq.php | 3 ++- app/index/lang/en-us/mobile.php | 6 +++++ app/index/lang/en-us/pc.php | 5 ++++ app/index/view/mobile/faq/index.html | 34 ++++++++++++++++++++++++++ public/static/index/mobile/css/faq.css | 10 ++++++++ 5 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 app/index/view/mobile/faq/index.html create mode 100644 public/static/index/mobile/css/faq.css 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"} +