主题 : 请教一下,这个样子的标签怎么写? |
级别: 童生
|
1# 发表于:2009-11-04 20:06:09 IP:118.162.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
|
2# 发表于:2009-11-07 23:57:42 IP:124.198.*.*
在tag_ArtiList.html中:
[#if style=='2'] [#list pagination.list as ctt] <table width="690" border="0" cellpadding="0" cellspacing="18" class="smmrylist"> <tr> <td width="104" align="center" background="${root}/upload/${ctt.titleImg}" class="smmryimg"> <a href="" target="_blank"><img src="${root}/guobi/article/img/smryi_msk.gif" width="104" height="134" border=0> </a> </td> <td class="smmrytxt" valign="top"> <h3> <a href="${ctt.url}" title="${ctt.tit(200)}" target="_blank">${ctt.stit(titLen)}</a> </h3> <span class="skeywds">日期:${ctt.releaseDate} 来源:${ctt.origin}<br /> 关键字:${ctt.tags} </span> <br /> <a href="${ctt.url}" target="_blank">[#if ctt.description?length lte 130 ]${ctt.description}[#else]${ctt.description[0..129]}...[/#if]</a> </td> </tr> </table> [/#list] [/#if] 在channel.html中调用 [@cms.ArtiList sysTpl='0' style='2' count='8' chnlId='${chnl.id}' sysPage='3' isPage='1' pageClass='pagination'/] css修饰自己改下 |
||
---|---|---|---|
1
共1页