fix:如果底部没有内容就不要显示li这个标签
This commit is contained in:
@@ -27,7 +27,9 @@
|
|||||||
<p class="ftitle">{:lang_i18n('产品')}</p>
|
<p class="ftitle">{:lang_i18n('产品')}</p>
|
||||||
<ul>
|
<ul>
|
||||||
{volist name="header_categorys" id="vo"}
|
{volist name="header_categorys" id="vo"}
|
||||||
|
{if condition="!empty($vo.name)"}
|
||||||
<li><a href="{:url('product/category', ['id' => $vo.id])}" class="fline">{$vo.name}</a></li>
|
<li><a href="{:url('product/category', ['id' => $vo.id])}" class="fline">{$vo.name}</a></li>
|
||||||
|
{/if}
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user