藏茗山学院
安全可靠、性能稳定、追求极致的用户体验
JEECMSv8常用功能所用标签
6、搜索结果页
[#if q??]
[@cms_lucene_page q=q channelId=channelId startDate=startDate endDate=endDate descLen='170' append='...' count='10' ]
<div class="searchNav">您搜索的“<span>${input!}</span>”, 共有<span>${tag_pagination.totalCount!}</span>个结果</div>
<div class="searchList">
[#list tag_list as s]
<div class="item">
<div class="search-title"><a href="${s.url}" title="${s.title}" target="_blank">${s.title?replace('${q!}', "<span>${q!}</span>")}</a></div>
[#if s.txt??]
<div class="search-txt">
[#assign bb=s.txt?replace("<(S*?)[^>]*>.*?|<.*? />","","ri")?replace(" ","","ri")/]
[@text_cut s=bb?replace('${q!}', "<span style='color: red;'>${q!}</span>") len=descLen append=append/]
</div>
[/#if]
<div class="search-date"><a href="${s.ctgUrl}" target="_blank">${s.ctgName}</a><em>${s.releaseDate}</em>浏览 <span>${s.views}</span></div>
</div>
[/#list]
</div>
<div class="pagination">[@cms_pagination sysPage='1'/]</div>
[/@cms_lucene_page]
ctgUrl内容所属栏目url
ctgName内容所属栏目