!function(){function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function e(e){for(var a=1;a0&&1===o.pageNo)){t.next=13;break}return t.abrupt("return");case 13:n.list=n.list.concat(o.rows||[]),n.finished=o.pageNo>=o.totalPage,n.params.page=o.pageNo+1,n.dataShow=n.list.length>0,t.next=23;break;case 19:t.prev=19,t.t0=t.catch(0),n.dataShow=!1,n.finished=!0;case 23:case"end":return t.stop()}}),t,null,[[0,19]])})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,c,"next",t)}function c(t){a(o,i,r,s,c,"throw",t)}s(void 0)}))})()},onSearch:function(t){this.params.title=t,this.params.page=1,this.list=[],this.dataShow=!0,this.loading=!1,this.finished=!1,this.getList()},onDetail:function(t){this.$router.push({path:"helpCenterDetail",query:{id:t.id,catalogType:this.params.catalogType}})}},render:function(){var t,e,n=this;return o("div",null,[o(f,{offsetTop:0,position:"top",class:"mb12"},{default:function(){return[o(d,{onSearch:n.onSearch},null)]}}),this.dataShow?o(l,{loading:this.loading,"onUpdate:loading":function(t){return n.loading=t},finished:this.finished,finishedText:"没有更多了",onLoad:this.getList},(e=t=this.list.map((function(t){return o(u,{title:t.title,titleClass:"van-ellipsis",isLink:!0,onClick:function(){n.onDetail(t)}},null)})),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!c(e)?t:{default:function(){return[t]}})):o(s,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无内容"},null)])}}))}}}))}();