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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!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>