12 changed files with 848 additions and 848 deletions
-
BINpublic/themes/dist_static/static/assets/about-1hlZrO-H.mp4
-
BINpublic/themes/dist_static/static/assets/banner-BKfbidi-.mp4
-
BINpublic/themes/dist_static/static/assets/section-2-1-MEsYcAL_.mp4
-
BINpublic/themes/dist_static/static/assets/section-2-2-VFHwnpi3.mp4
-
BINpublic/themes/dist_static/static/assets/section-2-3-D15Ewnv2.mp4
-
BINpublic/themes/dist_static/static/assets/section-2-4-CaD6k-5h.mp4
-
BINpublic/themes/dist_static/static/assets/section-2-5-BYEdx4uK.mp4
-
BINpublic/themes/dist_static/static/assets/section-2-6-DS25huj5.mp4
-
16public/themes/website/1/en/demo/components/empty.html
-
118public/themes/website/1/en/demo/components/footer.html
-
1160public/themes/website/1/en/demo/components/header.html
-
402public/themes/website/1/en/demo/components/mask.html
@ -1,8 +1,8 @@ |
|||||
{php} |
|
||||
if (!isset($empty_text) || $empty_text === '') { |
|
||||
$empty_text = '暂无相关内容'; |
|
||||
} |
|
||||
{/php} |
|
||||
<div class="s-empty" role="status"> |
|
||||
<p class="s-empty__text">{$empty_text}</p> |
|
||||
</div> |
|
||||
|
{php} |
||||
|
if (!isset($empty_text) || $empty_text === '') { |
||||
|
$empty_text = '暂无相关内容'; |
||||
|
} |
||||
|
{/php} |
||||
|
<div class="s-empty" role="status"> |
||||
|
<p class="s-empty__text">{$empty_text}</p> |
||||
|
</div> |
||||
@ -1,60 +1,60 @@ |
|||||
<!-- 模块:底部 --> |
|
||||
<footer class="site-footer section__wrap" id="footer" data-header-dark> |
|
||||
<div class="site-footer__inner"> |
|
||||
<div class="site-footer__main"> |
|
||||
<div class="site-footer__brand"> |
|
||||
<div class="site-footer__logo" aria-label="睿能科技"> |
|
||||
<img src="{hcTaglib:setting name='dark_logo' type='2' /}" alt="RAYNEN 睿能科技" width="252" height="26" /> |
|
||||
</div> |
|
||||
<p class="site-footer__stock">股票代码: 603933</p> |
|
||||
<p class="site-footer__quote" aria-label="股票行情占位"> |
|
||||
<span class="site-footer__quote-price">20.34</span> |
|
||||
<span class="site-footer__quote-unit">元</span> |
|
||||
<span class="site-footer__quote-change">+2.34 +9.99%</span> |
|
||||
</p> |
|
||||
<p class="site-footer__follow">关注我们:</p> |
|
||||
<div class="site-footer__qrs"> |
|
||||
<div class="site-footer__qr"> |
|
||||
<img src="{hcTaglib:setting name='wechat_code' type='2' /}" alt="官方微信" /> |
|
||||
<span>官方微信</span> |
|
||||
</div> |
|
||||
<div class="site-footer__qr"> |
|
||||
<img src="{hcTaglib:setting name='dark_logo' type='2' /}" alt="官方视频号" /> |
|
||||
<span>官方视频号</span> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<nav class="site-footer__cols" aria-label="底部导航"> |
|
||||
{hcTaglib:nav cid="48" max-level="2" item="vo" name="hc_nav" sort="sort asc"} |
|
||||
{php} |
|
||||
$ft_is_product = ((int)($vo['category_id'] ?? 0) === 333); |
|
||||
{/php} |
|
||||
<div class="site-footer__col"> |
|
||||
<div class="site-footer__colTitle">{$vo.title}</div> |
|
||||
<div class="site-footer__links"> |
|
||||
{volist name="$vo.children" id="child"} |
|
||||
{php} |
|
||||
$ft_href = $child['href'] ?? ''; |
|
||||
$ft_child_cid = (int)($child['category_id'] ?? 0); |
|
||||
// 产品列:与头部一致,拼接 cat=product-control-{栏目ID} |
|
||||
if ($ft_is_product && $ft_child_cid > 0 && $ft_href !== '') { |
|
||||
$ft_href .= (strpos($ft_href, '?') !== false ? '&' : '?') . 'cat=product-control-' . $ft_child_cid; |
|
||||
} |
|
||||
{/php} |
|
||||
<a href="{$ft_href}">{$child.title}</a> |
|
||||
{/volist} |
|
||||
</div> |
|
||||
</div> |
|
||||
{/hcTaglib:nav} |
|
||||
</nav> |
|
||||
</div> |
|
||||
<div class="site-footer__bottom"> |
|
||||
<p class="site-footer__copyright">Copyright 2026 {hcTaglib:setting name="company_name" type="1" /} 版权所有 | {hcTaglib:setting name="icp" type="2" /} | <img |
|
||||
class="site-footer__gongan" src="/themes/dist_static/static/images/gongan-DdFBmJbc.png" alt="" /> {hcTaglib:setting name="gwa" type="2" /}</p> |
|
||||
<div class="site-footer__legal"> |
|
||||
<a href="/sitemap.html">网站地图</a> |
|
||||
<a href="/privacy.html">隐私声明</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
|
<!-- 模块:底部 --> |
||||
|
<footer class="site-footer section__wrap" id="footer" data-header-dark> |
||||
|
<div class="site-footer__inner"> |
||||
|
<div class="site-footer__main"> |
||||
|
<div class="site-footer__brand"> |
||||
|
<div class="site-footer__logo" aria-label="睿能科技"> |
||||
|
<img src="{hcTaglib:setting name='dark_logo' type='2' /}" alt="RAYNEN 睿能科技" width="252" height="26" /> |
||||
|
</div> |
||||
|
<p class="site-footer__stock">股票代码: 603933</p> |
||||
|
<p class="site-footer__quote" aria-label="股票行情占位"> |
||||
|
<span class="site-footer__quote-price">20.34</span> |
||||
|
<span class="site-footer__quote-unit">元</span> |
||||
|
<span class="site-footer__quote-change">+2.34 +9.99%</span> |
||||
|
</p> |
||||
|
<p class="site-footer__follow">关注我们:</p> |
||||
|
<div class="site-footer__qrs"> |
||||
|
<div class="site-footer__qr"> |
||||
|
<img src="{hcTaglib:setting name='wechat_code' type='2' /}" alt="官方微信" /> |
||||
|
<span>官方微信</span> |
||||
|
</div> |
||||
|
<div class="site-footer__qr"> |
||||
|
<img src="{hcTaglib:setting name='dark_logo' type='2' /}" alt="官方视频号" /> |
||||
|
<span>官方视频号</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<nav class="site-footer__cols" aria-label="底部导航"> |
||||
|
{hcTaglib:nav cid="48" max-level="2" item="vo" name="hc_nav" sort="sort asc"} |
||||
|
{php} |
||||
|
$ft_is_product = ((int)($vo['category_id'] ?? 0) === 333); |
||||
|
{/php} |
||||
|
<div class="site-footer__col"> |
||||
|
<div class="site-footer__colTitle">{$vo.title}</div> |
||||
|
<div class="site-footer__links"> |
||||
|
{volist name="$vo.children" id="child"} |
||||
|
{php} |
||||
|
$ft_href = $child['href'] ?? ''; |
||||
|
$ft_child_cid = (int)($child['category_id'] ?? 0); |
||||
|
// 产品列:与头部一致,拼接 cat=product-control-{栏目ID} |
||||
|
if ($ft_is_product && $ft_child_cid > 0 && $ft_href !== '') { |
||||
|
$ft_href .= (strpos($ft_href, '?') !== false ? '&' : '?') . 'cat=product-control-' . $ft_child_cid; |
||||
|
} |
||||
|
{/php} |
||||
|
<a href="{$ft_href}">{$child.title}</a> |
||||
|
{/volist} |
||||
|
</div> |
||||
|
</div> |
||||
|
{/hcTaglib:nav} |
||||
|
</nav> |
||||
|
</div> |
||||
|
<div class="site-footer__bottom"> |
||||
|
<p class="site-footer__copyright">Copyright 2026 {hcTaglib:setting name="company_name" type="1" /} 版权所有 | {hcTaglib:setting name="icp" type="2" /} | <img |
||||
|
class="site-footer__gongan" src="/themes/dist_static/static/images/gongan-DdFBmJbc.png" alt="" /> {hcTaglib:setting name="gwa" type="2" /}</p> |
||||
|
<div class="site-footer__legal"> |
||||
|
<a href="/sitemap.html">网站地图</a> |
||||
|
<a href="/privacy.html">隐私声明</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
</footer> |
</footer> |
||||
1160
public/themes/website/1/en/demo/components/header.html
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,202 +1,202 @@ |
|||||
<div class="mask" id="mask"> |
|
||||
<header class="mask-header"> |
|
||||
<a href="/" class="mask-header__logo" aria-label="睿能科技"> |
|
||||
<img src="{hcTaglib:setting name='dark_logo' type='2' /}" alt="RAYNEN 睿能科技" width="252" height="26" /> |
|
||||
</a> |
|
||||
<div class="mask-header__actions"> |
|
||||
<button class="mask-header__icon-btn lang" type="button" aria-label="切换语言"> |
|
||||
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32.000000" height="32.000000" fill="none" customFrame="#000000"> |
|
||||
<path |
|
||||
id="矢量 10" |
|
||||
d="M19.746 28.3C19.392 27.626 19.014 26.646 19.222 26.06C19.2708 25.8903 19.3486 25.7304 19.4519 25.5872C19.5551 25.4441 19.6824 25.3198 19.828 25.22C20.21 24.908 20.734 24.482 21.15 23.402C21.31 22.984 21.416 22.564 21.516 22.16C21.884 20.69 22.016 20.464 23.082 20.586C23.882 20.682 24.378 21.066 24.952 21.512C25.516 21.95 26.158 22.414 27.04 22.566C26.2295 23.9294 25.1741 25.1314 23.927 26.1115C22.6798 27.0915 21.2624 27.8328 19.746 28.298M4.972 22.588C5.902 22.476 6.918 22.152 7.644 21.36C8.446 20.484 8.452 19.34 8.456 18.424C8.462 17.174 8.532 16.83 9.164 16.594C10.028 16.274 10.42 16.58 11.232 17.3C11.708 17.724 12.248 18.204 12.966 18.424C13.812 18.684 14.826 18.564 15.674 18.098C16.52 17.638 17.148 16.856 17.414 15.928L17.42 15.928L17.428 15.898L17.436 15.874C17.446 15.842 17.446 15.814 17.456 15.782C17.518 15.564 17.562 15.344 17.59 15.126C17.604 15.028 17.61 14.94 17.616 14.846C17.622 14.77 17.632 14.694 17.636 14.62C17.6617 14.1266 17.6524 13.632 17.608 13.14C17.5897 12.9224 17.5777 12.7043 17.572 12.486C17.5671 12.2843 17.6176 12.085 17.718 11.91C17.894 11.826 18.362 11.742 18.684 11.686C19.578 11.528 20.672 11.328 21.332 10.552L21.342 10.546L21.34 10.546C21.38 10.498 21.422 10.458 21.458 10.406C22.574 8.834 22.506 7.208 21.282 6.164C21.1849 6.08469 21.0841 6.00994 20.98 5.94C20.26 5.44 19.952 5.086 20.162 4.436C20.224 4.24 20.292 4.07 20.358 3.916C22.8457 4.81129 24.9968 6.45204 26.5179 8.61455C28.039 10.7771 28.8562 13.3561 28.858 16C28.858 17.548 28.568 19.026 28.068 20.4C27.9135 20.4466 27.7547 20.4774 27.594 20.492C27.154 20.492 26.834 20.262 26.266 19.818C25.578 19.284 24.722 18.622 23.332 18.458C20.336 18.102 19.77 20.318 19.438 21.638C19.354 21.976 19.272 22.318 19.148 22.634C18.938 23.182 18.764 23.324 18.474 23.56C18.098 23.868 17.582 24.288 17.206 25.34C16.786 26.506 17.168 27.812 17.586 28.748C17.066 28.814 16.538 28.858 16 28.858C13.7766 28.857 11.5915 28.2786 9.65872 27.1796C7.72594 26.0805 6.11169 24.4983 4.974 22.588M15.998 3.142C16.778 3.142 17.536 3.222 18.276 3.356C18.2199 3.49487 18.1685 3.63562 18.122 3.778C17.388 6.052 19.172 7.292 19.756 7.698L19.89 7.792C20.02 7.904 20.352 8.202 19.77 9.076C19.562 9.254 19.35 9.286 18.83 9.31C18.134 9.344 17.084 9.394 16.152 10.43L16.148 10.436L16.146 10.438L16.134 10.448C16.114 10.47 16.102 10.494 16.084 10.516C15.59 11.096 15.45 11.73 15.434 12.352C15.4195 12.7589 15.4289 13.1662 15.462 13.572C15.488 14.002 15.512 14.414 15.476 14.78C15.4534 14.9575 15.4186 15.1332 15.372 15.306C15.3192 15.4999 15.2272 15.6809 15.1016 15.8377C14.9761 15.9946 14.8196 16.124 14.642 16.218C14.302 16.406 13.888 16.468 13.598 16.378C13.324 16.292 12.998 16.004 12.652 15.698C11.804 14.944 10.52 13.804 8.416 14.586C6.328 15.366 6.32 17.198 6.314 18.412C6.31 19.048 6.306 19.648 6.064 19.912C5.616 20.402 4.698 20.506 3.964 20.488C3.42378 19.0533 3.14602 17.5331 3.144 16C3.144 13.7432 3.738 11.5261 4.86631 9.57158C5.99462 7.61705 7.61749 5.99393 9.57184 4.86531C11.5262 3.7367 13.7432 3.14235 16 3.142M16 1C7.728 1 1 7.728 1 16C1 24.272 7.728 31 16 31C24.272 31 31 24.272 31 16C31 7.728 24.272 1 16 1Z" |
|
||||
fill="currentColor" |
|
||||
fill-rule="nonzero" |
|
||||
/> |
|
||||
<path |
|
||||
id="矢量 10" |
|
||||
d="M16 0C24.8235 0 32 7.17653 32 16C32 24.8235 24.8235 32 16 32C7.17653 32 0 24.8235 0 16C0 7.17653 7.17653 0 16 0ZM1 16C1 7.728 7.728 1 16 1C24.272 1 31 7.728 31 16C31 24.272 24.272 31 16 31C7.728 31 1 24.272 1 16Z" |
|
||||
fill="currentColor" |
|
||||
fill-rule="evenodd" |
|
||||
/> |
|
||||
</svg> |
|
||||
</button> |
|
||||
<a href="/search.html" class="mask-header__icon-btn search" aria-label="搜索"> |
|
||||
<svg viewBox="0 0 32.9434 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32.943359" height="32.000000" fill="none" customFrame="#000000"> |
|
||||
<path |
|
||||
id="矢量 3" |
|
||||
d="M22.7394 24.9684C20.3451 26.8783 17.3108 28.0198 14.0099 28.0198C6.27256 28.0198 0 21.7474 0 14.0099C0 6.27246 6.27256 0 14.0099 0C21.7473 0 28.0198 6.27246 28.0198 14.0099C28.0198 16.9923 27.088 19.757 25.4995 22.0287L32.944 28.9999L29.7711 32L22.7394 24.9684ZM23.8675 14.0099C23.8675 8.01334 20.0063 4.15222 14.0099 4.15222C8.01354 4.15222 4.15232 8.01334 4.15232 14.0099C4.15232 20.0065 8.01354 23.8676 14.0099 23.8676C20.0063 23.8676 23.8675 20.0065 23.8675 14.0099Z" |
|
||||
fill="currentColor" |
|
||||
fill-rule="evenodd" |
|
||||
/> |
|
||||
</svg> |
|
||||
</a> |
|
||||
<button class="mask-header__icon-btn mask-header__icon-btn--close close" type="button" aria-expanded="false" aria-controls="mask" aria-label="关闭导航菜单"> |
|
||||
<svg class="nav-toggle-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"> |
|
||||
<rect class="nav-toggle-icon__bar nav-toggle-icon__bar--top" x="4" y="6" width="16" height="2" rx="1" /> |
|
||||
<rect class="nav-toggle-icon__bar nav-toggle-icon__bar--mid" x="4" y="11" width="16" height="2" rx="1" /> |
|
||||
<rect class="nav-toggle-icon__bar nav-toggle-icon__bar--bot" x="4" y="16" width="16" height="2" rx="1" /> |
|
||||
</svg> |
|
||||
</button> |
|
||||
</div> |
|
||||
</header> |
|
||||
<div class="mask-content"> |
|
||||
<nav class="mask-nav" aria-label="移动导航"> |
|
||||
<ul class="mask-nav__list"> |
|
||||
{hcTaglib:nav cid="47" max-level="2" item="vo" name="hc_mask_nav" sort="sort asc"} |
|
||||
{php} |
|
||||
$mask_title = $vo['title'] ?? ''; |
|
||||
$mask_href = $vo['href'] ?? ''; |
|
||||
$mask_cid = (int)($vo['category_id'] ?? 0); |
|
||||
$mask_children = $vo['children'] ?? []; |
|
||||
$mask_is_solution = ($mask_cid === 345); |
|
||||
{/php} |
|
||||
{if $mask_is_solution} |
|
||||
<!-- 解决方案:一级可继续展开二级(栏目树) --> |
|
||||
<li class="mask-nav__item mask-nav__item--expandable" data-expanded="false"> |
|
||||
<button class="mask-nav__link mask-nav__toggle" type="button" aria-expanded="false"> |
|
||||
<span>{$mask_title}</span> |
|
||||
<svg |
|
||||
class="mask-nav__icon" |
|
||||
viewBox="0 0 24 24" |
|
||||
xmlns="http://www.w3.org/2000/svg" |
|
||||
fill="none" |
|
||||
stroke="currentColor" |
|
||||
stroke-width="2" |
|
||||
stroke-linecap="round" |
|
||||
stroke-linejoin="round" |
|
||||
aria-hidden="true" |
|
||||
> |
|
||||
<path d="M12 5v14" /> |
|
||||
<path d="M5 12h14" /> |
|
||||
</svg> |
|
||||
</button> |
|
||||
<div class="mask-nav__sublist-wrapper"> |
|
||||
<ul class="mask-nav__sublist"> |
|
||||
{hcTaglib:allSubCategory pid="345" item="sol" sort=""} |
|
||||
{php} |
|
||||
$sol_children = $sol['children'] ?? []; |
|
||||
$sol_has_children = !empty($sol_children); |
|
||||
$sol_href = $sol['alias'] ?? ''; |
|
||||
{/php} |
|
||||
{if $sol_has_children} |
|
||||
<li class="mask-nav__subitem mask-nav__subitem--expandable" data-expanded="false"> |
|
||||
<button class="mask-nav__sublink mask-nav__toggle" type="button" aria-expanded="false"> |
|
||||
<span>{$sol.title}</span> |
|
||||
<svg |
|
||||
class="mask-nav__icon" |
|
||||
viewBox="0 0 24 24" |
|
||||
xmlns="http://www.w3.org/2000/svg" |
|
||||
fill="none" |
|
||||
stroke="currentColor" |
|
||||
stroke-width="2" |
|
||||
stroke-linecap="round" |
|
||||
stroke-linejoin="round" |
|
||||
aria-hidden="true" |
|
||||
> |
|
||||
<path d="M12 5v14" /> |
|
||||
<path d="M5 12h14" /> |
|
||||
</svg> |
|
||||
</button> |
|
||||
<div class="mask-nav__sublist-wrapper"> |
|
||||
<ul class="mask-nav__sublist mask-nav__sublist--l2"> |
|
||||
{volist name="sol_children" id="sol2"} |
|
||||
<li class="mask-nav__subitem"> |
|
||||
<a href="{$sol2.alias}" class="mask-nav__sublink"> |
|
||||
<span>{$sol2.title}</span> |
|
||||
<svg |
|
||||
class="mask-nav__arrow" |
|
||||
viewBox="0 0 24 24" |
|
||||
xmlns="http://www.w3.org/2000/svg" |
|
||||
fill="none" |
|
||||
stroke="currentColor" |
|
||||
stroke-width="2" |
|
||||
stroke-linecap="round" |
|
||||
stroke-linejoin="round" |
|
||||
aria-hidden="true" |
|
||||
> |
|
||||
<path d="m9 18 6-6-6-6" /> |
|
||||
</svg> |
|
||||
</a> |
|
||||
</li> |
|
||||
{/volist} |
|
||||
</ul> |
|
||||
</div> |
|
||||
</li> |
|
||||
{else /} |
|
||||
<li class="mask-nav__subitem"> |
|
||||
<a href="{$sol_href}" class="mask-nav__sublink"> |
|
||||
<span>{$sol.title}</span> |
|
||||
<svg |
|
||||
class="mask-nav__arrow" |
|
||||
viewBox="0 0 24 24" |
|
||||
xmlns="http://www.w3.org/2000/svg" |
|
||||
fill="none" |
|
||||
stroke="currentColor" |
|
||||
stroke-width="2" |
|
||||
stroke-linecap="round" |
|
||||
stroke-linejoin="round" |
|
||||
aria-hidden="true" |
|
||||
> |
|
||||
<path d="m9 18 6-6-6-6" /> |
|
||||
</svg> |
|
||||
</a> |
|
||||
</li> |
|
||||
{/if} |
|
||||
{/hcTaglib:allSubCategory} |
|
||||
</ul> |
|
||||
</div> |
|
||||
</li> |
|
||||
{elseif condition="!empty($mask_children)" /} |
|
||||
<li class="mask-nav__item mask-nav__item--expandable" data-expanded="false"> |
|
||||
<button class="mask-nav__link mask-nav__toggle" type="button" aria-expanded="false"> |
|
||||
<span>{$mask_title}</span> |
|
||||
<svg |
|
||||
class="mask-nav__icon" |
|
||||
viewBox="0 0 24 24" |
|
||||
xmlns="http://www.w3.org/2000/svg" |
|
||||
fill="none" |
|
||||
stroke="currentColor" |
|
||||
stroke-width="2" |
|
||||
stroke-linecap="round" |
|
||||
stroke-linejoin="round" |
|
||||
aria-hidden="true" |
|
||||
> |
|
||||
<path d="M12 5v14" /> |
|
||||
<path d="M5 12h14" /> |
|
||||
</svg> |
|
||||
</button> |
|
||||
<div class="mask-nav__sublist-wrapper"> |
|
||||
<ul class="mask-nav__sublist"> |
|
||||
{volist name="mask_children" id="child"} |
|
||||
<li class="mask-nav__subitem"> |
|
||||
<a href="{$child.href ?? ''}" class="mask-nav__sublink"> |
|
||||
<span>{$child.title}</span> |
|
||||
<svg |
|
||||
class="mask-nav__arrow" |
|
||||
viewBox="0 0 24 24" |
|
||||
xmlns="http://www.w3.org/2000/svg" |
|
||||
fill="none" |
|
||||
stroke="currentColor" |
|
||||
stroke-width="2" |
|
||||
stroke-linecap="round" |
|
||||
stroke-linejoin="round" |
|
||||
aria-hidden="true" |
|
||||
> |
|
||||
<path d="m9 18 6-6-6-6" /> |
|
||||
</svg> |
|
||||
</a> |
|
||||
</li> |
|
||||
{/volist} |
|
||||
</ul> |
|
||||
</div> |
|
||||
</li> |
|
||||
{else /} |
|
||||
<li class="mask-nav__item"> |
|
||||
<a href="{$mask_href}" class="mask-nav__link">{$mask_title}</a> |
|
||||
</li> |
|
||||
{/if} |
|
||||
{/hcTaglib:nav} |
|
||||
</ul> |
|
||||
</nav> |
|
||||
</div> |
|
||||
|
<div class="mask" id="mask"> |
||||
|
<header class="mask-header"> |
||||
|
<a href="/" class="mask-header__logo" aria-label="睿能科技"> |
||||
|
<img src="{hcTaglib:setting name='dark_logo' type='2' /}" alt="RAYNEN 睿能科技" width="252" height="26" /> |
||||
|
</a> |
||||
|
<div class="mask-header__actions"> |
||||
|
<button class="mask-header__icon-btn lang" type="button" aria-label="切换语言"> |
||||
|
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32.000000" height="32.000000" fill="none" customFrame="#000000"> |
||||
|
<path |
||||
|
id="矢量 10" |
||||
|
d="M19.746 28.3C19.392 27.626 19.014 26.646 19.222 26.06C19.2708 25.8903 19.3486 25.7304 19.4519 25.5872C19.5551 25.4441 19.6824 25.3198 19.828 25.22C20.21 24.908 20.734 24.482 21.15 23.402C21.31 22.984 21.416 22.564 21.516 22.16C21.884 20.69 22.016 20.464 23.082 20.586C23.882 20.682 24.378 21.066 24.952 21.512C25.516 21.95 26.158 22.414 27.04 22.566C26.2295 23.9294 25.1741 25.1314 23.927 26.1115C22.6798 27.0915 21.2624 27.8328 19.746 28.298M4.972 22.588C5.902 22.476 6.918 22.152 7.644 21.36C8.446 20.484 8.452 19.34 8.456 18.424C8.462 17.174 8.532 16.83 9.164 16.594C10.028 16.274 10.42 16.58 11.232 17.3C11.708 17.724 12.248 18.204 12.966 18.424C13.812 18.684 14.826 18.564 15.674 18.098C16.52 17.638 17.148 16.856 17.414 15.928L17.42 15.928L17.428 15.898L17.436 15.874C17.446 15.842 17.446 15.814 17.456 15.782C17.518 15.564 17.562 15.344 17.59 15.126C17.604 15.028 17.61 14.94 17.616 14.846C17.622 14.77 17.632 14.694 17.636 14.62C17.6617 14.1266 17.6524 13.632 17.608 13.14C17.5897 12.9224 17.5777 12.7043 17.572 12.486C17.5671 12.2843 17.6176 12.085 17.718 11.91C17.894 11.826 18.362 11.742 18.684 11.686C19.578 11.528 20.672 11.328 21.332 10.552L21.342 10.546L21.34 10.546C21.38 10.498 21.422 10.458 21.458 10.406C22.574 8.834 22.506 7.208 21.282 6.164C21.1849 6.08469 21.0841 6.00994 20.98 5.94C20.26 5.44 19.952 5.086 20.162 4.436C20.224 4.24 20.292 4.07 20.358 3.916C22.8457 4.81129 24.9968 6.45204 26.5179 8.61455C28.039 10.7771 28.8562 13.3561 28.858 16C28.858 17.548 28.568 19.026 28.068 20.4C27.9135 20.4466 27.7547 20.4774 27.594 20.492C27.154 20.492 26.834 20.262 26.266 19.818C25.578 19.284 24.722 18.622 23.332 18.458C20.336 18.102 19.77 20.318 19.438 21.638C19.354 21.976 19.272 22.318 19.148 22.634C18.938 23.182 18.764 23.324 18.474 23.56C18.098 23.868 17.582 24.288 17.206 25.34C16.786 26.506 17.168 27.812 17.586 28.748C17.066 28.814 16.538 28.858 16 28.858C13.7766 28.857 11.5915 28.2786 9.65872 27.1796C7.72594 26.0805 6.11169 24.4983 4.974 22.588M15.998 3.142C16.778 3.142 17.536 3.222 18.276 3.356C18.2199 3.49487 18.1685 3.63562 18.122 3.778C17.388 6.052 19.172 7.292 19.756 7.698L19.89 7.792C20.02 7.904 20.352 8.202 19.77 9.076C19.562 9.254 19.35 9.286 18.83 9.31C18.134 9.344 17.084 9.394 16.152 10.43L16.148 10.436L16.146 10.438L16.134 10.448C16.114 10.47 16.102 10.494 16.084 10.516C15.59 11.096 15.45 11.73 15.434 12.352C15.4195 12.7589 15.4289 13.1662 15.462 13.572C15.488 14.002 15.512 14.414 15.476 14.78C15.4534 14.9575 15.4186 15.1332 15.372 15.306C15.3192 15.4999 15.2272 15.6809 15.1016 15.8377C14.9761 15.9946 14.8196 16.124 14.642 16.218C14.302 16.406 13.888 16.468 13.598 16.378C13.324 16.292 12.998 16.004 12.652 15.698C11.804 14.944 10.52 13.804 8.416 14.586C6.328 15.366 6.32 17.198 6.314 18.412C6.31 19.048 6.306 19.648 6.064 19.912C5.616 20.402 4.698 20.506 3.964 20.488C3.42378 19.0533 3.14602 17.5331 3.144 16C3.144 13.7432 3.738 11.5261 4.86631 9.57158C5.99462 7.61705 7.61749 5.99393 9.57184 4.86531C11.5262 3.7367 13.7432 3.14235 16 3.142M16 1C7.728 1 1 7.728 1 16C1 24.272 7.728 31 16 31C24.272 31 31 24.272 31 16C31 7.728 24.272 1 16 1Z" |
||||
|
fill="currentColor" |
||||
|
fill-rule="nonzero" |
||||
|
/> |
||||
|
<path |
||||
|
id="矢量 10" |
||||
|
d="M16 0C24.8235 0 32 7.17653 32 16C32 24.8235 24.8235 32 16 32C7.17653 32 0 24.8235 0 16C0 7.17653 7.17653 0 16 0ZM1 16C1 7.728 7.728 1 16 1C24.272 1 31 7.728 31 16C31 24.272 24.272 31 16 31C7.728 31 1 24.272 1 16Z" |
||||
|
fill="currentColor" |
||||
|
fill-rule="evenodd" |
||||
|
/> |
||||
|
</svg> |
||||
|
</button> |
||||
|
<a href="/search.html" class="mask-header__icon-btn search" aria-label="搜索"> |
||||
|
<svg viewBox="0 0 32.9434 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32.943359" height="32.000000" fill="none" customFrame="#000000"> |
||||
|
<path |
||||
|
id="矢量 3" |
||||
|
d="M22.7394 24.9684C20.3451 26.8783 17.3108 28.0198 14.0099 28.0198C6.27256 28.0198 0 21.7474 0 14.0099C0 6.27246 6.27256 0 14.0099 0C21.7473 0 28.0198 6.27246 28.0198 14.0099C28.0198 16.9923 27.088 19.757 25.4995 22.0287L32.944 28.9999L29.7711 32L22.7394 24.9684ZM23.8675 14.0099C23.8675 8.01334 20.0063 4.15222 14.0099 4.15222C8.01354 4.15222 4.15232 8.01334 4.15232 14.0099C4.15232 20.0065 8.01354 23.8676 14.0099 23.8676C20.0063 23.8676 23.8675 20.0065 23.8675 14.0099Z" |
||||
|
fill="currentColor" |
||||
|
fill-rule="evenodd" |
||||
|
/> |
||||
|
</svg> |
||||
|
</a> |
||||
|
<button class="mask-header__icon-btn mask-header__icon-btn--close close" type="button" aria-expanded="false" aria-controls="mask" aria-label="关闭导航菜单"> |
||||
|
<svg class="nav-toggle-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"> |
||||
|
<rect class="nav-toggle-icon__bar nav-toggle-icon__bar--top" x="4" y="6" width="16" height="2" rx="1" /> |
||||
|
<rect class="nav-toggle-icon__bar nav-toggle-icon__bar--mid" x="4" y="11" width="16" height="2" rx="1" /> |
||||
|
<rect class="nav-toggle-icon__bar nav-toggle-icon__bar--bot" x="4" y="16" width="16" height="2" rx="1" /> |
||||
|
</svg> |
||||
|
</button> |
||||
|
</div> |
||||
|
</header> |
||||
|
<div class="mask-content"> |
||||
|
<nav class="mask-nav" aria-label="移动导航"> |
||||
|
<ul class="mask-nav__list"> |
||||
|
{hcTaglib:nav cid="47" max-level="2" item="vo" name="hc_mask_nav" sort="sort asc"} |
||||
|
{php} |
||||
|
$mask_title = $vo['title'] ?? ''; |
||||
|
$mask_href = $vo['href'] ?? ''; |
||||
|
$mask_cid = (int)($vo['category_id'] ?? 0); |
||||
|
$mask_children = $vo['children'] ?? []; |
||||
|
$mask_is_solution = ($mask_cid === 345); |
||||
|
{/php} |
||||
|
{if $mask_is_solution} |
||||
|
<!-- 解决方案:一级可继续展开二级(栏目树) --> |
||||
|
<li class="mask-nav__item mask-nav__item--expandable" data-expanded="false"> |
||||
|
<button class="mask-nav__link mask-nav__toggle" type="button" aria-expanded="false"> |
||||
|
<span>{$mask_title}</span> |
||||
|
<svg |
||||
|
class="mask-nav__icon" |
||||
|
viewBox="0 0 24 24" |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
fill="none" |
||||
|
stroke="currentColor" |
||||
|
stroke-width="2" |
||||
|
stroke-linecap="round" |
||||
|
stroke-linejoin="round" |
||||
|
aria-hidden="true" |
||||
|
> |
||||
|
<path d="M12 5v14" /> |
||||
|
<path d="M5 12h14" /> |
||||
|
</svg> |
||||
|
</button> |
||||
|
<div class="mask-nav__sublist-wrapper"> |
||||
|
<ul class="mask-nav__sublist"> |
||||
|
{hcTaglib:allSubCategory pid="345" item="sol" sort=""} |
||||
|
{php} |
||||
|
$sol_children = $sol['children'] ?? []; |
||||
|
$sol_has_children = !empty($sol_children); |
||||
|
$sol_href = $sol['alias'] ?? ''; |
||||
|
{/php} |
||||
|
{if $sol_has_children} |
||||
|
<li class="mask-nav__subitem mask-nav__subitem--expandable" data-expanded="false"> |
||||
|
<button class="mask-nav__sublink mask-nav__toggle" type="button" aria-expanded="false"> |
||||
|
<span>{$sol.title}</span> |
||||
|
<svg |
||||
|
class="mask-nav__icon" |
||||
|
viewBox="0 0 24 24" |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
fill="none" |
||||
|
stroke="currentColor" |
||||
|
stroke-width="2" |
||||
|
stroke-linecap="round" |
||||
|
stroke-linejoin="round" |
||||
|
aria-hidden="true" |
||||
|
> |
||||
|
<path d="M12 5v14" /> |
||||
|
<path d="M5 12h14" /> |
||||
|
</svg> |
||||
|
</button> |
||||
|
<div class="mask-nav__sublist-wrapper"> |
||||
|
<ul class="mask-nav__sublist mask-nav__sublist--l2"> |
||||
|
{volist name="sol_children" id="sol2"} |
||||
|
<li class="mask-nav__subitem"> |
||||
|
<a href="{$sol2.alias}" class="mask-nav__sublink"> |
||||
|
<span>{$sol2.title}</span> |
||||
|
<svg |
||||
|
class="mask-nav__arrow" |
||||
|
viewBox="0 0 24 24" |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
fill="none" |
||||
|
stroke="currentColor" |
||||
|
stroke-width="2" |
||||
|
stroke-linecap="round" |
||||
|
stroke-linejoin="round" |
||||
|
aria-hidden="true" |
||||
|
> |
||||
|
<path d="m9 18 6-6-6-6" /> |
||||
|
</svg> |
||||
|
</a> |
||||
|
</li> |
||||
|
{/volist} |
||||
|
</ul> |
||||
|
</div> |
||||
|
</li> |
||||
|
{else /} |
||||
|
<li class="mask-nav__subitem"> |
||||
|
<a href="{$sol_href}" class="mask-nav__sublink"> |
||||
|
<span>{$sol.title}</span> |
||||
|
<svg |
||||
|
class="mask-nav__arrow" |
||||
|
viewBox="0 0 24 24" |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
fill="none" |
||||
|
stroke="currentColor" |
||||
|
stroke-width="2" |
||||
|
stroke-linecap="round" |
||||
|
stroke-linejoin="round" |
||||
|
aria-hidden="true" |
||||
|
> |
||||
|
<path d="m9 18 6-6-6-6" /> |
||||
|
</svg> |
||||
|
</a> |
||||
|
</li> |
||||
|
{/if} |
||||
|
{/hcTaglib:allSubCategory} |
||||
|
</ul> |
||||
|
</div> |
||||
|
</li> |
||||
|
{elseif condition="!empty($mask_children)" /} |
||||
|
<li class="mask-nav__item mask-nav__item--expandable" data-expanded="false"> |
||||
|
<button class="mask-nav__link mask-nav__toggle" type="button" aria-expanded="false"> |
||||
|
<span>{$mask_title}</span> |
||||
|
<svg |
||||
|
class="mask-nav__icon" |
||||
|
viewBox="0 0 24 24" |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
fill="none" |
||||
|
stroke="currentColor" |
||||
|
stroke-width="2" |
||||
|
stroke-linecap="round" |
||||
|
stroke-linejoin="round" |
||||
|
aria-hidden="true" |
||||
|
> |
||||
|
<path d="M12 5v14" /> |
||||
|
<path d="M5 12h14" /> |
||||
|
</svg> |
||||
|
</button> |
||||
|
<div class="mask-nav__sublist-wrapper"> |
||||
|
<ul class="mask-nav__sublist"> |
||||
|
{volist name="mask_children" id="child"} |
||||
|
<li class="mask-nav__subitem"> |
||||
|
<a href="{$child.href ?? ''}" class="mask-nav__sublink"> |
||||
|
<span>{$child.title}</span> |
||||
|
<svg |
||||
|
class="mask-nav__arrow" |
||||
|
viewBox="0 0 24 24" |
||||
|
xmlns="http://www.w3.org/2000/svg" |
||||
|
fill="none" |
||||
|
stroke="currentColor" |
||||
|
stroke-width="2" |
||||
|
stroke-linecap="round" |
||||
|
stroke-linejoin="round" |
||||
|
aria-hidden="true" |
||||
|
> |
||||
|
<path d="m9 18 6-6-6-6" /> |
||||
|
</svg> |
||||
|
</a> |
||||
|
</li> |
||||
|
{/volist} |
||||
|
</ul> |
||||
|
</div> |
||||
|
</li> |
||||
|
{else /} |
||||
|
<li class="mask-nav__item"> |
||||
|
<a href="{$mask_href}" class="mask-nav__link">{$mask_title}</a> |
||||
|
</li> |
||||
|
{/if} |
||||
|
{/hcTaglib:nav} |
||||
|
</ul> |
||||
|
</nav> |
||||
|
</div> |
||||
</div> |
</div> |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue