通过修改system中的pagination.php,给每个<a>都增加了class="pagination".

view页面

                  <div class="pull-left">
                                    <script src="http://bi.xiaoyou-game.com/static/js/mydate.js"></script>
                                        
                                    账号ID
                                    <input type="text" name="accountid"  value="<{$accountid}>" placeholder='所有账号' id="accountid">
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    渠道名称
                                    <select name="channelname" id="channelname">
                                        <option value=''  <{if $channelname == ''}>selected <{/if}>>全部</option>
                                        <option value='360'  <{if $channelname == '360'}>selected <{/if}>>360</option>
                                        <option value='jiuyou'  <{if $channelname == 'jiuyou'}>selected <{/if}>>jiuyou</option>
                                        <option value='baidu'  <{if $channelname == 'baidu'}>selected <{/if}>>baidu</option>
                                        <option value='qq'  <{if $channelname == 'qq'}>selected <{/if}>>qq</option>
                                    </select>
                                    &nbsp;&nbsp;&nbsp;&nbsp;        
                                    是否在被使用
                                    <select name="isuse" id="isuse">
                                        <option value=''  <{if $isuse === ''}>selected <{/if}>>全部</option>
                                        <option value='1'  <{if $isuse == '1'}>selected <{/if}>>是</option>
                                        <option value='0'  <{if $isuse === '0'}>selected <{/if}>>否</option>
                                    </select>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                
                                    <span style="font-size:20px" ><{$links}></span>
                            </div>

view页面js代码

<script>
$(function(){
    $(".pagination").click(function(){
        var url = $(this).attr("href");
        var accountid = $("#accountid").val();
        var channelname = $("#channelname").val();
        var isuse = $("#isuse").val();
        url = url + '?accountid=' + accountid + '&channelname=' + channelname + '&isuse=' +isuse;
        $(this).attr("href",url);
    })
})
</script>

通过给href增加参数,带到后台PHP,GET接收。