<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
</head>
|
|
<body>
|
<header class="kltit tcenter"><a href="${base}/ewyw/ewKnowledge/ewMyKnow.html"><span></span></a>[#if RequestParameters.type == 3]我被顶过的知识[#elseif RequestParameters.type == 4]我被踩过的知识[#elseif RequestParameters.type == 5]我的置顶知识[#else]我的精华知识[/#if]</header>
|
<section id="main">
|
|
</section>
|
|
<div id="pagination" class="loadmore"></div>
|
|
<script type="text/javascript">
|
var type = '${RequestParameters.type}';
|
function query() {
|
var param = {"type":type};
|
$("#main").empty();
|
$("#pagination").pagination({
|
durl:"${base}/ewyw/ewKnowledge/ewmyKnowTypeData.html",
|
curl:"${base}/ewyw/ewKnowledge/ewmyKnowTypeCount.html",
|
pdiv:"pagination",
|
mdiv:"main",
|
perPage : 5,
|
param:param
|
});
|
}
|
|
$(function() {
|
query();
|
})
|
function search(kw) {
|
if($.util.isEmpty(kw)) {
|
window.location.reload(true);
|
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>
|