云优cms调用三级导航

2023-12-14 14:15 小编

云优cms调用三级导航

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 <yunu:nav typeid='1'
    <li <eq name="$nav['id']" value="$navpid">class="on"</eq>><a href="{$nav.url}"  <if condition="$nav.child">class="v1"</if>><span>{$nav.title} <if condition="$nav.child"><i></i></if></span></a>
          <if condition="$nav.child">
            <dl class="nav-sub1">
              <volist name="nav['child']" id="v">
                <dd> <a href="{$v.url}"  <if condition="$v.child">class="v2"</if>><span>{$v.title}</span></a>
                  <if condition="$v.child">
                    <dl class="nav-sub2">
                      <volist name="v['child']" id="vv">
                        <dd> <a href="{$vv.url}" class="v3">{$vv.title}</a> </dd>
                      </volist>
                    </dl>
                  </if>
                </dd>
              </volist>
            </dl>
          </if>
       </li>
</yunu:nav>



在线咨询 拨打电话

电话

13363039260

微信二维码

微信二维码