<main>
<section class="banner" style="background-image: url('/assets/img/photo-of-person-reading-1928151.jpg');"></section>
<div class="top-bar d-none d-sm-block">
<div class="container">
<div class="bread-nav d-none d-lg-block">
<a href="/" class="one-pan-link-mark">
<i class="iconfont icon-shouye"></i>
</a>
<span class="dot">·</span>
<span><?php echo $categoryOne['category_name']; ?></span>
<span class="dot">·</span> <?php if(is_array($categoryOne['child']) || $categoryOne['child'] instanceof \think\Collection || $categoryOne['child'] instanceof \think\Paginator): $ii = 0; $__LIST__ = $categoryOne['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($ii % 2 );++$ii;if(empty($item['child']) || (($item['child'] instanceof \think\Collection || $item['child'] instanceof \think\Paginator ) && $item['child']->isEmpty())): $nid = $item['category_id']; $active = $category['category_id']; else: $nid = $item[0]['category_id']; $active = $category['parent_id']; endif; if($item['category_id'] == $active): ?>
<span>
<?php echo $item['category_name']; ?>
</span> <?php endif; endforeach; endif; else: echo "" ;endif; ?>
<span class="dot">·</span> <?php if($ColumnType == 'content'): ?>
<span>detail</span> <?php else: ?>
<span><?php echo $category['category_name']; ?></span> <?php endif; ?>
</div>