首页织梦仿站 > 织梦技术专区 > dede仿站教程 > 返回
织梦dedecms教程:列表文章有缩略图则显示缩略图
  1. {dede:list pagesize='35'}
  2.                 <li>
  3.                     <div class="li-main">
  4.                     
  5.                         <a href='[field:arcurl/]' target="_blank" class="pic"><img src='[field:picname/]' height='80' width='120' alt="[field:title/]" /></a>");  
  6.           
  7.                         <strong class="h3">
  8.                             <a href="[field:arcurl/]" target="_blank">[field:title/]</a>
  9.                             <div class="li-ext">
  10.                                   <span class="c666">[field:pubdate function="GetDateTimeMK(@me)" /]</span>  
  11.                                   [field:typelink/]
  12.                             </div>
  13.                         </strong>
  14.                         <p class="ext">[field:description function='cn_substr(@me,150)'/]...<a href="[field:arcurl/]" target="_blank" class="imp">[查看全文]</a></p>
  15.                     </div>
  16.                     
  17.                 </li>
  18.                {/dede:list}

哪位大侠帮忙给改一下呢!!~
收缩