下面复制一段我的代码:
代码如下:
{dede:arclist row='4' typeid='10' flag='p' channelid='2' addfields='shop_money' }
<table width="4%" height="212" border="0" cellpadding="0" cellspacing="0" class="yangshi" style="font-size:12px;">
<tr>
<td height="212" colspan="3" align="center">
<a href="[field:arcurl/]" title="[field:fulltitle/]" target="_blank"><img src="[field:litpic/]" target="_blank" width="168" height="180"
alt="[field:fulltitle/]" style="float:left; padding:5px; border:3px solid #333333;" border="0" /></a></td>
</tr>
<tr><td width="32%" style="margin-top:8px;" ><span> 原价:
<span style="color:#cc0000;">[field:shop_money/]</span></span></td>
<td width="35%" style="margin-top:8px;"> 有[field:click/]人喜欢</td>
</tr>
</table>
{/dede:arclist}
channelid------是模型的id
addfields-------是自定义字段的名称
单独调用:{dede:field name=' ' /}