Compare commits
3 Commits
2f3a171855
...
ec7ee48be8
| Author | SHA1 | Date | |
|---|---|---|---|
| ec7ee48be8 | |||
| ed58ffa3d6 | |||
| e993caaa2c |
@@ -226,7 +226,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="nztbzyj">
|
<div class="nztbzyj">
|
||||||
<a href="https://alidocs.dingtalk.com/notable/share/form/v013M0Oz5Xz1Xv8qzeE_vQkCkLg_cMm6AQO" target="_blank">意见反馈</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>
|
<a href="https://www.orico.com.cn/mobile/tops_nas/helper.html" target="_blank">帮助中心</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,9 +6,6 @@
|
|||||||
<title>帮助中心</title>
|
<title>帮助中心</title>
|
||||||
{include file='include/head-nas' /}
|
{include file='include/head-nas' /}
|
||||||
<style>
|
<style>
|
||||||
[class*=' icon-'] {
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
.narshelpCenterPc {
|
.narshelpCenterPc {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -319,9 +316,9 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- 顶部导航 -->
|
||||||
|
{include file='include/top-header-nas'/}
|
||||||
<div class="narshelpCenterPc">
|
<div class="narshelpCenterPc">
|
||||||
<!-- 顶部导航 -->
|
|
||||||
{include file='include/top-header-nas'/}
|
|
||||||
<!-- banner-搜索-->
|
<!-- banner-搜索-->
|
||||||
<div class="pagetopbg">
|
<div class="pagetopbg">
|
||||||
<img src="__PUBLIC__/m_web/images/nas/help/banner.jpg" class="hpbgimg" />
|
<img src="__PUBLIC__/m_web/images/nas/help/banner.jpg" class="hpbgimg" />
|
||||||
@@ -395,10 +392,10 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<span class="t1">{$banners[2]['name']}</span>
|
<span class="t1">{$banners[2]['name']}</span>
|
||||||
<span class="t2">{$banners[2]['desc']}</span>
|
<span class="t2">{$banners[2]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 3"}
|
{if condition="$banners_size > 3"}
|
||||||
<a href="{$banners[3]['link']}" class="nhlplxwmit nhlplxwmit-w2" target="_blank">
|
<a href="{$banners[3]['link']}" class="nhlplxwmit nhlplxwmit-w2 target="_blank"">
|
||||||
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx4.png" class="lximg" />
|
<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'"}
|
{if condition="!empty($banners[3]['picture']) && $banners[3]['picture'] != '/uploads/nopic.jpg'"}
|
||||||
<img src="{$banners[3]['picture']}" class="lxewmimg">
|
<img src="{$banners[3]['picture']}" class="lxewmimg">
|
||||||
@@ -435,7 +432,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<span class="t1">{$banners[6]['name']}</span>
|
<span class="t1">{$banners[6]['name']}</span>
|
||||||
<span class="t2">{$banners[6]['desc']}</span>
|
<span class="t2">{$banners[6]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -447,32 +444,32 @@
|
|||||||
// 监听输入框内容变化
|
// 监听输入框内容变化
|
||||||
var timeout = null;
|
var timeout = null;
|
||||||
$('#search-input').on('focus input', function() {
|
$('#search-input').on('focus input', function() {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
var _this = this;
|
var _this = this;
|
||||||
timeout = setTimeout(function () {
|
timeout = setTimeout(function () {
|
||||||
var keywords = $(_this).val();
|
var keywords = $(_this).val();
|
||||||
if (keywords == '') {
|
if (keywords == '') {
|
||||||
$('#dropdown').hide().html('');
|
$('#dropdown').hide().html('');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{:url('tops_nas/helper_search')}",
|
url: "{:url('tops_nas/helper_search')}",
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: {keywords: keywords},
|
data: {keywords: keywords},
|
||||||
dataType: 'JSON',
|
dataType: 'JSON',
|
||||||
success: function(r) {
|
success: function(r) {
|
||||||
var html = '';
|
var html = '';
|
||||||
if (r.code == 0) {
|
if (r.code == 0) {
|
||||||
html = '<ul>'
|
html = '<ul>'
|
||||||
$.each(r.data, function(k, v) {
|
$.each(r.data, function(k, v) {
|
||||||
html += '<li><a href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
html += '<li><a href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
||||||
})
|
})
|
||||||
html += '</ul>'
|
html += '</ul>'
|
||||||
}
|
}
|
||||||
$('#dropdown').show().html(html);
|
$('#dropdown').show().html(html);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 300);
|
}, 300);
|
||||||
})
|
})
|
||||||
$(document).on('click', function (e) {
|
$(document).on('click', function (e) {
|
||||||
var target = $(e.target);
|
var target = $(e.target);
|
||||||
|
|||||||
@@ -6,9 +6,6 @@
|
|||||||
<title>帮助中心</title>
|
<title>帮助中心</title>
|
||||||
{include file='include/head-nas' /}
|
{include file='include/head-nas' /}
|
||||||
<style>
|
<style>
|
||||||
[class*=' icon-'] {
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
.narshelpdetailPc {
|
.narshelpdetailPc {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -170,9 +167,6 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
/* .narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{*/
|
/* .narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{*/
|
||||||
/* width: -webkit-fill-available;*/
|
/* width: -webkit-fill-available;*/
|
||||||
/*}*/
|
/*}*/
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<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">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|
||||||
<title>元创官网</title>
|
<title>元创官网</title>
|
||||||
{include file='include/head-nas'/}
|
{include file='include/head-nas'/}
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ class TopsNas extends BaseController
|
|||||||
'id',
|
'id',
|
||||||
'pid',
|
'pid',
|
||||||
'name',
|
'name',
|
||||||
'picture'
|
'picture',
|
||||||
])
|
])
|
||||||
->where('isshow', '=', 1)
|
->where('isshow', '=', 1)
|
||||||
->where('country_code', '=', $this->country_code)
|
->where('country_code', '=', $this->country_code)
|
||||||
@@ -264,7 +264,7 @@ class TopsNas extends BaseController
|
|||||||
|
|
||||||
return $this->fetch();
|
return $this->fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 根据分类获取文章
|
// 根据分类获取文章
|
||||||
private function getArticleByCategory($categorys, $limit = null)
|
private function getArticleByCategory($categorys, $limit = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,9 +11,6 @@
|
|||||||
</style>
|
</style>
|
||||||
{include file='include/head-nas'/}
|
{include file='include/head-nas'/}
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
[class*=' icon-'] {
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
.narsZTPC {
|
.narsZTPC {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@@ -233,8 +230,8 @@
|
|||||||
<span>3.请遵守国家相关法律、法规,勿上传、下载和分享非法数据</span>
|
<span>3.请遵守国家相关法律、法规,勿上传、下载和分享非法数据</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="nztbzyj">
|
<div class="nztbzyj">
|
||||||
<a href="https://alidocs.dingtalk.com/notable/share/form/v013M0Oz5Xz1Xv8qzeE_vQkCkLg_cMm6AQO" target="_blank">意见反馈</a>
|
<a href="https://alidocs.dingtalk.com/notable/share/form/v013M0Oz5Xz1Xv8qzeE_vQkCkLg_cMm6AQO">意见反馈</a>
|
||||||
<a href="https://www.orico.com.cn/index/tops_nas/helper.html" target="_blank">帮助中心</a>
|
<a href="https://www.orico.com.cn/mobile/tops_nas/helper.html">帮助中心</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,11 +4,8 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>元创官网</title>
|
<title>元创官网</title>
|
||||||
{include file='include/head-nas'/}
|
{include file='include/head-nas' /}
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
|
|
||||||
color: #000 !important;
|
|
||||||
}
|
|
||||||
.header {
|
.header {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,7 +148,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
.narsjswdMbPage .narsjswd-mb-list .jswdmb-item .jswdmb-tags .jswdmb-tag {
|
.narsjswdMbPage .narsjswd-mb-list .jswdmb-item .jswdmb-tags .jswdmb-tag {
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
|
|||||||
740
app/mobile/view/tops_nas/helper.phtml
Normal file → Executable file
740
app/mobile/view/tops_nas/helper.phtml
Normal file → Executable file
@@ -1,371 +1,371 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>帮助中心</title>
|
<title>帮助中心</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
{include file='include/head-nas' /}
|
{include file='include/head-nas' /}
|
||||||
<style>
|
<style>
|
||||||
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
|
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
|
||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app {
|
.narshelpCenterPc-app {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search {
|
.narshelpCenterPc-app .nhlpapp-search {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
top: 0;
|
top: 0;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpappshtop {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpappshtop {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpappshtop .closetx {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpappshtop .closetx {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-right: 8%;
|
margin-right: 8%;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv {
|
||||||
margin: 1rem 20px;
|
margin: 1rem 20px;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1px solid #cdcedb;
|
border: 1px solid #cdcedb;
|
||||||
border-radius: 1.5625rem;
|
border-radius: 1.5625rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv input {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv input {
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: none;
|
border: none;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv input::placeholder {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv input::placeholder {
|
||||||
color: #8f9099;
|
color: #8f9099;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv .searchimg {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpapp-shdiv .searchimg {
|
||||||
width: 1.25rem;
|
width: 1.25rem;
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
margin-left: 1%;
|
margin-left: 1%;
|
||||||
margin-right: 5%;
|
margin-right: 5%;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .dropdown {
|
.narshelpCenterPc-app .nhlpapp-search .dropdown {
|
||||||
height: 90vh;
|
height: 90vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 1.25rem;
|
margin: 1.25rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .dropdown li {
|
.narshelpCenterPc-app .nhlpapp-search .dropdown li {
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
width:100%;
|
width:100%;
|
||||||
white-space: nowrap; /* 禁止文本换行 */
|
white-space: nowrap; /* 禁止文本换行 */
|
||||||
overflow: hidden; /* 隐藏超出容器的内容 */
|
overflow: hidden; /* 隐藏超出容器的内容 */
|
||||||
text-overflow: ellipsis; /* 超出部分用省略号表示 */
|
text-overflow: ellipsis; /* 超出部分用省略号表示 */
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .dropdown .search-item {
|
.narshelpCenterPc-app .nhlpapp-search .dropdown .search-item {
|
||||||
color: #202734;
|
color: #202734;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-search .nhlpappline {
|
.narshelpCenterPc-app .nhlpapp-search .nhlpappline {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background: #cdcedb;
|
background: #cdcedb;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .headtop {
|
.narshelpCenterPc-app .headtop {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 1.25rem 0;
|
padding: 1.25rem 0;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .headtop .logoicoimg {
|
.narshelpCenterPc-app .headtop .logoicoimg {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-left: 1.875rem;
|
margin-left: 1.875rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .headtop .ssicoimg {
|
.narshelpCenterPc-app .headtop .ssicoimg {
|
||||||
width: 1.875rem;
|
width: 1.875rem;
|
||||||
height: 1.875rem;
|
height: 1.875rem;
|
||||||
margin-right: 1.875rem;
|
margin-right: 1.875rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpbner {
|
.narshelpCenterPc-app .nhlpbner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 4.75rem;
|
margin-top: 4.75rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-title {
|
.narshelpCenterPc-app .nhlpapp-title {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit {
|
.narshelpCenterPc-app .nhlpappit {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 1.875rem;
|
padding: 1.875rem;
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
color: #202734;
|
color: #202734;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
width: 74%;
|
width: 74%;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlptl {
|
.narshelpCenterPc-app .nhlpappit .nhlptl {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-bottom: 1.25rem;
|
padding-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlptl .bhlpicoimg {
|
.narshelpCenterPc-app .nhlpappit .nhlptl .bhlpicoimg {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list {
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow {
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow .nhlp-point {
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow .nhlp-point {
|
||||||
width: 0.3125rem;
|
width: 0.3125rem;
|
||||||
height: 0.3125rem;
|
height: 0.3125rem;
|
||||||
background: #202734;
|
background: #202734;
|
||||||
border-radius: 0.1875rem;
|
border-radius: 0.1875rem;
|
||||||
margin: 0 0.625rem;
|
margin: 0 0.625rem;
|
||||||
margin-left: 0.25rem;
|
margin-left: 0.25rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow .nhlpsp {
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .txrow .nhlpsp {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
color: #1f2635;
|
color: #1f2635;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .ckgdbt {
|
.narshelpCenterPc-app .nhlpappit .nhlp-tx-list .ckgdbt {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
color: #bfbfc4;
|
color: #bfbfc4;
|
||||||
font-size: 0.9375rem;
|
font-size: 0.9375rem;
|
||||||
border: 0.0625rem solid #bfbfc4;
|
border: 0.0625rem solid #bfbfc4;
|
||||||
padding: 0.4375rem 1.125rem;
|
padding: 0.4375rem 1.125rem;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 1.5rem;
|
border-radius: 1.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row {
|
.narshelpCenterPc-app .nhlpapp-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-bottom: 80px;
|
margin-bottom: 80px;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit {
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit {
|
||||||
width: 48.3%;
|
width: 48.3%;
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0;
|
||||||
background: #f9f9f9;
|
background: #f9f9f9;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 0.75rem ;
|
margin-right: 0.75rem ;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .lximg {
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .lximg {
|
||||||
width: 2.5rem;
|
width: 2.5rem;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .lxewmimg {
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .lxewmimg {
|
||||||
width: 4rem;
|
width: 4rem;
|
||||||
width: 4rem;
|
width: 4rem;
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .t1 {
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .t1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
padding-bottom: 0.375rem;
|
padding-bottom: 0.375rem;
|
||||||
color: #1f2635;
|
color: #1f2635;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .t2 {
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit .t2 {
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
color: #1f2635;
|
color: #1f2635;
|
||||||
}
|
}
|
||||||
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit-w1 {
|
.narshelpCenterPc-app .nhlpapp-row .nhlplxwmit-w1 {
|
||||||
width: 31%;
|
width: 31%;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="narshelpCenterPc-app">
|
<div class="narshelpCenterPc-app">
|
||||||
<div class="headtop">
|
<div class="headtop">
|
||||||
<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>
|
<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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/sousuo.png" class="ssicoimg" />
|
||||||
</div>
|
</div>
|
||||||
<img src="__PUBLIC__/m_web/images/nas/help/nhlpapp-banner.png" class="nhlpbner" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlpapp-banner.png" class="nhlpbner" />
|
||||||
<h1 class="nhlpapp-title">使用教程</h1>
|
<h1 class="nhlpapp-title">使用教程</h1>
|
||||||
{volist name="categorys" id="vo"}
|
{volist name="categorys" id="vo"}
|
||||||
<div class="nhlpappit">
|
<div class="nhlpappit">
|
||||||
<div class="nhlptl">
|
<div class="nhlptl">
|
||||||
<img src="{$vo.picture}" class="bhlpicoimg" />{$vo.name}
|
<img src="{$vo.picture}" class="bhlpicoimg" />{$vo.name}
|
||||||
</div>
|
</div>
|
||||||
<div class="nhlp-tx-list">
|
<div class="nhlp-tx-list">
|
||||||
{volist name="vo.articles" id="va"}
|
{volist name="vo.articles" id="va"}
|
||||||
<a class="txrow" href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}">
|
<a class="txrow" href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}">
|
||||||
<div class="nhlp-point"></div>
|
<div class="nhlp-point"></div>
|
||||||
<span class="nhlpsp">{$va.name}</span>
|
<span class="nhlpsp">{$va.name}</span>
|
||||||
<span class="narhelpgoimg"><img src="__PUBLIC__/m_web/images/nas/help/nhlp-jt.png" /></span>
|
<span class="narhelpgoimg"><img src="__PUBLIC__/m_web/images/nas/help/nhlp-jt.png" /></span>
|
||||||
</a>
|
</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
{if condition="count($vo.articles) >= 3"}
|
{if condition="count($vo.articles) >= 3"}
|
||||||
<a href="{:url('tops_nas/helper_detail', ['cid'=>$vo.id, 'id'=>isset($vo.articles[0])?$vo.articles[0]['id']:0])}">
|
<a href="{:url('tops_nas/helper_detail', ['cid'=>$vo.id, 'id'=>isset($vo.articles[0])?$vo.articles[0]['id']:0])}">
|
||||||
<div class="ckgdbt">查看更多 <img src="__PUBLIC__/m_web/images/nas/help/nhlp-jt.png" /></div>
|
<div class="ckgdbt">查看更多 <img src="__PUBLIC__/m_web/images/nas/help/nhlp-jt.png" /></div>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/volist}
|
{/volist}
|
||||||
<h1 class="nhlpapp-title">联系我们</h1>
|
<h1 class="nhlpapp-title">联系我们</h1>
|
||||||
<div class="nhlpapp-row">
|
<div class="nhlpapp-row">
|
||||||
{if condition="$banners_size > 0"}
|
{if condition="$banners_size > 0"}
|
||||||
<a {if $banners[0]['link']}href="{$banners[0]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx1.png" class="lximg" />
|
||||||
|
|
||||||
<span class="t1">{$banners[0]['name']}</span>
|
<span class="t1">{$banners[0]['name']}</span>
|
||||||
<span class="t2">{$banners[0]['desc']}</span>
|
<span class="t2">{$banners[0]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 1"}
|
{if condition="$banners_size > 1"}
|
||||||
<a {if $banners[1]['link']}href="{$banners[1]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx2.png" class="lximg" />
|
||||||
<span class="t1">{$banners[1]['name']}</span>
|
<span class="t1">{$banners[1]['name']}</span>
|
||||||
<span class="t2">{$banners[1]['desc']}</span>
|
<span class="t2">{$banners[1]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 2"}
|
{if condition="$banners_size > 2"}
|
||||||
<a {if $banners[2]['link']}href="{$banners[2]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx3.png" class="lximg" />
|
||||||
<span class="t1">{$banners[2]['name']}<br />{$banners[2]['desc']}</span>
|
<span class="t1">{$banners[2]['name']}<br />{$banners[2]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 3"}
|
{if condition="$banners_size > 3"}
|
||||||
<a {if $banners[3]['link']}href="{$banners[3]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx4.png" class="lximg" />
|
||||||
<span class="t1">{$banners[3]['name']}<br />{$banners[3]['desc']}</span>
|
<span class="t1">{$banners[3]['name']}<br />{$banners[3]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 4"}
|
{if condition="$banners_size > 4"}
|
||||||
<a {if $banners[4]['link']}href="{$banners[4]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx5.png" class="lximg" />
|
||||||
<span class="t1">{$banners[4]['name']}<br />{$banners[4]['desc']}</span>
|
<span class="t1">{$banners[4]['name']}<br />{$banners[4]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 5"}
|
{if condition="$banners_size > 5"}
|
||||||
<a {if $banners[5]['link']}href="{$banners[5]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx6.png" class="lximg" />
|
||||||
<span class="t1">{$banners[5]['name']}<br />{$banners[5]['desc']}</span>
|
<span class="t1">{$banners[5]['name']}<br />{$banners[5]['desc']}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
{if condition="$banners_size > 6"}
|
{if condition="$banners_size > 6"}
|
||||||
<a {if $banners[6]['link']}href="{$banners[6]['link']}"{/if} 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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/nhlp-lx7.png" class="lximg" />
|
||||||
<span class="t1">{$banners[6]['name']}<br />{$banners[6]['desc']}</span>
|
<span class="t1">{$banners[6]['name']}<br />{$banners[6]['desc']}</span>
|
||||||
<a>
|
<a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<!--搜索-->
|
<!--搜索-->
|
||||||
<div class="nhlpapp-search">
|
<div class="nhlpapp-search">
|
||||||
<div class="nhlpappshtop">
|
<div class="nhlpappshtop">
|
||||||
<div class='nhlpapp-shdiv'>
|
<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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/ssapp.png" class="searchimg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="closetx">取消</span>
|
<span class="closetx">取消</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="nhlpappline"></div>
|
<div class="nhlpappline"></div>
|
||||||
<!-- 下拉搜索框 -->
|
<!-- 下拉搜索框 -->
|
||||||
<div class="dropdown" id="dropdown"></div>
|
<div class="dropdown" id="dropdown"></div>
|
||||||
</div>
|
</div>
|
||||||
{include file="include/bottom1" /}
|
{include file="include/bottom1" /}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.closetx').click(function() {
|
$('.closetx').click(function() {
|
||||||
$('.nhlpapp-search').hide();
|
$('.nhlpapp-search').hide();
|
||||||
});
|
});
|
||||||
$('.ssicoimg').click(function() {
|
$('.ssicoimg').click(function() {
|
||||||
$('.nhlpapp-search').show();
|
$('.nhlpapp-search').show();
|
||||||
});
|
});
|
||||||
|
|
||||||
// 搜索
|
// 搜索
|
||||||
var timeout = null;
|
var timeout = null;
|
||||||
$('#search-input').on('focus input', function() {
|
$('#search-input').on('focus input', function() {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
var _this = this;
|
var _this = this;
|
||||||
timeout = setTimeout(function() {
|
timeout = setTimeout(function() {
|
||||||
var keywords = $(_this).val();
|
var keywords = $(_this).val();
|
||||||
if (keywords == '') {
|
if (keywords == '') {
|
||||||
$('#dropdown').hide().html('');
|
$('#dropdown').hide().html('');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{:url('tops_nas/helper_search')}",
|
url: "{:url('tops_nas/helper_search')}",
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: {keywords: keywords},
|
data: {keywords: keywords},
|
||||||
dataType: 'JSON',
|
dataType: 'JSON',
|
||||||
success: function(r) {
|
success: function(r) {
|
||||||
var html = '';
|
var html = '';
|
||||||
if (r.code == 0) {
|
if (r.code == 0) {
|
||||||
html = '<ul>'
|
html = '<ul>'
|
||||||
$.each(r.data, function(k, v) {
|
$.each(r.data, function(k, v) {
|
||||||
html += '<li><a class="search-item" href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
html += '<li><a class="search-item" href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
||||||
})
|
})
|
||||||
html += '</ul>'
|
html += '</ul>'
|
||||||
}
|
}
|
||||||
$('#dropdown').show().html(html);
|
$('#dropdown').show().html(html);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 300);
|
}, 300);
|
||||||
});
|
});
|
||||||
$('.nhlplxwmit:not(:first)').hover(function() {
|
$('.nhlplxwmit:not(:first)').hover(function() {
|
||||||
$(this).find('.lximg').show();
|
$(this).find('.lximg').show();
|
||||||
}, function() {
|
}, function() {
|
||||||
$(this).find('.lximg').show();
|
$(this).find('.lximg').show();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
610
app/mobile/view/tops_nas/helper_detail.phtml
Normal file → Executable file
610
app/mobile/view/tops_nas/helper_detail.phtml
Normal file → Executable file
@@ -1,306 +1,306 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>帮助中心</title>
|
<title>帮助中心</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
{include file='include/head-nas' /}
|
{include file='include/head-nas' /}
|
||||||
<style>
|
<style>
|
||||||
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
|
.icon-menu-svg,.icon-search-svg,.icon-lag-svg{
|
||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app {
|
.narshelpCenterdetail-app {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .headtop {
|
.narshelpCenterdetail-app .headtop {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 1.25rem 0;
|
padding: 1.25rem 0;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .headtop .logoicoimg {
|
.narshelpCenterdetail-app .headtop .logoicoimg {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-left: 1.875rem;
|
margin-left: 1.875rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .headtop .ssicoimg {
|
.narshelpCenterdetail-app .headtop .ssicoimg {
|
||||||
width: 1.875rem;
|
width: 1.875rem;
|
||||||
height: 1.875rem;
|
height: 1.875rem;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlp-app-content {
|
.narshelpCenterdetail-app .nhlp-app-content {
|
||||||
margin: 1.25rem;
|
margin: 1.25rem;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-top: 9.2vh;
|
margin-top: 9.2vh;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app #rendered-content img {
|
.narshelpCenterdetail-app #rendered-content img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search {
|
.narshelpCenterdetail-app .nhlpapp-search {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
top: 0;
|
top: 0;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpappshtop {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpappshtop {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpappshtop .closetx {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpappshtop .closetx {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin-right: 8%;
|
margin-right: 8%;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv {
|
||||||
margin: 1rem 20px;
|
margin: 1rem 20px;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1px solid #cdcedb;
|
border: 1px solid #cdcedb;
|
||||||
border-radius: 1.5625rem;
|
border-radius: 1.5625rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv input {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv input {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: none;
|
border: none;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv input::placeholder {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv input::placeholder {
|
||||||
color: #8f9099;
|
color: #8f9099;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv .searchimg {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpapp-shdiv .searchimg {
|
||||||
width: 1.25rem;
|
width: 1.25rem;
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
margin-left: 1%;
|
margin-left: 1%;
|
||||||
margin-right: 5%;
|
margin-right: 5%;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .dropdown {
|
.narshelpCenterdetail-app .nhlpapp-search .dropdown {
|
||||||
height: 90vh;
|
height: 90vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 1.25rem;
|
margin: 1.25rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .dropdown li {
|
.narshelpCenterdetail-app .nhlpapp-search .dropdown li {
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
width:100%;
|
width:100%;
|
||||||
white-space: nowrap; /* 禁止文本换行 */
|
white-space: nowrap; /* 禁止文本换行 */
|
||||||
overflow: hidden; /* 隐藏超出容器的内容 */
|
overflow: hidden; /* 隐藏超出容器的内容 */
|
||||||
text-overflow: ellipsis; /* 超出部分用省略号表示 */
|
text-overflow: ellipsis; /* 超出部分用省略号表示 */
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .dropdown .search-item {
|
.narshelpCenterdetail-app .nhlpapp-search .dropdown .search-item {
|
||||||
color: #202734;
|
color: #202734;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-search .nhlpappline {
|
.narshelpCenterdetail-app .nhlpapp-search .nhlpappline {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background: #cdcedb;
|
background: #cdcedb;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate {
|
.narshelpCenterdetail-app .nhlpapp-pagescate {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-top: 8.7vh;
|
margin-top: 8.7vh;
|
||||||
height: 90.3vh;
|
height: 90.3vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: none;
|
display: none;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 0 0.625rem;
|
margin: 0 0.625rem;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .nav-tree {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .nav-tree {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .categoryhelp {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .categoryhelp {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .categoryhelp-title {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .categoryhelp-title {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
color: #1f2635;
|
color: #1f2635;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .arrow {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .arrow {
|
||||||
margin-right: 0.125rem;
|
margin-right: 0.125rem;
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .arrow .nars-jt {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .arrow .nars-jt {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .rotate {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .rotate {
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list {
|
||||||
display: none;
|
display: none;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list li a {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list li a {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
padding-top: 22px;
|
padding-top: 22px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #333;
|
color: #333;
|
||||||
margin-left: 41px;
|
margin-left: 41px;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
color: #8f9099;
|
color: #8f9099;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list li:first a {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list li:first a {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list li a:hover {
|
.narshelpCenterdetail-app .nhlpapp-pagescate .nars-hlpdt-ml .sub-list li a:hover {
|
||||||
color: #1f2635;
|
color: #1f2635;
|
||||||
border-bottom: 1px solid #1f2635;
|
border-bottom: 1px solid #1f2635;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="narshelpCenterdetail-app">
|
<div class="narshelpCenterdetail-app">
|
||||||
<div class="headtop">
|
<div class="headtop">
|
||||||
<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>
|
<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>
|
<div>
|
||||||
<img src="__PUBLIC__/m_web/images/nas/help/fenlei.png" class="ssicoimg" id="flico"/>
|
<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" style="margin-right:32px"/>
|
<img src="__PUBLIC__/m_web/images/nas/help/sousuo.png" class="ssicoimg" id="ssico" style="margin-right:32px"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="rendered-content" class="nhlp-app-content">{$article.content|default=''}</div>
|
<div id="rendered-content" class="nhlp-app-content">{$article.content|default=''}</div>
|
||||||
<!--搜索-->
|
<!--搜索-->
|
||||||
<div class="nhlpapp-search">
|
<div class="nhlpapp-search">
|
||||||
<div class="nhlpappshtop">
|
<div class="nhlpappshtop">
|
||||||
<div class='nhlpapp-shdiv'>
|
<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" />
|
<img src="__PUBLIC__/m_web/images/nas/help/ssapp.png" class="searchimg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="closetx">取消</span>
|
<span class="closetx">取消</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="nhlpappline"></div>
|
<div class="nhlpappline"></div>
|
||||||
<!-- 下拉搜索框 -->
|
<!-- 下拉搜索框 -->
|
||||||
<div class="dropdown" id="dropdown"></div>
|
<div class="dropdown" id="dropdown"></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 分类文章目录 -->
|
<!-- 分类文章目录 -->
|
||||||
<div class="nhlpapp-pagescate" {if condition="!empty($cid)"}style="display:block;"{/if}>
|
<div class="nhlpapp-pagescate" {if condition="!empty($cid)"}style="display:block;"{/if}>
|
||||||
<div class="nars-hlpdt-ml">
|
<div class="nars-hlpdt-ml">
|
||||||
<div class="nav-tree">
|
<div class="nav-tree">
|
||||||
{volist name="categorys" id="vo"}
|
{volist name="categorys" id="vo"}
|
||||||
<div class="categoryhelp">
|
<div class="categoryhelp">
|
||||||
<div class="categoryhelp-title">
|
<div class="categoryhelp-title">
|
||||||
<div class="arrow"><img src="__PUBLIC__/m_web/images/nas/help/nars-jt.png" class="arrow" /></div>
|
<div class="arrow"><img src="__PUBLIC__/m_web/images/nas/help/nars-jt.png" class="arrow" /></div>
|
||||||
<span>{$vo.name}</span>
|
<span>{$vo.name}</span>
|
||||||
</div>
|
</div>
|
||||||
<ul class="sub-list" {if condition="$cid == $vo.id"}style="display:block;"{/if}>
|
<ul class="sub-list" {if condition="$cid == $vo.id"}style="display:block;"{/if}>
|
||||||
{volist name="vo.articles" id="va"}
|
{volist name="vo.articles" id="va"}
|
||||||
<li>
|
<li>
|
||||||
{if condition="$key == 0"}
|
{if condition="$key == 0"}
|
||||||
<a href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}" style="padding-top: 6px;">{$va.name}</a>
|
<a href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}" style="padding-top: 6px;">{$va.name}</a>
|
||||||
{else/}
|
{else/}
|
||||||
<a href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}">{$va.name}</a>
|
<a href="{:url('tops_nas/helper_detail', ['id'=>$va.id])}">{$va.name}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</li>
|
</li>
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{/volist}
|
{/volist}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{include file="include/bottom1" /}
|
{include file="include/bottom1" /}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// 点击顶部分类图标
|
// 点击顶部分类图标
|
||||||
$('#flico').click(function() {
|
$('#flico').click(function() {
|
||||||
$('.nhlpapp-pagescate').toggle();
|
$('.nhlpapp-pagescate').toggle();
|
||||||
// 检查分类菜单是否显示
|
// 检查分类菜单是否显示
|
||||||
if ($('.nhlpapp-pagescate').is(':visible')) {
|
if ($('.nhlpapp-pagescate').is(':visible')) {
|
||||||
// 如果分类菜单显示,则隐藏文章内容
|
// 如果分类菜单显示,则隐藏文章内容
|
||||||
$('#rendered-content').hide();
|
$('#rendered-content').hide();
|
||||||
$('.footer').hide()
|
$('.footer').hide()
|
||||||
} else {
|
} else {
|
||||||
// 如果分类菜单隐藏,则显示文章内容
|
// 如果分类菜单隐藏,则显示文章内容
|
||||||
$('#rendered-content').show();
|
$('#rendered-content').show();
|
||||||
$('.footer').show()
|
$('.footer').show()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 点击分类的交互
|
// 点击分类的交互
|
||||||
$('.categoryhelp-title').click(function() {
|
$('.categoryhelp-title').click(function() {
|
||||||
$(this).next('.sub-list').slideToggle();
|
$(this).next('.sub-list').slideToggle();
|
||||||
$(this).find('.arrow').toggleClass('rotate');
|
$(this).find('.arrow').toggleClass('rotate');
|
||||||
});
|
});
|
||||||
// 点击顶部搜索图标-点击取消关闭
|
// 点击顶部搜索图标-点击取消关闭
|
||||||
$('#ssico').click(function() {
|
$('#ssico').click(function() {
|
||||||
$('.nhlpapp-pagescate').hide();
|
$('.nhlpapp-pagescate').hide();
|
||||||
$('.nhlpapp-search').show();
|
$('.nhlpapp-search').show();
|
||||||
});
|
});
|
||||||
$('.closetx').click(function() {
|
$('.closetx').click(function() {
|
||||||
$('.nhlpapp-search').hide();
|
$('.nhlpapp-search').hide();
|
||||||
});
|
});
|
||||||
// 搜索
|
// 搜索
|
||||||
var timeout = null;
|
var timeout = null;
|
||||||
$('#search-input').on('focus input', function() {
|
$('#search-input').on('focus input', function() {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
var _this = this;
|
var _this = this;
|
||||||
timeout = setTimeout(function() {
|
timeout = setTimeout(function() {
|
||||||
var keywords = $(_this).val();
|
var keywords = $(_this).val();
|
||||||
if (keywords == '') {
|
if (keywords == '') {
|
||||||
$('#dropdown').hide().html('');
|
$('#dropdown').hide().html('');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{:url('tops_nas/helper_search')}",
|
url: "{:url('tops_nas/helper_search')}",
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: {keywords: keywords},
|
data: {keywords: keywords},
|
||||||
dataType: 'JSON',
|
dataType: 'JSON',
|
||||||
success: function(r) {
|
success: function(r) {
|
||||||
var html = '';
|
var html = '';
|
||||||
if (r.code == 0) {
|
if (r.code == 0) {
|
||||||
html = '<ul>'
|
html = '<ul>'
|
||||||
$.each(r.data, function(k, v) {
|
$.each(r.data, function(k, v) {
|
||||||
html += '<li><a class="search-item" href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
html += '<li><a class="search-item" href="{:url(\'tops_nas/helper_detail\')}?id=' + v.id + '">' + v.name + '</a></li>'
|
||||||
})
|
})
|
||||||
html += '</ul>'
|
html += '</ul>'
|
||||||
}
|
}
|
||||||
$('#dropdown').show().html(html);
|
$('#dropdown').show().html(html);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 300);
|
}, 300);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user