主题 : 栏目列表页限制字数后 后面的省略号怎么弄出来啊 |
级别: 商业授权用户
|
1# 发表于:2016-11-23 09:51:32 IP:49.138.*.*
|
||||
---|---|---|---|---|---|
级别: 版主
|
2# 发表于:2016-11-23 09:52:35 IP:115.234.*.*
[@text_cut s=a.title len=titLen append='...'/]
|
||
---|---|---|---|
级别: 商业授权用户
|
3# 发表于:2016-11-23 10:04:07 IP:49.138.*.*
那假如文档列表页我第一条和后面的几条样式不一样怎么写啊
|
||
---|---|---|---|
级别: 商业授权用户
|
5# 发表于:2016-11-23 10:07:10 IP:49.138.*.*
[@cms_content_list count='8' orderBy='4' titLen='16' channelId='219' dateFormat='yyyy-MM-dd' channelOption='1']
[#list tag_list as a] [#if a_index = 0] <li><a href="${a.url}" target="_blank" ><span class="title zd">[置顶][@text_cut s=a.title len=titLen /]</span><span class="time">[${a.date?string(dateFormat)}]</span></a></li> [@text_cut s=a.desc len=descLen append=append/] [#else] <li><a href="${a.url}" target="_blank" ><span class="title">[@text_cut s=a.title len=titLen /]</span><span class="time">[${a.date?string(dateFormat)}]</span></a></li> [/#if] [/#list] [/@cms_content_list] 我是这么判断的但是生成的时候报错 |
||
---|---|---|---|
级别: 商业授权用户
|
7# 发表于:2016-11-23 10:20:36 IP:49.138.*.*
还是出错。。
|
||
---|---|---|---|
级别: 商业授权用户
|
9# 发表于:2016-11-23 10:26:38 IP:49.138.*.*
Parsing error in template "WEB-INF/t/cms/ggfw/ggfw/channel/news_kskgw.html" in line 260, column 7: Unclosed @... when the end of the file was reached.
|
||
---|---|---|---|