💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[info] 导航标签 nav ```php {Ycms:nav id="vo" type="1"} <a href="{$vo.url}" target="{$vo.target}" {eq name="catid1" value="$vo.id"} class="on"{/eq}>{$vo.catname}</a> <ul> {volist name="vo.child" id="child"} <li><a href="{$child.url}" target="{$child.target}" {eq name="catid2" value="$vo.id"} class="on"{/eq}>{$child.catname}</a></li> {/volist} </ul> {/Ycms:nav} ``` >[info] 栏目字段 > | 名称 | 调用方式 | | --- | --- | --- | | 导航名称 | `{$vo.catname}` | | 导航副标题 | `{$vo.enname}` | | 导航大图| `{$vo.big_image}` | | 导航大图(2)| `{$vo.mbig_image}` | | 导航图标| `{$vo.small_image}` | | 导航图标| `{$vo.icon_image}` | | 导航跳转类型| `{$vo.target}` | | 导航子栏目| `{$vo.target}` | <br/> >[info] 导航参数 | 参数名 | 名称 | 默认 | 说明 | | --- | --- | --- | --- | | type | 类型 | `1` | 1:主导航<br/>2:尾导航<br/>3:全部 | | limit | 显示数量 | `10` |