主题 : 求教如何获取子栏目中 的父级ID谢谢 |
级别: 童生
![]() |
1# 发表于:2017-09-29 15:00:18 IP:125.30.*.*
|
||||
---|---|---|---|---|---|
级别: 童生
![]() |
4# 发表于:2017-09-29 15:05:29 IP:125.30.*.*
回复第3楼
[@cms_channel_list parentId=328] [#list tag_list as c] [#if channel.id=c.parent.id ] <div class="gl_stit1 onn" id="${c.id}" > <a href="${c.url}" target="_self " title="${c.name}" id="${c.id}"> ${c.name}</a> </div> [/#if] [#if channel.id!=c.id] <div class="gl_stit1" id="${c.id}" > <a href="${c.url}" target="_self " title="${c.name}" id="${channel.id}"> ${c.name}</a> </div> [/#if ] [/#list] [/@cms_channel_list] 是我改的不对么 没好使 |
||
---|---|---|---|
级别: 童生
![]() |
9# 发表于:2017-09-29 15:28:51 IP:125.30.*.*
回复第8楼
麻烦你看一下我发的图片, 我是从三进入到了四,我是想获取到三和左侧的导航做判断 |
||
---|---|---|---|