同一样式分开调取
[field:array runphp='yes']@me = (strpos(@me['litpic'],'defaultpic') ? "":"<a href='{@me['arcurl']}' class='part3L'><img src='{@me['litpic']}' alt='{@me['title']}'/></a>"); [/field:array]
用不同样式分开调取
有图的置顶,只显示一条
{dede:arclist flag="p" row="1" titlelen="20"}
<img src="[field:litpic/]">[field:description/]
{/dede:arclist}
没图的
{dede:arclist row="6" titlelen="40" noflag='p'}
<a href="[feild:arcurl/]">[field:title/]</a>
{/dede:arclist}