台灣休閒論壇

標題: #list data.data as dataList&gt [打印本頁]

作者: admin    時間: 2017-8-1 15:36
標題: #list data.data as dataList&gt
新聞 - 熱門視頻 <#et hotVideoTpl data> <ol class="vd_hotlst"> <#list data.data as dataList> <#if (dataList_index < 3)> <li class="topls"> <span class="topnum_ico topnum_${++dataList_index}">${++dataList_index}.</span> <span class="V_plyCount S_txt2"><i class="V_icon V_icon5" title="播放量"></i><i task="playNum" video_id="${dataList.video.video_id}">${dataList.numFormate}</i></span> <span class="vdthumb"><a href="${dataList.url}" title="${dataList.overTitle}"><img _src="${dataList.video.thumb}" style="visibility:hidden;"><i class="V_icon V_icon9"></i></a></span> <span class="vdname"><a href="${dataList.url}" title="${dataList.overTitle}">${dataList.overTitle}</a></span> </li> <#else> <li> <span class="num">${++dataList_index}.</span> <span class="V_plyCount S_txt2"><i class="V_icon V_icon5" title="播放量"></i><i task="playNum" video_id="${dataList.video.video_id}">${dataList.numFormate}</i></span> <span class="vdname"><a href="${dataList.url}" title="${dataList.overTitle}">${dataList.shortTitle}</a></span> </li> </#if> </#list> </ol> </#et>




歡迎光臨 台灣休閒論壇 (https://luzsc.com.tw/) Powered by Discuz! X3.1