首页调用商品的价格!代码如下: <ul class="e1">
{dede:arclist row=10 addfields='trueprice,price' channelid='6' col='5' titlelen='100' orderby=pubdate type='image.' imgwidth='124' imgheight='94' typeid='12'}
<li><a href="[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span><span class="title" style="color:#FF0000">优惠价:[field:trueprice/]</span><span class="title" style="color:#FF0000">市场价:[field:price/]</span></a></li>
{/dede:arclist}
{dede:arclist row=10 addfields='trueprice,price' channelid='6' col='5' titlelen='100' orderby=pubdate type='image.' imgwidth='124' imgheight='94' typeid='12'}
<li><a href="[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span><span class="title" style="color:#FF0000">优惠价:[field:trueprice/]</span><span class="title" style="color:#FF0000">市场价:[field:price/]</span></a></li>
{/dede:arclist}
</ul>
其中channelid='6' 6指的是商品模型ID
typeid='12' 12表示栏目DI