class Yt{constructor(i,e){this.platformId=i;this.service=e;o(this,"destroyRef",_(P));o(this,"sEOService",_(V));o(this,"hiddenTags",b([]));o(this,"isBrowser",b(!1));o(this,"onLoading",b(!1));o(this,"mappingId",B(""));o(this,"data",b({}));o(this,"realIndex",b(0));o(this,"readyToshow",b(!1));o(this,"customOptions",b({loop:!0,items:1,autoplay:!0,autoplayTimeout:3e3,autoplayHoverPause:!1,dots:!0,nav:!1}));this.isBrowser.set(A(this.platformId))}ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getBanner$(this.mappingId()).pipe(T(this.destroyRef),rt(i=>{var t;let e=((t=i.bannerSettingBase)!=null?t:[]).filter(n=>n.isOn&&n.pcImageUrl&&n.mbImageUrl);return _t(at({},i),{bannerSettingBase:e})}),C(i=>{var t;let e=(t=i.carouselInterval)!=null?t:5;this.customOptions.update(n=>_t(at({},n),{autoplayTimeout:e*1e3})),this.data.set(i)}),X(()=>this.onLoading.set(!1))).subscribe()}ngAfterViewInit(){this.isBrowser()&&(this.onLoading.set(!0),setTimeout(()=>{this.onLoading.set(!1),this.readyToshow.set(!0)},1200))}onTranslated(i){(i==null?void 0:i.startPosition)!==void 0&&this.realIndex.set(i.startPosition)}setHiddenTags(i=""){i&&this.sEOService.apiSEOSEOTitleGet(i).pipe(T(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}}
prev
next
中租迪和股份有限公司
為企業客戶量身規劃
提供您隨時的企業資金救援!
class te{constructor(i,e){this.platformId=i;this.service=e;o(this,"destroyRef",_(P));o(this,"sEOService",_(V));o(this,"hiddenTags",b([]));o(this,"mappingId",B(""));o(this,"isBrowser",b(!1));o(this,"onLoading",b(!1));o(this,"data",b([]));o(this,"mainActiveItem",b(null));o(this,"subActiveItem",b(null));o(this,"subSelected","\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u4E00");o(this,"mainTabs",[{name:"\u6F01\u696D\u66A8\u5B58\u8CA8\u4E00",selected:!0},{name:"\u6F01\u696D\u66A8\u5B58\u8CA8\u4E8C",selected:!1},{name:"\u6F01\u696D\u66A8\u5B58\u8CA8\u4E09",selected:!1},{name:"\u6F01\u696D\u66A8\u5B58\u8CA8\u56DB",selected:!1},{name:"\u6F01\u696D\u66A8\u5B58\u8CA8\u4E94",selected:!1},{name:"\u6F01\u696D\u66A8\u5B58\u8CA8\u516D",selected:!1}]);o(this,"subTabs",[{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u4E00",selected:!0},{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u4E8C",selected:!1},{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u4E09",selected:!1},{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u56DB",selected:!1},{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u4E94",selected:!1},{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u516D",selected:!1},{name:"\u9019\u662F\u5B50\u9801\u7C64\u540D\u7A31\u4E03",selected:!1}]);this.isBrowser.set(A(this.platformId))}ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getModuleData$(this.mappingId()).pipe(T(this.destroyRef),rt(i=>(i.content1Detail.map((e,t)=>{e.selected=!1,t===0&&(e.selected=!0);let n=e.subTabBase.filter(r=>r.rightTitle&&r.rightContent);n.map((r,d)=>{r.selected=!1,d===0&&(r.selected=!0)}),e.subTabBase=n}),i)),C(i=>{var e;this.data.set(i),this.mainActiveItem.set(i.content1Detail[0]),this.selectedSubTab((e=i.content1Detail[0])==null?void 0:e.subTabBase[0])}),X(()=>{this.onLoading.set(!1)})).subscribe()}selectedMainTab(i){this.mainActiveItem.set(null),this.data.update(e=>(e.content1Detail.map(t=>{t.selected=!1,i.content1Id===t.content1Id&&(this.mainActiveItem.set(t),this.selectedSubTab(t.subTabBase[0]),t.selected=!0)}),e))}selectedSubTab(i){this.subActiveItem(null),this.mainActiveItem().subTabBase.forEach(e=>{e.selected=!1,e.subTabId===i.subTabId&&(e.selected=!0,this.subSelected=e.subTabId,this.subActiveItem.set(e))})}selectedTabMb(i){this.subActiveItem(null),this.mainActiveItem().subTabBase.forEach(e=>{e.selected=!1,e.subTabId===i.value&&(e.selected=!0,this.subSelected=e.subTabId,this.subActiveItem.set(e))})}onLinkClick(i,e){e||i.preventDefault()}setHiddenTags(i=""){i&&this.sEOService.apiSEOSEOTitleGet(i).pipe(T(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}}
class ae{constructor(i,e){this.platformId=i;this.service=e;o(this,"destroyRef",_(P));o(this,"ROUTES_CONSTANT",We);o(this,"sEOService",_(V));o(this,"hiddenTags",b([]));o(this,"mappingId",B(""));o(this,"isBrowser",b(!1));o(this,"onLoading",b(!1));o(this,"activeItem",b(null));o(this,"pageState",b({}));this.isBrowser.set(A(this.platformId))}ngOnInit(){this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getModuleData$(this.mappingId()).pipe(T(this.destroyRef),C(i=>{this.pageState.set(i),i||this.onLoading.set(!1)}),X(()=>{this.onLoading.set(!1)})).subscribe()}setHiddenTags(i=""){i&&this.sEOService.apiSEOSEOTitleGet(i).pipe(T(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}}
class oe{constructor(i,e){this.platformId=i;this.service=e;o(this,"destroyRef",_(P));o(this,"sEOService",_(V));o(this,"hiddenTags",b([]));o(this,"mappingId",B(""));o(this,"isBrowser",b(!1));o(this,"onLoading",b(!1));o(this,"activeItem",b(null));o(this,"pageState",b({}));this.isBrowser.set(A(this.platformId))}ngOnInit(){this.isBrowser()&&(this.onLoading.set(!0),this.setHiddenTags(this.mappingId()),this.service.getModuleData$(this.mappingId()).pipe(T(this.destroyRef),C(i=>{this.pageState.set(i)}),X(()=>{this.onLoading.set(!1)})).subscribe())}setHiddenTags(i=""){i&&this.sEOService.apiSEOSEOTitleGet(i).pipe(T(this.destroyRef)).subscribe(e=>{this.hiddenTags.set(e)})}}
class de{constructor(i){this.platformId=i;o(this,"isBrowser",b(!1));o(this,"pageState",b([]));o(this,"mappingId",B(""));o(this,"dialog",_(Qe));o(this,"service",_(yi));this.isBrowser.set(A(this.platformId))}ngAfterViewInit(){this.isBrowser()&&this.service.getData$(this.mappingId()).pipe(C(i=>{this.pageState.set(i)})).subscribe()}onClick(i){this.dialog.open(Ki,{data:i,position:{}})}}