35 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
<div class="pull-banner w100 wap-show"><img src="{$categoryPath[0]['src_mobile'] ?: ''}" alt="{$categoryPath[0]['title'] ?? ''}"></div>
 | 
						|
 | 
						|
<!-- 当前位置&二级导航 -->
 | 
						|
<div class="position-nav-bg pull-margin bg-col-f5"><!-- position-nav-bg01 -->
 | 
						|
  <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>
 | 
						|
      <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}
 | 
						|
        {if !in_array($category['id'],[33,34,39,40,41]) && $Request.Action != 'index'}
 | 
						|
        <a href="{$category['route'] ?? 'javascript:;'}">{$category['title'] ?? ''}</a>
 | 
						|
        {elseif $Request.Action == 'index'}
 | 
						|
        {$category['title'] ?? ''}
 | 
						|
        {/if}
 | 
						|
        {$Request.Action == 'detail' ? ($item.title ?? '') : ''}
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
    <!-- 二级导航 -->
 | 
						|
    <div class="sub-nav-bg sub-nav-bg">
 | 
						|
      <div class="sub-nav"><!-- sub-nav-01 -->
 | 
						|
        {foreach $childrenMenu as $childrenMenuItem}
 | 
						|
        <a href="{:getUri($childrenMenuItem)}"  {if $category["id"] ==$childrenMenuItem['id'] || $category["parent_id"] ==$childrenMenuItem['id'] }class="active"{/if}>{$childrenMenuItem['title']}</a>
 | 
						|
        {/foreach}
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
</div> |