主题 : 有没有*法遍历ArtiList啊 |
级别: 商业授权用户
![]() |
1# 发表于:2017-10-11 17:17:55 IP:182.46.*.*
|
||||
---|---|---|---|---|---|
级别: 总版主
![]() |
2# 发表于:2017-10-11 17:36:15 IP:182.201.*.*
可以呀,您分两个内容列表标签调用不就可以了吗?第一个就只调用一条数据,和调用下摘要
|
||
---|---|---|---|
级别: 商业授权用户
![]() |
3# 发表于:2017-10-11 17:45:01 IP:182.46.*.*
回复第2楼
我的意思是这个标签能像ChnlList标签一样 [@cms.ChnlList id='' inner='1';c,c_index,c_has_next] [#if c_has_next] <li><a href="${c.url}" class="redfont">${c.name}</a></li> [#else] <li><a href="${c.url}">${c.name}</a></li> [/#if] [/@cms.ChnlList] 这样子来写一个遍历吗?根据文章的内容,给不同的html元素设置某些属性 |
||
---|---|---|---|
级别: 商业授权用户
![]() |
4# 发表于:2017-10-11 18:18:47 IP:182.46.*.*
回复第2楼
还有就是连续用了两个ArtiList标签,后面的count会用前面的ArtiList中的count属性 |
||
---|---|---|---|
1
共1页