Addonarticle附加字段表添加附加字段内容模型管理-普通文章-更改-字段管理-添加新字段(数据类型选择 图片(仅网址))代码添加 {dede:arclist addfields=pic1,pic2,pic3 channelid=1} div class=swiper-cont
{dede:arclist addfields='pic1,pic2,pic3' channelid='1'} <div class="swiper-container img_scroll" id="img_scroll[field:id /]"> <ul class="swiper-wrapper"> <div class="prolistname"><a href="[field:arcurl /]"> </a></div> [field:array runphp='yes'] @me = ' <li class="swiper-slide "><img src="' . @me['pic1'] .'"/></li> <li class="swiper-slide "><img src="' . @me['pic2'] . '"/></li> <li class="swiper-slide " ><img src="' . @me['pic3'] . '"/></li> <!-- <li class="swiper-slide " ><img src="' . @me['litpic'] . '"/></li> --> '; [/field:array] </ul></div> {/dede:arclist}