Merge branch 'dev'

This commit is contained in:
2025-04-11 11:45:56 +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') $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('erp_code', '=', $record['erp_code'])
->where('country_code', '=', $record['country_code']) ->where('country_code', '=', $record['country_code'])
->find(); ->find();

View File

@@ -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/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> </div>
</div> </div>

View File

@@ -6,6 +6,9 @@
<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;
@@ -316,9 +319,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" />
@@ -392,10 +395,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">
@@ -432,7 +435,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>
@@ -444,32 +447,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);

View File

@@ -6,6 +6,9 @@
<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;
@@ -167,6 +170,9 @@
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;*/
/*}*/ /*}*/

View File

@@ -4,7 +4,6 @@
<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>

View File

@@ -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,6 @@ class TopsNas extends BaseController
return $this->fetch(); return $this->fetch();
} }
// 根据分类获取文章 // 根据分类获取文章
private function getArticleByCategory($categorys, $limit = null) private function getArticleByCategory($categorys, $limit = null)
{ {

View File

@@ -11,6 +11,9 @@
</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;

View File

@@ -4,8 +4,11 @@
<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;
} }

View File

@@ -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;