主题 : cms_content_list 标签里面txt 怎么截取啊, |
级别: 商业授权用户
![]() |
1# 发表于:2014-01-23 15:05:43 IP:218.92.*.*
|
||||
---|---|---|---|---|---|
级别: 总版主
![]() |
2# 发表于:2014-01-23 15:11:17 IP:220.48.*.*
[@text_cut s=a.title len=titLen append=append/]
表示截取titLen 这个长度的新闻标题进行显示。 append='...' 表示超过截取标题长度后,以 … 结尾。 [@cms_content_page channelId=channel.parent.id count=channel.pageSize sysPage='1' pageClass='pagination' styleList='1-1' ctgForm='1' ctgClass='red' lineHeight='10' bottomLine='1' headMark='4' dateFormat='yyyy-MM-dd' datePosition='2' dateClass='gray' channelOption='1' tpl='2'/] [@cms_content_list tpl='2' styleList='1-1' lineHeight='2' showTitleStyle ='1' bottomLine='1' headMark='3' dateFormat='MM-dd' datePosition='2' titLen='10' append='…' count='3' channelId='2589' channelOption='1'/] |
||
---|---|---|---|