Compare commits

...

5 Commits

Author SHA1 Message Date
ba4a2211c6 Merge branch 'dev' 2025-04-11 11:45:56 +08:00
92fc444cd8 fix: 修复tco分类同步bug 2025-04-11 11:36:34 +08:00
1a221945a3 nas帮助中心 2025-02-17 15:49:17 +08:00
627c0adbff refactor: 修改nas移动端帮助中心 2025-02-05 15:57:45 +08:00
7d0ed22520 refactor: 修改页面在新窗口打开 2025-01-24 11:18:16 +08:00
9 changed files with 51 additions and 38 deletions

View File

@@ -54,7 +54,7 @@ class ReceiveSync extends Base
}
$mp = $query->name('product_tco_category')
->field(['id', 'category_id', 'sync_time'])
->field(['id', 'tco_id', 'category_id', 'sync_time'])
->where('erp_code', '=', $record['erp_code'])
->where('country_code', '=', $record['country_code'])
->find();

View File

@@ -226,7 +226,7 @@
</div>
<div class="nztbzyj">
<a href="https://alidocs.dingtalk.com/notable/share/form/v013M0Oz5Xz1Xv8qzeE_vQkCkLg_cMm6AQO" target="_blank">意见反馈</a>
<a href="https://www.orico.com.cn/mobile/tops_nas/helper.html" 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" />
@@ -392,10 +395,10 @@
{/if}
<span class="t1">{$banners[2]['name']}</span>
<span class="t2">{$banners[2]['desc']}</span>
</a>
</a>
{/if}
{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" />
{if condition="!empty($banners[3]['picture']) && $banners[3]['picture'] != '/uploads/nopic.jpg'"}
<img src="{$banners[3]['picture']}" class="lxewmimg">
@@ -432,7 +435,7 @@
{/if}
<span class="t1">{$banners[6]['name']}</span>
<span class="t2">{$banners[6]['desc']}</span>
</a>
</a>
{/if}
</div>
</div>
@@ -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

@@ -147,7 +147,7 @@ class TopsNas extends BaseController
'id',
'pid',
'name',
'picture',
'picture'
])
->where('isshow', '=', 1)
->where('country_code', '=', $this->country_code)
@@ -264,7 +264,6 @@ class TopsNas extends BaseController
return $this->fetch();
}
// 根据分类获取文章
private function getArticleByCategory($categorys, $limit = null)
{

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;

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

@@ -148,7 +148,7 @@
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: wrap;
flex-wrap: wrap;
}
.narsjswdMbPage .narsjswd-mb-list .jswdmb-item .jswdmb-tags .jswdmb-tag {
font-size: 0.75rem;