feat: mobile问答中心页
This commit is contained in:
@@ -25,7 +25,8 @@ class Faq extends Common
|
|||||||
// 获取banner焦点图
|
// 获取banner焦点图
|
||||||
$banner = SysBannerItemModel::hasWhere('banner', [
|
$banner = SysBannerItemModel::hasWhere('banner', [
|
||||||
'language_id' => $this->lang_id,
|
'language_id' => $this->lang_id,
|
||||||
'unique_label' => 'BANNER_67fa37f30e151'
|
'unique_label' => 'BANNER_67fa37f30e151',
|
||||||
|
'at_platform' => request()->from
|
||||||
])
|
])
|
||||||
->type('image')
|
->type('image')
|
||||||
->visible(['id', 'title', 'image', 'link'])
|
->visible(['id', 'title', 'image', 'link'])
|
||||||
|
|||||||
@@ -73,6 +73,12 @@ return [
|
|||||||
'提交' => 'SUBMIT',
|
'提交' => 'SUBMIT',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// 常见问题
|
||||||
|
'faq/index' => [
|
||||||
|
'常见FQ_下载与服务_中文官网帮助信息_ORICO/奥睿科官网' => 'FAQ',
|
||||||
|
'常见问题解答' => 'Frequently asked questions',
|
||||||
|
],
|
||||||
|
|
||||||
// 附件下载
|
// 附件下载
|
||||||
'attachment/index' => [
|
'attachment/index' => [
|
||||||
'软件下载' => 'Software download',
|
'软件下载' => 'Software download',
|
||||||
|
|||||||
@@ -40,6 +40,11 @@ return [
|
|||||||
'链接复制成功' => 'Link copied successfully',
|
'链接复制成功' => 'Link copied successfully',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// 常见问题
|
||||||
|
'faq/index' => [
|
||||||
|
'常见FQ_下载与服务_中文官网帮助信息_ORICO/奥睿科官网' => 'FAQ',
|
||||||
|
],
|
||||||
|
|
||||||
// 附件页 - 软件下载
|
// 附件页 - 软件下载
|
||||||
'attachment/index' => [
|
'attachment/index' => [
|
||||||
'软件和驱动程序' => 'Software and Drivers',
|
'软件和驱动程序' => 'Software and Drivers',
|
||||||
|
|||||||
34
app/index/view/mobile/faq/index.html
Normal file
34
app/index/view/mobile/faq/index.html
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{extend name="public/base" /}
|
||||||
|
{block name="title"}
|
||||||
|
<title>{:lang_i18n('常见FQ_下载与服务_中文官网帮助信息_ORICO/奥睿科官网')}</title>
|
||||||
|
{/block}
|
||||||
|
{block name="style"}
|
||||||
|
<link rel="stylesheet" href="__CSS__/faq.css">
|
||||||
|
{/block}
|
||||||
|
{block name="main"}
|
||||||
|
<div class="oricoEGapp">
|
||||||
|
<!-- 内容-->
|
||||||
|
<div class="oricoEGapp-fq">
|
||||||
|
<!--banner-->
|
||||||
|
{notempty name="banner.image"}
|
||||||
|
<div class="banner">
|
||||||
|
<img src="{$banner.image}">
|
||||||
|
</div>
|
||||||
|
{/notempty}
|
||||||
|
<!--常见问题解答-->
|
||||||
|
{notempty name="faq"}
|
||||||
|
<div class="m_Container">
|
||||||
|
<div class="title text_center margin-top-50 text_black"><strong>{:lang_i18n('常见问题解答')}</strong>
|
||||||
|
</div>
|
||||||
|
{volist name="faq" id="vo"}
|
||||||
|
<div class="img-responsives margin-top-40"><img src="{$vo.image}"></div>
|
||||||
|
<div class="subtitle text_black text_center margin-top-30">{$vo.question}</div>
|
||||||
|
<div class="des text_gray line-height-40 margin-top-40">{$vo.answer|raw}</div>
|
||||||
|
{/volist}
|
||||||
|
</div>
|
||||||
|
<!-- 分页-->
|
||||||
|
<div >{$faq|raw}</div>
|
||||||
|
{/notempty}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/block}
|
||||||
10
public/static/index/mobile/css/faq.css
Normal file
10
public/static/index/mobile/css/faq.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
.oricoEGapp-fq {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.oricoEGapp-fq .banner {
|
||||||
|
margin-top: 3.3rem;
|
||||||
|
}
|
||||||
|
.oricoEGapp-fq .banner img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user