织梦dedecms第3个和第6个li标签margin-right:0;的方法: {dede:arclist typeid='6' row='6' infolen='135'} <li [field:global name=autoindex runphp="yes"] if(@me==3||@me==6)@me="style=\"margin-right:0;\""; else @me=""; [/field:global]> <b><a href="[field:arcurl/]"><img src="[field:litpic/]" width="200" height="160" alt="[field:title/]"></a></b> <a href="[field:arcurl/]" title="[field:title/]">[field:title/]</a><span>[field:info/]...</span> </li> {/dede:arclist} (责任编辑:好模板) |