1 <style type="text/css">2 li a{ COLOR: #fff }3 .red{ BACKGROUND-COLOR: red }4 .blue{ BACKGROUND-COLOR: blue }5 </style>arclist织梦标签代码:
1 {dede:arclist typeid='1' titlelen='40' row='20' typeid="" }2 <li [field:global name=autoindex runphp="yes"](@me % 2 == 0)?@me="class='red'":@me="class='blue'";[/field:global]>3 <a href="[field:arcurl/]">[field:title/]</a>4 </li>5 {/dede:arclist}
新闻热点
疑难解答