dedecms 调用的问题
<div class="picnews">
<dl class="tbox light">
<dt class='light'><strong>图文资讯</strong></dt>
<dd class='light'>
<div class="infiniteCarousel">
<div class="wrapper">
<ul id='imgscroll'>
{dede:arclist row=10 orderby=pubdate type='image' imgwidth='143' imgheight='106'}
<li><a href="[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span></a></li>
{/dede:arclist}
</ul>
</div>
</div>
</dd>
</dl>
</div>
{dede:arclist row=10 orderby=pubdate type='image' imgwidth='143' imgheight='106'}
<li><a href="[field:arcurl/]">[field:image/]</a></li>
{/dede:arclist}这一段就是调用的代码了,如果还想要图文结合可以这样
{dede:arclist row=10 orderby=pubdate type='image' imgwidth='143' imgheight='106'}
<li><a href="[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span></a></li>
{/dede:arclist}
导航代码
{dede:channel type='self' typeid ='栏目ID'}<a href='[field:typelink/]'>[field:typename/]</a>
{/dede:channel}
列表代码
{dede:arclist typeid=1 row=20 channelid=2 col=5 titlelen=20 orderby='pubdate' imgwidth=160 imgheight=123}
<table cellspacing=2 cellpadding=0 width="98%" border=0>
<tbody>
<tr>
<td align=middle>[field:imglink/]</td></tr>
<tr>
<td align=middle>[field:textlink/]</td></tr></tbody></table>
{/dede:arclist}
你试试看看行不行
{dede:arclist type='image' typeid='0' titlelen='24' row='2' col='4' imgwidth='120' imgheight='90'}
<table width='120' border='0' align="center" cellpadding='2' cellspacing='1' bgcolor='#E6EAE3'>
<tr align='center'>
<td bgcolor='#FFFFFF'>[field:imglink/]</td>
</tr>
<tr align='center'>
<td height='20' bgcolor="#FFFFFF">[field:textlink/]</td>
</tr>
</table>
{/dede:arclist}
0条评论