主题 : 全文搜索分页乱码 |
级别: 白丁
![]() |
41# 发表于:2017-07-19 15:24:38 IP:14.31.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
![]() |
43# 发表于:2017-07-19 15:26:00 IP:14.31.*.*
<!DOCTYPE HTML>
<html> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>全文检索列表 - ${site.name}</title> <link href="${resSys}/front.css" rel="stylesheet" type="text/css"/> <link href="${resSys}/jqueryUI/jquery.ui.css" rel="stylesheet" type="text/css"/> <link type="text/css" rel="stylesheet" href="/${res}/css/index.css" /> <script src="${resSys}/jquery.js" type="text/javascript"></script> <script src="${resSys}/front.js" type="text/javascript"></script> <script type="text/javascript" src="/${res}/js/jquery.SuperSlide.js"></script> <script src="/${res}/js/html5shiv.min.js"></script> <script src="/${res}/js/respond.min.js"></script> <script type="text/javascript"> $(function() { Cms.siteFlow("${base}", location.href, document.referrer, "${site.config.flowSwitch?string}"); $.cookie("_site_id_cookie","${site.id!}",{path: '${base}' }); }); </script> </head> <body> <div class="main container clearfix"> [#include "../include/header.html"] <section class="content_w850"> [#if q??] [@cms_lucene_page q=q siteId=2 channelId=channelId descLen='100' append='...' count='4' sysPage='1' ] <div class="search_msg"> 您搜索的<span class="red">“${q!}”</span>,共有<span class="red">${tag_list?size} 条</span>查询结果, </div> [#list tag_list as s] <dl class="list3"> <dt><span>[<a href="${s.ctgUrl}" target="_blank">${s.ctgName}</a>]</span> <a href="${s.url}" title="${s.title}" target="_blank">${s.title}</a></dt> <dd class="zy">[@text_cut s=s.description len=descLen append=append/]</dd> <dd>来源:<a href="${s.originUrl!}" target="_blank">${s.origin!'本站原创'}</a> 浏览次数:${s.views}次 发布时间: ${s.releaseDate} </dd> </dl> [/#list] [#include "../include/page.html"/] [/@cms_lucene_page] [/#if] </section> </div> </body> </html> |
||
---|---|---|---|
级别: 白丁
![]() |
45# 发表于:2017-07-19 15:29:13 IP:14.31.*.*
![]() |
||
---|---|---|---|
级别: 白丁
![]() |
49# 发表于:2017-07-19 15:36:46 IP:14.31.*.*
<div class="page-large">
[#assign p=tag_pagination/] <div style="display:inline-block;"> [#if p.firstPage] [#else]<a href="#" class="prev-page" onclick="location.href='${hrefFormer}_${p.prePage}${hrefLatter}'"></a> [/#if] [#if p.totalPage gt n] [#if p.pageNo lte m] [#list 1..n as page] <a [#if page==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}_${page}${hrefLatter}'">${page!}</a> [/#list] <a class="Num none">...</a> <a [#if p.totalPage==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}_${p.totalPage}${hrefLatter}'">${p.totalPage!}</a> [#elseif p.pageNo>p.totalPage-m] <a [#if 1==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}${hrefLatter}'">1</a> <a class="Num none">...</a> [#list p.totalPage-n+1..p.totalPage as page] <a [#if page==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}_${page}${hrefLatter}'">${page!}</a> [/#list] [#else] <a [#if 1==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}${hrefLatter}'">1</a> <a class="Num none">...</a> [#list p.pageNo-b..p.pageNo+b as page] <a [#if page==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}_${page}${hrefLatter}'">${page!}</a> [/#list] <a class="Num none">...</a> <a [#if p.totalPage==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}_${p.totalPage}${hrefLatter}'">${p.totalPage!}</a> [/#if] [#else] [#list 1..p.totalPage as page] <a [#if page==p.pageNo]class="Num on"[#else]class="Num"[/#if] href="#" onclick="location.href='${hrefFormer}_${page}${hrefLatter}'">${page!}</a> [/#list] [/#if] [#if p.lastPage] [#else] <a class="next-page" href="#" onclick="location.href='${hrefFormer}_${p.nextPage}${hrefLatter}'"></a> [/#if] </div> 这是page页码里面的代码 应该就是下面那些12345..7这些吧 这些怎么改啊 |
||
---|---|---|---|