{extend name="base"/} {block name="resources"} {/block} {block name="main"}

操作提示

{if condition="$list"} {foreach name="$list" item="vo" key="index"}
  • {notempty name="$vo['child_list']"} + {/notempty}
    {$vo['category_name']}
    {notempty name="$vo['image']"}
    {/notempty}
    {if $vo['is_show'] == 0} 显示 {else /} 不显示 {/if}
    {notempty name="$vo['child_list']"}
    {foreach name="$vo['child_list']" item="second"}
    {notempty name="$second['child_list']"} + {else /} {/notempty} {$second['category_name']}
    {notempty name="$second['image']"}
    {/notempty}
    {if $second['is_show'] == 0} 显示 {else /} 不显示 {/if}
    {notempty name="$second['child_list']"}
    {foreach name="$second['child_list']" item="third"}
    {$third['category_name']}
    {notempty name="$third['image']"}
    {/notempty}
    {if $third['is_show'] == 0} 显示 {else /} 不显示 {/if}
    {/foreach}
    {/notempty}
    {/foreach}
    {/notempty}
  • {/foreach} {else/}
    暂无数据
    {/if}
    {/block} {block name="script"} {/block}