494 lines
17 KiB
PHTML
494 lines
17 KiB
PHTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>帮助中心</title>
|
|
{include file='include/head-nas' /}
|
|
<style>
|
|
[class*=' icon-'] {
|
|
color: #000;
|
|
}
|
|
.narshelpCenterPc {
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* 下拉搜索框样式 */
|
|
/* 下拉搜索框中的建议项样式 */
|
|
}
|
|
.narhelpgoimg{
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.narshelpCenterPc .narhelpgoimg img{
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
.narshelpCenterPc .pagetopbg {
|
|
width: 100%;
|
|
position: relative;
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
.narshelpCenterPc .pagetopbg .hpbgimg {
|
|
width: 100%;
|
|
}
|
|
.narshelpCenterPc .pagetopbg .nhlp-search {
|
|
width: 35%;
|
|
height: 48px;
|
|
border-radius: 24px;
|
|
background: #5299e1;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
display: flex;
|
|
position: absolute;
|
|
justify-content: space-between;
|
|
border: 0.0625rem solid #fff;
|
|
bottom: 15%;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 100px #8d8d8d;
|
|
}
|
|
.narshelpCenterPc .pagetopbg .nhlp-search .nhlp-ipt {
|
|
border: none;
|
|
width: 86%;
|
|
height: 48px;
|
|
margin-left: 5%;
|
|
color: #fff;
|
|
background: transparent;
|
|
font-size: 1rem;
|
|
}
|
|
.narshelpCenterPc .pagetopbg .nhlp-search .searchimghelp {
|
|
width: 1.6rem;
|
|
height: 1.6rem;
|
|
margin-right: 3%;
|
|
}
|
|
.narshelpCenterPc .pagetopbg .nhlp-search input {
|
|
border: none;
|
|
padding: 0;
|
|
outline: none;
|
|
}
|
|
.narshelpCenterPc .pagetopbg .nhlp-search input::placeholder {
|
|
color: #fff;
|
|
text-align: center;
|
|
font-size: 16px;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 {
|
|
width: 74.6%;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .helph1 {
|
|
margin: 0 auto;
|
|
margin-top: 54px;
|
|
font-weight: bold;
|
|
font-size: 32px;
|
|
margin-bottom: 38px;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 4.625rem;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit {
|
|
width: 32.7%;
|
|
padding: 2.25rem;
|
|
background: #fafafa;
|
|
border-radius: 8px;
|
|
color: #202734;
|
|
font-size: 1rem;
|
|
margin-right: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .nhlptl {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
padding-bottom: 1.25rem;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .nhlptl .bhlpicoimg {
|
|
width: 36px;
|
|
height: 36px;
|
|
margin-right: 10px;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .nhlp-tx-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .nhlp-tx-list .txrow {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .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 .nhlppart1 .nhlp-row .nhlpit .nhlp-tx-list .txrow .nhlpsp {
|
|
flex: 1;
|
|
color: #1f2635;
|
|
font-size: 1rem;
|
|
white-space: nowrap; /* 不允许换行 */
|
|
overflow: hidden; /* 超出部分隐藏 */
|
|
text-overflow: ellipsis; /* 超出部分显示省略号 */
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .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 .nhlppart1 .nhlp-row .nhlpit-w {
|
|
width: 49.4%;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit-w:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit:nth-child(3n) {
|
|
margin-right: 0;
|
|
}
|
|
.narshelpCenterPc .lxwmtitle {
|
|
margin: 0 auto;
|
|
margin-bottom: 38px;
|
|
font-weight: bold;
|
|
font-size: 32px;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm {
|
|
width: 74.6%;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 4.625rem;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit {
|
|
background: #f9f9f9;
|
|
width: 392px;
|
|
height: 291px;
|
|
margin-bottom: 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-right: 12px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit .lximg {
|
|
width: 4.375rem;
|
|
height: 4.375rem;
|
|
margin-bottom: 2.125rem;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit .lxewmimg {
|
|
width: 6.875rem;
|
|
width: 6.875rem;
|
|
margin-bottom: 1.25rem;
|
|
display: none;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit .t1 {
|
|
font-size: 1rem;
|
|
padding-bottom: 0.375rem;
|
|
color: #1f2635;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit .t2 {
|
|
font-size: 0.75rem;
|
|
color: #1f2635;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit-w1 {
|
|
width: 32.7%;
|
|
}
|
|
.narshelpCenterPc .nhlp-lxwm .nhlp-row .nhlplxwmit-w2 {
|
|
width: 24.3%;
|
|
}
|
|
.narshelpCenterPc .dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
top: 355px;
|
|
left: 0;
|
|
width: 35%;
|
|
border: 1px solid #ccc;
|
|
border-top: none;
|
|
background-color: #fff;
|
|
border-bottom-left-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
margin: 0 auto;
|
|
right: 0;
|
|
max-height: 18.75rem;
|
|
min-height: 3.125rem;
|
|
overflow-y: auto;
|
|
}
|
|
.narshelpCenterPc .dropdown ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.narshelpCenterPc .dropdown ul li {
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
.narshelpCenterPc .dropdown ul li:hover {
|
|
background-color: #f4f4f4;
|
|
}
|
|
/* 修改垂直滚动条 */
|
|
::-webkit-scrollbar {
|
|
width: 6px; /* 修改宽度 */
|
|
}
|
|
|
|
/* 修改滚动条轨道背景色 */
|
|
::-webkit-scrollbar-track {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* 修改滚动条滑块颜色 */
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* 修改滚动条滑块悬停时的颜色 */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: #D8DFE8;
|
|
}
|
|
|
|
/* 修改滚动条滑块移动时的颜色 */
|
|
::-webkit-scrollbar-thumb:active {
|
|
background-color: #D8DFE8;
|
|
}
|
|
|
|
/* 修改滚动条滑块的圆角 */
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
}
|
|
/* 整体滚动条 */
|
|
* {
|
|
scrollbar-width: thin; /* 滚动条宽度 */
|
|
scrollbar-color: #D8DBE6 transparent; /* 滚动条颜色(滑块颜色 轨道颜色) */
|
|
}
|
|
|
|
/* 滚动条轨道 */
|
|
*::-moz-scrollbar-track {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
/* 滚动条滑块 */
|
|
*::-moz-scrollbar-thumb {
|
|
background-color: #D8DBE6;
|
|
border-radius: 5px; /* 滑块的圆角 */
|
|
}
|
|
|
|
/* 滚动条的上下箭头 */
|
|
*::-moz-scrollbar-button {
|
|
display: none; /* 隐藏上下箭头 */
|
|
}
|
|
|
|
/* 滚动条的上下箭头:向上箭头 */
|
|
*::-moz-scrollbar-button:vertical:decrement {
|
|
display: none;
|
|
}
|
|
|
|
/* 滚动条的上下箭头:向下箭头 */
|
|
*::-moz-scrollbar-button:vertical:increment {
|
|
display: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="narshelpCenterPc">
|
|
<!-- 顶部导航 -->
|
|
{include file='include/top-header-nas'/}
|
|
<!-- banner-搜索-->
|
|
<div class="pagetopbg">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/banner.jpg" class="hpbgimg" />
|
|
<div class='nhlp-search'>
|
|
<input class="nhlp-ipt" id="search-input" placeholder="请输入搜索关键字,如安装赛博云空间、影视库" />
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nars-help-search.png" class="searchimghelp" />
|
|
</div>
|
|
<!-- 下拉搜索框 -->
|
|
<div class="dropdown" id="dropdown"></div>
|
|
</div>
|
|
<!-- 使用教程-->
|
|
<div class="nhlppart1">
|
|
<h1 class="helph1">使用教程</h1>
|
|
<div class="nhlp-row">
|
|
{volist name="categorys" id="vo"}
|
|
<div class="nhlpit {if condition='$key==6 || $key==7'}nhlpit-w{/if}">
|
|
<div class="nhlptl">
|
|
<img src="{$vo.picture}" class="bhlpicoimg" />{$vo.name}
|
|
</div>
|
|
<div class="nhlp-tx-list">
|
|
{volist name="vo.articles" id="va"}
|
|
<a class="txrow" href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}">
|
|
<div class="nhlp-point"></div>
|
|
<span class="nhlpsp">{$va.name}</span>
|
|
<span class="narhelpgoimg">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nars-jt.png"/>
|
|
</span>
|
|
</a>
|
|
{/volist}
|
|
{if condition="count($vo.articles) >= 3"}
|
|
<a class="ckgdbt" href="{:url('tops_nas/helper_detail', ['cid'=>$vo.id, 'id'=>isset($vo.articles[0])?$vo.articles[0]['id']:0])}">查看更多
|
|
<span class="narhelpgoimg">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nars-jt.png"/>
|
|
</span>
|
|
</a>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
{/volist}
|
|
</div>
|
|
</div>
|
|
<!-- 联系我们-->
|
|
<div class="nhlp-lxwm">
|
|
<h1 class=" helph1 lxwmtitle">联系我们</h1>
|
|
<div class="nhlp-row">
|
|
{if condition="$banners_size > 0"}
|
|
<a href="{$banners[0]['link']}" class="nhlplxwmit nhlplxwmit-w1" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx1.png" class="lximg" />
|
|
{if condition="!empty($banners[0]['picture']) && $banners[0]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[0]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[0]['name']}</span>
|
|
<span class="t2">{$banners[0]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
{if condition="$banners_size > 1"}
|
|
<a href="{$banners[1]['link']}" class="nhlplxwmit nhlplxwmit-w1" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx2.png" class="lximg" />
|
|
{if condition="!empty($banners[1]['picture']) && $banners[1]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[1]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[1]['name']}</span>
|
|
<span class="t2">{$banners[1]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
{if condition="$banners_size > 2"}
|
|
<a href="{$banners[2]['link']}" class="nhlplxwmit nhlplxwmit-w1" style="margin-right: 0;" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx3.png" class="lximg" />
|
|
{if condition="!empty($banners[2]['picture']) && $banners[2]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[2]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[2]['name']}</span>
|
|
<span class="t2">{$banners[2]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
{if condition="$banners_size > 3"}
|
|
<a href="{$banners[3]['link']}" class="nhlplxwmit nhlplxwmit-w2" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx4.png" class="lximg" />
|
|
{if condition="!empty($banners[3]['picture']) && $banners[3]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[3]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[3]['name']}</span>
|
|
<span class="t2">{$banners[3]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
{if condition="$banners_size > 4"}
|
|
<a href="{$banners[4]['link']}" class="nhlplxwmit nhlplxwmit-w2" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx5.png" class="lximg" />
|
|
{if condition="!empty($banners[4]['picture']) && $banners[4]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[4]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[4]['name']}</span>
|
|
<span class="t2">{$banners[4]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
{if condition="$banners_size > 5"}
|
|
<a href="{$banners[5]['link']}" class="nhlplxwmit nhlplxwmit-w2" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx6.png" class="lximg" />
|
|
{if condition="!empty($banners[5]['picture']) && $banners[5]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[5]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[5]['name']}</span>
|
|
<span class="t2">{$banners[5]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
{if condition="$banners_size > 6"}
|
|
<a href="{$banners[6]['link']}" class="nhlplxwmit nhlplxwmit-w2" style="margin-right: 0;" target="_blank">
|
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx7.png" class="lximg" />
|
|
{if condition="!empty($banners[6]['picture']) && $banners[6]['picture'] != '/uploads/nopic.jpg'"}
|
|
<img src="{$banners[6]['picture']}" class="lxewmimg">
|
|
{/if}
|
|
<span class="t1">{$banners[6]['name']}</span>
|
|
<span class="t2">{$banners[6]['desc']}</span>
|
|
</a>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file='include/bottom2023'/}
|
|
</body>
|
|
<script>
|
|
$(document).ready(function() {
|
|
// 监听输入框内容变化
|
|
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('tops_nas/helper_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 href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
|
})
|
|
html += '</ul>'
|
|
}
|
|
$('#dropdown').show().html(html);
|
|
}
|
|
})
|
|
}, 300);
|
|
})
|
|
$(document).on('click', function (e) {
|
|
var target = $(e.target);
|
|
if (!target.closest('.nhlp-search').length) {
|
|
$('#dropdown').hide();
|
|
}
|
|
});
|
|
$('.nhlplxwmit:not(:first)').hover(function() {
|
|
// 当鼠标移入时,显示.lxewmimg 并隐藏.lximg
|
|
$(this).find('.lxewmimg').show();
|
|
$(this).find('.lximg').hide();
|
|
}, function() {
|
|
// 当鼠标移出时,隐藏.lxewmimg 并显示.lximg
|
|
$(this).find('.lxewmimg').hide();
|
|
$(this).find('.lximg').show();
|
|
});
|
|
});
|
|
</script>
|
|
</html> |