!function(){function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function e(e){for(var i=1;i<arguments.length;i++){var r=null!=arguments[i]?arguments[i]:{};i%2?t(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e,n,i,r,a,c){try{var o=t[a](c),s=o.value}catch(l){return void n(l)}o.done?e(s):Promise.resolve(s).then(i,r)}System.register(["./index-legacy.9e093f2b.js","./index-legacy.772ddea7.js","./index-legacy.b79ab58e.js","./index.module-legacy.cb3327fe.js","./index-legacy.6bb8a2d2.js","./index-legacy.1d37dfe7.js","./index-legacy.ef069ae9.js","./use-tab-status-legacy.390fa0d0.js"],(function(t){"use strict";var n,r,a,c,o,s,l,u,f,p,d,g,m,y,b,h,v;return{setters:[function(t){n=t.d,r=t.ag,a=t.r,c=t.$,o=t.c,s=t.aj,l=t.F,u=t.ai,f=t.ak,p=t.al,d=t.m,g=t.g},function(t){m=t.O},function(t){y=t.O},function(t){b=t.s},function(t){h=t.L},function(t){v=t.C},function(){},function(){}],execute:function(){t("default",n({name:"help-center",setup:function(){var t=r(),n=a({isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{keyword:null,status:!0,type:"HOT_CONSULTATION",page:1,rows:20}}),S=function(){var t,r=(t=regeneratorRuntime.mark((function t(){var i,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!n.isClick){t.next=3;break}return t.abrupt("return");case 3:return n.isClick=!0,t.next=6,d.post(g.platformApi+"/sysNewsInformation/page",{data:e(e({},n.params),{},{catalogType:g.platformType})});case 6:if(i=t.sent,n.listState.loading=!1,r=i.data||{},!(n.list.length>0&&1===r.current)){t.next=11;break}return t.abrupt("return");case 11:n.list=n.list.concat(r.rows||[]),n.listState.finished=r.current>=r.pages,n.params.page=r.current+1,n.listState.dataShow=n.list.length>0,n.isClick=!1,t.next=23;break;case 18:t.prev=18,t.t0=t.catch(0),n.listState.dataShow=!1,n.listState.finished=!0,n.isClick=!1;case 23:case"end":return t.stop()}}),t,null,[[0,18]])})),function(){var e=this,n=arguments;return new Promise((function(r,a){var c=t.apply(e,n);function o(t){i(c,r,a,o,s,"next",t)}function s(t){i(c,r,a,o,s,"throw",t)}o(void 0)}))});return function(){return r.apply(this,arguments)}}(),O=function(t){n.params.keyword=t,n.params.page=1,n.list=[],n.listState.dataShow=!0,n.listState.loading=!1,n.listState.finished=!1,S()};return c((function(){S()})),function(){var e,i;return o("div",{class:[b.helpCenter,!n.listState.dataShow&&"emptyRootContainer"]},[o(y,{position:"top"},{default:function(){return[o(s,{border:!1},null),o(m,{onSearch:O},null)]}}),n.listState.dataShow?o(h,{finished:n.listState.finished,finishedText:" ",class:[b.container,b.containerInformation],onLoad:S,immediateCheck:!1},(i=e=n.list.map((function(e){return o(v,{class:b.cell,onClick:function(){return function(e){"OUT"===e.linkType?window.location.href=e.linkUrl:t.push({path:"/information-detail",query:{id:e.id}})}(e)},titleStyle:{display:"flex",flexDirection:"column",justifyContent:"space-between"}},{icon:function(){return o("div",{class:[b.img,b.bgImg],style:e.coverImage?{backgroundImage:"url(".concat(e.coverImage,")"),backgroundSize:"cover"}:""},null)},title:function(){return o(l,null,[o("div",{class:[b.title,"van-ellipsis"]},[e.title]),o("div",{class:[b.content,"van-multi-ellipsis--l2"]},[e.summary]),o("div",{class:b.time},[e.createTime?u(e.createTime).format("YYYY年MM月DD日"):""])])}})})),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!p(i)?e:{default:function(){return[e]}})):o(f,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无数据"},null)])}}}))}}}))}();
