dede channelartlist中嵌套channel,channel的currentstyle失效
在channelartlist中引用channel,channel的currentstyle就会失效!<ul>{dede:channelartlisttypeid=1}<...
在channelartlist中引用channel,channel的currentstyle就会失效!
<ul>
{dede:channelartlist typeid=1}
<li><b>{dede:field name='typename'/}</b>
<ul>
{dede:channel type='son' noself='yes' currentstyle="<li><a href='~typelink~' class='hover'>~typename~</a></li>"}
<li><a href="[field:typeurl/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
不解啊~求大神帮忙~ 展开
<ul>
{dede:channelartlist typeid=1}
<li><b>{dede:field name='typename'/}</b>
<ul>
{dede:channel type='son' noself='yes' currentstyle="<li><a href='~typelink~' class='hover'>~typename~</a></li>"}
<li><a href="[field:typeurl/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
不解啊~求大神帮忙~ 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询