<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
<script type="text/javascript" src="${common_static}/static/wechat/style/js/project.js"></script>
|
</head>
|
|
<body>
|
<header class="kltit">
|
<a href="javascript:history.go(-1);"><span></span></a>知识库
|
</header>
|
<section>
|
<header class="klHeader">
|
<ul><!-- ewKnowOrder.html -->
|
<li class="cur"><span class="navicon1"></span>最新</li>
|
<a href="${base}/ewyw/ewKnowledge/ewcompanyfirst.html"><li><span class="navicon2"></span>分类</li></a>
|
<a href="${base}/ewyw/ewKnowledge/ewTypeKw.html"><li><span class="navicon3"></span>我的</li></a>
|
<a href="${base}/ewyw/ewfulltext/ewKw.html"><li><span class="navicon4"></span>查询</li></a>
|
</ul>
|
</header>
|
|
<div id="main">
|
|
</div>
|
|
<div id="pagination" class="loadmore"></div>
|
</section>
|
|
|
<script type="text/javascript">
|
function query() {
|
var param = {};
|
$("#main").empty();
|
$("#pagination").pagination({
|
durl:"${base}/ewyw/eknowData.html",
|
curl:"${base}/ewyw/eknowCount.html",
|
pdiv:"pagination",
|
mdiv:"main",
|
perPage : 5,
|
param:param
|
});
|
}
|
|
$(function() {
|
query();
|
})
|
function search(kw) {
|
if($.util.isEmpty(kw)) {
|
query();
|
return;
|
}
|
|
if(kw.length == 1) {
|
popupTips("关键词至少为2个字");
|
return;
|
}
|
|
kw = $.util.encode($.util.encode(kw));
|
window.location.href="${base}/ewyw/ewfulltext/ewKw.html?kw="+kw;
|
}
|
</script>
|
|
</body>
|
</html>
|