建议样式a b c d e f,改成序号,如a1 a2 a3 a4 a5,然后用序号标签[field:global name=autoindex/]调用。
1
2
3
|
{dede:arclist titlelen='45' row='6' orderby='rand' } < li class = "a[field:global name=autoindex/]" >< a hrer = "[field:arcurl/]" >[field:title /] a > li > {/dede:arclist} |
产生的前台代码就是:
1
2
3
4
5
6
|
< li class = "a1" >< a hrer = "超链接" >标题 a > li > < li class = "a2" >< a hrer = "超链接" >标题 a > li > < li class = "a3" >< a hrer = "超链接" >标题 a > li > < li class = "a4" >< a hrer = "超链接" >标题 a > li > < li class = "a5" >< a hrer = "超链接" >标题 a > li > < li class = "a6" >< a hrer = "超链接" >标题 a > li > |