织梦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}
支付宝扫码打赏 微信扫码打赏

如果本文对你有帮助,欢迎打赏本站

喜欢 ()or分享
    匿名评论
  • 评论
人参与,条评论