建站代码网

热门标签

织梦dedecms第3个和第6个li标签margin

织梦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="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20480%20640'%3E%3C/svg%3E" loading='lazy' data-lazy-src="http://1.com/skin/default/image/nopic.gif" 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}
X