主题 : 我做了一个搜索分页,出了点问题。 |
级别: 白丁
|
1# 发表于:2011-04-26 15:36:01 IP:117.8.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
3# 发表于:2011-04-26 16:09:16 IP:117.8.*.*
你们默认的搜索页面没有分页,大哥! 帮我分析一下错误吧,求你了!
|
||
---|---|---|---|
级别: 白丁
|
4# 发表于:2011-04-26 16:09:44 IP:117.8.*.*
为什么会不出现总数!
|
||
---|---|---|---|
级别: 白丁
|
6# 发表于:2011-04-26 17:55:53 IP:117.8.*.*
回复第5楼<div class="w96 " style="height:500px;" >
<div class="news " style="height:500px;" > [#if q??] [@cms_lucene_page q=q channelId=channelId descLen='100' append='...' count='3' sysPage='1' ] <div class="search_msg"> <span style=" color:#40494E; font-weight: bold; font-size:15px;"> 您搜索的<span style=" color:#C60A00; font-weight: bold; font-size:15px;">“${q!}”</span>, 共有 <span style=" color:#C60A00; font-weight: bold; font-size:15px;">${tag_list?size} 条</span> 查询结果,[@process_time/]</span> </div> <br> [#list tag_list as s] <span class="title_span1">[<a href="${s.ctgUrl}" target="_blank">${s.ctgName}</a>]</span><a href="${s.url}" title="${s.title}" target="_self"><span class="title_span2">${s.title}</span></a> <h2 style="margin-top: 5px; margin-bottom"><span>${s.releaseDate} ${s.author!'本站编辑'}</span><img src="/${res}/images/read.gif" align="middle" title="阅读次数" /><span id="views"> ${s.views}次</span></h2> <p> [@text_cut s=s.txt len=txtLen append=append/] <a href="${s.url}" title="阅读全文..."><img src="/${res}/images/more.gif"/></a> </p> <hr> [/#list] [/@cms_lucene_page] [/#if] </div> 真是不好意思,不记得发代码了,以上是我所做的搜索部分的代码,请您帮我分析一下,为什么他的搜索出来的条数会等于页面内容的最高条数好吗?谢谢 |
||
---|---|---|---|
级别: 白丁
|
8# 发表于:2011-04-27 14:20:22 IP:117.8.*.*
回复第7楼难道不能设成分页内容每次页是三条,但是那个搜索出来的条数是正总共的条数吗?
|
||
---|---|---|---|
1
共1页