function isEmpty(t){return null===t||"null"===t||(void 0===t||"undefined"===t||(""===t||(0===t.length||!/[^(^\s*)|(\s*$)]/.test(t))))}function getParam(t){var n=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),e=window.location.search.substr(1).match(n);return null!==e?decodeURIComponent(e[2]):""}function request(e){(e=e||{}).url=e.url||"",e.type=e.type||"POST",e.data=e.data||"",e.async=e.async||!0,e.error=e.error||function(){},e.fail=e.fail||function(){},e.success=e.success||function(){},e.complete=e.complete||function(){},$.ajax({url:e.url,data:e.data,type:e.type,dataType:"json",async:e.async,error:function(t){var n=t.responseText;n=$.parseJSON(n),e.error(n)},success:function(t){200==t.code?e.success(t.data):e.fail(t)},complete:function(t,n){e.complete(t,n)}})}Array.prototype.filter=function(t){if("function"!=typeof t)return[];for(var n=[],e=0;e

'+t+' 条内容,当前第 1 页/共 '+i+"

").appendTo(o),r=p('').appendTo(l);r.html('
  • ');for(var c=0;c"+(c+1)+"").appendTo(r);s-1===c&&u.addClass("on"),u.on("click",function(){s=Number(p(this).html()),a()})}r.append('
  • '),r.on("click",".page-prev",function(){a(-1)}),r.on("click",".page-next",function(){a(1)})}}($); $(function () { $('#submit').on('click', function () { $('#searchForm').submit(); }) });