织梦模板产品分成4列,代码如下 30
<divalign="center"><imgsrc="./images/test.jpg"/><ulclass="product">{dede:arclisttypei...
<div align="center"><img src="./images/test.jpg" />
<ul class="product">
{dede:arclist typeid=9 row=12 titlelen=36 orderby='pubdate' }
<li>
<a href="[field:arcurl/]" title="[field:fulltitle/]">
<img src="[field:litpic/]" alt="[field:fulltitle/]" width="220" height="220" class="PicAuto"/>
<span>[field:title/]</span>
[field:global name=autoindex runphp="yes"]
if(@me==1||@me==2||@me==3||@me==4||@me==5||@me=6)@me="<img src='/statics/images/new.png' class='new' />";
else @me="";
[/field:global]
</a>
</li>
{/dede:arclist}
</ul>
</div> 展开
<ul class="product">
{dede:arclist typeid=9 row=12 titlelen=36 orderby='pubdate' }
<li>
<a href="[field:arcurl/]" title="[field:fulltitle/]">
<img src="[field:litpic/]" alt="[field:fulltitle/]" width="220" height="220" class="PicAuto"/>
<span>[field:title/]</span>
[field:global name=autoindex runphp="yes"]
if(@me==1||@me==2||@me==3||@me==4||@me==5||@me=6)@me="<img src='/statics/images/new.png' class='new' />";
else @me="";
[/field:global]
</a>
</li>
{/dede:arclist}
</ul>
</div> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |