cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!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>