zzwy2/view/public/about_second.html

33 lines
1.4 KiB
HTML
Raw Normal View History

2022-10-12 09:53:40 +00:00
<div class="pull-banner w100 wap-show"><img src="{$categoryPath[0]['src_mobile'] ?: ''}" alt="{$categoryPath[0]['title'] ?? ''}"></div>
2022-10-11 02:23:21 +00:00
<!-- 当前位置&二级导航 -->
<div class="position-nav-bg pull-margin bg-col-f5">
<div class="position-sub-nav w1360 flex">
<!-- 当前位置 -->
<div class="position flex pc-show">
<div class="img"><img src="__STATIC__/web/images/icon/icon-position.png" alt="当前位置"></span></div>
2022-10-11 10:20:04 +00:00
<div class="txt color-blue flex">
<a href="/">首页</a>
{foreach $categoryPath as $path}
{if !empty($path['url'])}
<a href="{$path['url']}">{$path['title'] ?? ''}</a>
{else /}
<a href="{$path['route'] ?? 'javascript:;'}">{$path['title'] ?? ''}</a>
{/if}
{/foreach}
2022-10-12 10:11:01 +00:00
{if $category['id'] != 40}
<a href="{$category['route'] ?? 'javascript:;'}">{$category['title'] ?? ''}</a>
{/if}
{$Request.Action == 'detail' ? ($item.title ?? '') : ''}
2022-10-11 10:20:04 +00:00
</div>
2022-10-11 02:23:21 +00:00
</div>
<!-- 二级导航 -->
<div class="sub-nav-bg">
<div class="sub-nav">
{foreach $childrenMenu as $childrenMenuItem}
2022-10-11 10:20:04 +00:00
<a href="{:getUri($childrenMenuItem)}" {if $category["id"] ==$childrenMenuItem['id'] || $category["parent_id"] ==$childrenMenuItem['id'] }class="active"{/if}>{$childrenMenuItem['title']}</a>
2022-10-11 02:23:21 +00:00
{/foreach}
</div>
</div>
</div>
</div>