nas帮助中心

This commit is contained in:
2025-02-17 15:49:17 +08:00
parent 627c0adbff
commit 1a221945a3
8 changed files with 101 additions and 78 deletions

View File

@@ -225,8 +225,8 @@
<span>3.请遵守国家相关法律、法规,勿上传、下载和分享非法数据</span>
</div>
<div class="nztbzyj">
<a>意见反馈</a>
<a>帮助中心</a>
<a href="https://alidocs.dingtalk.com/notable/share/form/v013M0Oz5Xz1Xv8qzeE_vQkCkLg_cMm6AQO" target="_blank">意见反馈</a>
<a href="https://www.orico.com.cn/index/tops_nas/helper.html" target="_blank">帮助中心</a>
</div>
</div>
</div>

View File

@@ -6,6 +6,9 @@
<title>帮助中心</title>
{include file='include/head-nas' /}
<style>
[class*=' icon-'] {
color: #000;
}
.narshelpCenterPc {
display: flex;
flex-direction: column;
@@ -316,9 +319,9 @@
</style>
</head>
<body>
<!-- 顶部导航 -->
{include file='include/top-header-nas'/}
<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" />
@@ -444,32 +447,32 @@
// 监听输入框内容变化
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);
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);

View File

@@ -6,6 +6,9 @@
<title>帮助中心</title>
{include file='include/head-nas' /}
<style>
[class*=' icon-'] {
color: #000;
}
.narshelpdetailPc {
display: flex;
flex-direction: column;
@@ -167,6 +170,9 @@
overflow-y: auto;
position: relative;
}
.narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{
max-width: 100%;
}
/* .narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{*/
/* width: -webkit-fill-available;*/
/*}*/

View File

@@ -4,7 +4,6 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>元创官网</title>
{include file='include/head-nas'/}
</head>

View File

@@ -11,6 +11,9 @@
</style>
{include file='include/head-nas'/}
<style type="text/css">
[class*=' icon-'] {
color: #000;
}
.narsZTPC {
width: 100%;
height: 100vh;
@@ -230,8 +233,8 @@
<span>3.请遵守国家相关法律、法规,勿上传、下载和分享非法数据</span>
</div>
<div class="nztbzyj">
<a>意见反馈</a>
<a>帮助中心</a>
<a href="https://alidocs.dingtalk.com/notable/share/form/v013M0Oz5Xz1Xv8qzeE_vQkCkLg_cMm6AQO" target="_blank">意见反馈</a>
<a href="https://www.orico.com.cn/index/tops_nas/helper.html" target="_blank">帮助中心</a>
</div>
</div>
</div>

View File

@@ -4,8 +4,11 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>元创官网</title>
{include file='include/head-nas' /}
{include file='include/head-nas'/}
<style type="text/css">
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
color: #000 !important;
}
.header {
color: #fff;
}

View File

@@ -6,6 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{include file='include/head-nas' /}
<style>
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
color: #000 !important;
}
.narshelpCenterPc-app {
width: 100%;
display: flex;
@@ -67,7 +70,12 @@
}
.narshelpCenterPc-app .nhlpapp-search .dropdown li {
margin-bottom: 0.75rem;
font-size: 16px;
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;
@@ -224,7 +232,7 @@
<body>
<div class="narshelpCenterPc-app">
<div class="headtop">
<img src="__PUBLIC__/m_web/images/nas/help/logo.png" class="logoicoimg" />
<a href="https://www.orico.com.cn/mobile/tops_nas/index.html"><img src="__PUBLIC__/m_web/images/nas/help/logo.png" class="logoicoimg" /></a>
<img src="__PUBLIC__/m_web/images/nas/help/sousuo.png" class="ssicoimg" />
</div>
<img src="__PUBLIC__/m_web/images/nas/help/nhlpapp-banner.png" class="nhlpbner" />
@@ -253,67 +261,47 @@
<h1 class="nhlpapp-title">联系我们</h1>
<div class="nhlpapp-row">
{if condition="$banners_size > 0"}
<a class="nhlplxwmit">
<a {if $banners[0]['link']}href="{$banners[0]['link']}"{/if} class="nhlplxwmit">
<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 class="nhlplxwmit" style="margin-right: 0;">
<a {if $banners[1]['link']}href="{$banners[1]['link']}"{/if} class="nhlplxwmit" style="margin-right: 0;">
<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 class="nhlplxwmit">
<a {if $banners[2]['link']}href="{$banners[2]['link']}"{/if} class="nhlplxwmit">
<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="__PUBLIC__/m_web/images/nas/help/nas-gzh-ewm.jpg" class="lxewmimg">
{/if}
<span class="t1">{$banners[2]['name']}<br />{$banners[2]['desc']}</span>
</a>
{/if}
{if condition="$banners_size > 3"}
<a class="nhlplxwmit" style="margin-right: 0;">
<a {if $banners[3]['link']}href="{$banners[3]['link']}"{/if} class="nhlplxwmit" style="margin-right: 0;">
<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']}<br />{$banners[3]['desc']}</span>
</a>
{/if}
{if condition="$banners_size > 4"}
<a class="nhlplxwmit nhlplxwmit-w1">
<a {if $banners[4]['link']}href="{$banners[4]['link']}"{/if} class="nhlplxwmit nhlplxwmit-w1">
<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']}<br />{$banners[4]['desc']}</span>
</a>
{/if}
{if condition="$banners_size > 5"}
<a class="nhlplxwmit nhlplxwmit-w1">
<a {if $banners[5]['link']}href="{$banners[5]['link']}"{/if} class="nhlplxwmit nhlplxwmit-w1">
<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']}<br />{$banners[5]['desc']}</span>
</a>
{/if}
{if condition="$banners_size > 6"}
<a class="nhlplxwmit nhlplxwmit-w1" style="margin-right: 0;">
<a {if $banners[6]['link']}href="{$banners[6]['link']}"{/if} class="nhlplxwmit nhlplxwmit-w1" style="margin-right: 0;">
<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']}<br />{$banners[6]['desc']}</span>
<a>
{/if}
@@ -322,7 +310,7 @@
<div class="nhlpapp-search">
<div class="nhlpappshtop">
<div class='nhlpapp-shdiv'>
<input class="nhlp-ipt" id="search-input" placeholder="请输入搜索关键字,如安装赛博云空间,影视库" />
<input class="nhlp-ipt" id="search-input" placeholder="请输入搜索关键字如安装赛博云空间影视库" />
<img src="__PUBLIC__/m_web/images/nas/help/ssapp.png" class="searchimg" />
</div>
<span class="closetx">取消</span>
@@ -373,10 +361,11 @@
})
}, 300);
});
$('.nhlplxwmit:not(:first)').click(function() {
$(this).find('.lximg').toggle();
$(this).find('.lxewmimg').toggle();
});
$('.nhlplxwmit:not(:first)').hover(function() {
$(this).find('.lximg').show();
}, function() {
$(this).find('.lximg').show();
});
});
</script>
</html>

View File

@@ -6,6 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{include file='include/head-nas' /}
<style>
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
color: #000 !important;
}
.narshelpCenterdetail-app {
width: 100%;
display: flex;
@@ -33,13 +36,15 @@
.narshelpCenterdetail-app .headtop .ssicoimg {
width: 1.875rem;
height: 1.875rem;
margin-right: 1.875rem;
margin-right: 15px;
}
.narshelpCenterdetail-app .nhlp-app-content {
margin: 1.25rem;
height: 100%;
overflow-y: auto;
margin-top: 8vh;
margin-top: 9.2vh;
}
.narshelpCenterdetail-app #rendered-content img {
max-width: 100%;
}
.narshelpCenterdetail-app .nhlpapp-search {
position: fixed;
@@ -97,11 +102,16 @@
}
.narshelpCenterdetail-app .nhlpapp-search .dropdown li {
margin-bottom: 0.75rem;
font-size: 16px;
font-size: 0.9rem;
font-weight: 400;
width:100%;
white-space: nowrap; /* 禁止文本换行 */
overflow: hidden; /* 隐藏超出容器的内容 */
text-overflow: ellipsis; /* 超出部分用省略号表示 */
}
.narshelpCenterdetail-app .nhlpapp-search .dropdown .search-item {
color: #202734;
}
color: #202734;
}
.narshelpCenterdetail-app .nhlpapp-search .nhlpappline {
width: 100%;
height: 1px;
@@ -183,10 +193,10 @@
<body>
<div class="narshelpCenterdetail-app">
<div class="headtop">
<img src="__PUBLIC__/m_web/images/nas/help/logo.png" class="logoicoimg" />
<a href="https://www.orico.com.cn/mobile/tops_nas/index.html"><img src="__PUBLIC__/m_web/images/nas/help/logo.png" class="logoicoimg" /></a>
<div>
<img src="__PUBLIC__/m_web/images/nas/help/fenlei.png" class="ssicoimg" id="flico"/>
<img src="__PUBLIC__/m_web/images/nas/help/sousuo.png" class="ssicoimg" id="ssico"/>
<img src="__PUBLIC__/m_web/images/nas/help/sousuo.png" class="ssicoimg" id="ssico" style="margin-right:32px"/>
</div>
</div>
<div id="rendered-content" class="nhlp-app-content">{$article.content|default=''}</div>
@@ -194,7 +204,7 @@
<div class="nhlpapp-search">
<div class="nhlpappshtop">
<div class='nhlpapp-shdiv'>
<input class="nhlp-ipt" id="search-input" placeholder="请输入搜索关键字,如安装赛博云空间,影视库" />
<input class="nhlp-ipt" id="search-input" placeholder="请输入搜索关键字如安装赛博云空间影视库" />
<img src="__PUBLIC__/m_web/images/nas/help/ssapp.png" class="searchimg" />
</div>
<span class="closetx">取消</span>
@@ -237,6 +247,16 @@
// 点击顶部分类图标
$('#flico').click(function() {
$('.nhlpapp-pagescate').toggle();
// 检查分类菜单是否显示
if ($('.nhlpapp-pagescate').is(':visible')) {
// 如果分类菜单显示,则隐藏文章内容
$('#rendered-content').hide();
$('.footer').hide()
} else {
// 如果分类菜单隐藏,则显示文章内容
$('#rendered-content').show();
$('.footer').show()
}
});
// 点击分类的交互
$('.categoryhelp-title').click(function() {