feat: mobile nas主题帮助中心页
This commit is contained in:
@@ -178,4 +178,14 @@ return [
|
|||||||
'网络存储解决方案' => 'Network Storage Solutions',
|
'网络存储解决方案' => 'Network Storage Solutions',
|
||||||
'配套软件' => 'Software',
|
'配套软件' => 'Software',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// nas主题 - 帮助页
|
||||||
|
'topicnas/help' => [
|
||||||
|
'帮助中心' => 'Quick Start Guide',
|
||||||
|
'请输入搜索关键字,如安装赛博云空间,影视库' => 'What are you looking for?',
|
||||||
|
'使用教程' => 'User\' s Guide',
|
||||||
|
'查看更多' => 'Click to view more',
|
||||||
|
'联系我们' => 'Contact US',
|
||||||
|
'目录' => 'Content'
|
||||||
|
],
|
||||||
];
|
];
|
||||||
132
app/index/view/mobile/topic_nas/help.html
Normal file
132
app/index/view/mobile/topic_nas/help.html
Normal file
@@ -0,0 +1,132 @@
|
|||||||
|
{extend name="public/base" /}
|
||||||
|
{block name="style"}
|
||||||
|
<link rel="stylesheet" href="__CSS__/topic_nas_help.css" />
|
||||||
|
{/block}
|
||||||
|
{block name="header"}
|
||||||
|
<!-- 重置header头为空 -->
|
||||||
|
{/block}
|
||||||
|
{block name="main"}
|
||||||
|
<div class="oricoEGapp">
|
||||||
|
<div class="narshelpCenterPc-app">
|
||||||
|
<div class="headtop">
|
||||||
|
<a href="https://www.orico.com.cn/mobile/tops_nas/index.html">
|
||||||
|
<img src="__IMAGES__/logo.png" class="logoicoimg">
|
||||||
|
</a>
|
||||||
|
<img src="__IMAGES__/ssapp.png" class="ssicoimg">
|
||||||
|
</div>
|
||||||
|
<!-- banner -->
|
||||||
|
<img src="__IMAGES__/nhlpapp-banner.webp" class="nhlpbner">
|
||||||
|
<!-- 使用教程 -->
|
||||||
|
{notempty name="article_categorys"}
|
||||||
|
<h1 class="nhlpapp-title">{:lang_i18n('使用教程')}</h1>
|
||||||
|
{volist name="article_categorys" id="vo" key="idx"}
|
||||||
|
<div class="nhlpappit">
|
||||||
|
<div class="nhlptl">
|
||||||
|
<img src="{$vo.icon}" class="bhlpicoimg">{$vo.name}
|
||||||
|
</div>
|
||||||
|
<div class="nhlp-tx-list">
|
||||||
|
{volist name="vo.article" id="va"}
|
||||||
|
<a class="txrow" href="{:url('/index/topic/nas/help_detail', ['id' => $va.id])}">
|
||||||
|
<div class="nhlp-point"></div>
|
||||||
|
<span class="nhlpsp">{$va.title}</span>
|
||||||
|
<span class="narhelpgoimg"><img src="__IMAGES__/nars-jt.png"></span>
|
||||||
|
</a>
|
||||||
|
{/volist}
|
||||||
|
{if condition="count($vo.article) >= 3"}
|
||||||
|
<a href="{:url('/index/topic/nas/help_detail', ['id' => isset($vo.article[0])?$vo.article[0]['id']:0])}">
|
||||||
|
<div class="ckgdbt">{:lang_i18n('查看更多')} <img src="__IMAGES__/nars-jt.png"></div>
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/volist}
|
||||||
|
{/notempty}
|
||||||
|
<!-- 联系我们 -->
|
||||||
|
{notempty name="contacts"}
|
||||||
|
<h1 class="nhlpapp-title">{:lang_i18n('联系我们')}</h1>
|
||||||
|
<div class="nhlpapp-row">
|
||||||
|
<div class="sec-1">
|
||||||
|
{volist name="contacts" id="co" key="idx" offset="0" length="4"}
|
||||||
|
<a class="nhlplxwmit" {notempty name="co.link"}href="{$co.link}"{/notempty}>
|
||||||
|
<img src="{$co.image}" class="lximg">
|
||||||
|
<span class="t1" {:style(['color'=>$co.title_txt_color])}>{$co.title}</span>
|
||||||
|
{notempty name="co.desc"}
|
||||||
|
<span class="t2" {:style(['color'=>$co.desc_txt_color])}>{$co.desc|raw}</span>
|
||||||
|
{/notempty}
|
||||||
|
</a>
|
||||||
|
{/volist}
|
||||||
|
</div>
|
||||||
|
<div class="sec-2">
|
||||||
|
{volist name="contacts" id="co" key="idx" offset="4"}
|
||||||
|
<a class="nhlplxwmit nhlplxwmit-w1" {notempty name="co.link"}href="{$co.link}"{/notempty}>
|
||||||
|
<img src="{$co.image}" class="lximg">
|
||||||
|
<span class="t1" {:style(['color'=>$co.title_txt_color])}>{$co.title}<br></span>
|
||||||
|
</a>
|
||||||
|
{/volist}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/notempty}
|
||||||
|
<!-- 搜索 -->
|
||||||
|
<div class="nhlpapp-search">
|
||||||
|
<div class="nhlpappshtop">
|
||||||
|
<div class="nhlpapp-shdiv">
|
||||||
|
<input class="nhlp-ipt" id="search-input" placeholder="{:lang_i18n('请输入搜索关键字,如安装赛博云空间,影视库')}" autocomplete="off">
|
||||||
|
<img src="__IMAGES__/ssapp.png" class="searchimg">
|
||||||
|
</div>
|
||||||
|
<span class="closetx">取消</span>
|
||||||
|
</div>
|
||||||
|
<div class="nhlpappline"></div>
|
||||||
|
<!-- 下拉搜索框 -->
|
||||||
|
<div class="dropdown" id="dropdown"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/block}
|
||||||
|
{block name="script"}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('.closetx').click(function () {
|
||||||
|
$('.nhlpapp-search').hide();
|
||||||
|
});
|
||||||
|
$('.ssicoimg').click(function () {
|
||||||
|
$('.nhlpapp-search').show();
|
||||||
|
});
|
||||||
|
|
||||||
|
// 搜索
|
||||||
|
var timeout = null;
|
||||||
|
$('#search-input').on('focus input', function () {
|
||||||
|
clearTimeout(timeout);
|
||||||
|
var _this = this;
|
||||||
|
timeout = setTimeout(function () {
|
||||||
|
var keywords = $(_this).val();
|
||||||
|
if (keywords == '') {
|
||||||
|
$('#dropdown').hide().html('');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$.ajax({
|
||||||
|
url: "{:url('/index/topic/nas/help_search')}",
|
||||||
|
type: 'POST',
|
||||||
|
data: { keywords: keywords },
|
||||||
|
dataType: 'JSON',
|
||||||
|
success: function (r) {
|
||||||
|
var html = '';
|
||||||
|
if (r.code == 0) {
|
||||||
|
html = '<ul>'
|
||||||
|
$.each(r.data, function (k, v) {
|
||||||
|
html += '<li><a class="search-item" href="{:url(\'/index/topic/nas/help_detail\')}?id=' + v.id + '">' + v.title + '</a></li>'
|
||||||
|
})
|
||||||
|
html += '</ul>'
|
||||||
|
}
|
||||||
|
$('#dropdown').show().html(html);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}, 300);
|
||||||
|
});
|
||||||
|
$('.nhlplxwmit:not(:first)').hover(function () {
|
||||||
|
$(this).find('.lximg').show();
|
||||||
|
}, function () {
|
||||||
|
$(this).find('.lximg').show();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{/block}
|
||||||
265
public/static/index/mobile/css/topic_nas_help.css
Normal file
265
public/static/index/mobile/css/topic_nas_help.css
Normal file
@@ -0,0 +1,265 @@
|
|||||||
|
.icon-menu-svg,
|
||||||
|
.icon-search-svg,
|
||||||
|
.icon-lag-svg {
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 2;
|
||||||
|
top: 0;
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
background: #fff;
|
||||||
|
flex-direction: column;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpappshtop {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpappshtop .closetx {
|
||||||
|
font-size: 14px;
|
||||||
|
margin-right: 8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv {
|
||||||
|
margin: 1rem 20px;
|
||||||
|
height: 2.5rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
border: 1px solid #cdcedb;
|
||||||
|
border-radius: 1.5625rem;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv input {
|
||||||
|
font-size: 0.8125rem;
|
||||||
|
padding: 0 20px;
|
||||||
|
flex: 1;
|
||||||
|
border: none;
|
||||||
|
margin-left: 2px;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv input::placeholder {
|
||||||
|
color: #8f9099;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv .searchimg {
|
||||||
|
width: 1.25rem;
|
||||||
|
height: 1.25rem;
|
||||||
|
margin-left: 1%;
|
||||||
|
margin-right: 5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .dropdown {
|
||||||
|
height: 90vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
margin: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .dropdown li {
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
font-weight: 400;
|
||||||
|
width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
/* 禁止文本换行 */
|
||||||
|
overflow: hidden;
|
||||||
|
/* 隐藏超出容器的内容 */
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/* 超出部分用省略号表示 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .dropdown .search-item {
|
||||||
|
color: #202734;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-search .nhlpappline {
|
||||||
|
width: 100%;
|
||||||
|
height: 1px;
|
||||||
|
background: #cdcedb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .headtop {
|
||||||
|
width: 100%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: flex;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
display: flex;
|
||||||
|
padding: 1.25rem 0;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .headtop .logoicoimg {
|
||||||
|
width: auto;
|
||||||
|
margin-left: 1.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .headtop .ssicoimg {
|
||||||
|
width: 1.875rem;
|
||||||
|
height: 1.875rem;
|
||||||
|
margin-right: 1.875rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpbner {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 4.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-title {
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin: 2rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 1.875rem;
|
||||||
|
background: #fafafa;
|
||||||
|
border-radius: 1rem;
|
||||||
|
color: #202734;
|
||||||
|
font-size: 1rem;
|
||||||
|
margin-bottom: 1.25rem;
|
||||||
|
width: 74%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlptl {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
padding-bottom: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlptl .bhlpicoimg {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow .nhlp-point {
|
||||||
|
width: 0.3125rem;
|
||||||
|
height: 0.3125rem;
|
||||||
|
background: #202734;
|
||||||
|
border-radius: 0.1875rem;
|
||||||
|
margin: 0 0.625rem;
|
||||||
|
margin-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow .nhlpsp {
|
||||||
|
flex: 1;
|
||||||
|
color: #1f2635;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .ckgdbt {
|
||||||
|
background: #fff;
|
||||||
|
width: fit-content;
|
||||||
|
color: #bfbfc4;
|
||||||
|
font-size: 0.9375rem;
|
||||||
|
border: 0.0625rem solid #bfbfc4;
|
||||||
|
padding: 0.4375rem 1.125rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 1.5rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row {
|
||||||
|
margin-bottom: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row > div {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 90%;
|
||||||
|
margin: 0 auto;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit {
|
||||||
|
width: 48.3%;
|
||||||
|
padding: 1.5rem 0;
|
||||||
|
background: #f9f9f9;
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border-radius: 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-right: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .sec-1 .nhlplxwmit:nth-child(even),
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .sec-2 .nhlplxwmit:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .lximg {
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .lxewmimg {
|
||||||
|
width: 4rem;
|
||||||
|
width: 4rem;
|
||||||
|
margin-bottom: 1.25rem;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .t1 {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
padding-bottom: 0.375rem;
|
||||||
|
color: #1f2635;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .t2 {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: #1f2635;
|
||||||
|
}
|
||||||
|
|
||||||
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit-w1 {
|
||||||
|
width: 31%;
|
||||||
|
}
|
||||||
BIN
public/static/index/mobile/images/nars-jt.png
Normal file
BIN
public/static/index/mobile/images/nars-jt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 244 B |
BIN
public/static/index/mobile/images/nhlpapp-banner.webp
Normal file
BIN
public/static/index/mobile/images/nhlpapp-banner.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user