主题 : 请问有没有? |
级别: 解元
|
1# 发表于:2014-07-22 10:22:08 IP:110.202.*.*
|
||||
---|---|---|---|---|---|
级别: 状元
|
2# 发表于:2014-07-22 10:25:15 IP:182.208.*.*
有的 |
||
---|---|---|---|
级别: 解元
|
3# 发表于:2014-07-22 10:28:30 IP:110.202.*.*
具体的格式是怎么样的?我这样对么?
[@cms_channel_list] [#list tag_list as c] [#if c_index=0] <dt class="menu_first"> <a href="${c.url}" target="_self" [#if channel??&&channel.id==c.id] class="selected" [/#if]><span>${c.name}</span></a> </dt> [#else if c_index=3] <dt class="noborder"> <a href="${c.url}" target="_self" [#if channel??&&channel.id==c.id] class="selected" [/#if]><span>${c.name}</span></a> </dt> [#else] <dt> <a href="${c.url}" target="_self" [#if channel??&&channel.id==c.id] class="selected" [/#if]><span>${c.name}</span></a> </dt> [/#if] [/#list] [/@cms_channel_list] |
||
---|---|---|---|
级别: 状元
|
6# 发表于:2014-07-22 10:36:07 IP:182.208.*.*
<a href="${c.url}" target="_self" [#if channel??&&channel.id==c.id] class="selected" [/#if]><span>${c.name}</span>你这标签写错了吧,为什么下面还要重复写这个
|
||
---|---|---|---|
级别: 状元
|
8# 发表于:2014-07-22 10:42:00 IP:182.208.*.*
样式不同你不能以这个同一级栏目下调用不同样式把,这样不是有冲突么?你那不是if标签写错了,是你不能那么调用那标签
|
||
---|---|---|---|
级别: 状元
|
10# 发表于:2014-07-22 10:47:30 IP:182.208.*.*
这个页头导航栏下的你不能通过循环调用,把 [#else if c_index=3]
<dt class="noborder"> <a href="${c.url}" target="_self" [#if channel??&&channel.id==c.id] class="selected" [/#if]><span>${c.name}</span></a> </dt> [#else] <dt> <a href="${c.url}" target="_self" [#if channel??&&channel.id==c.id] class="selected" [/#if]><span>${c.name}</span></a> </dt> [/#if] 这个去掉 |
||
---|---|---|---|