主题 : 请教一下,这个样子的标签怎么写?
级别: 童生
UID: 1097
积分:13 加为好友
威望: 0 精华: 0
主题:2 回复:3
注册时间:2009-11-04
在线时长:0
1#   发表于:2009-11-04 20:06:09  IP:118.162.*.*
就是官网“动态”频道,那种有文字内容的栏目列表,怎么做呀。有没有好心人回答一下。
级别: 举人
UID: 650
积分:110 加为好友
威望: 0 精华: 0
主题:6 回复:55
注册时间:2009-08-31
在线时长:0
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} &nbsp;
来源:${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页