title: '医院筛选', type: 1, shadeClose: true, content: $('#filtrate'), }); }, }); /* let url = window.location.href.replace(/\/p-(\d+)/, ""); //执行一个laypage实例 laypage.render({ elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 , limit: "10" , curr: "1" , count: "0" , jump: function (obj, first) { //首次不执行 if (!first) { location.href = url + (obj.curr == 1 ? '' : 'p-' + obj.curr + '/'); } } }); */ });