Skip to content
6.js 16.5 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
webpackJsonp([6],{1065:function(l,n,u){"use strict";u(0),u(1),u(1067),u(1066);u.d(n,"a",function(){return e});var e=function(){return function(){}}()},1066:function(l,n,u){"use strict";u.d(n,"a",function(){return e});u(0);var e=function(){function l(){}return l.prototype.transform=function(l){for(var n=[],u=1;u<arguments.length;u++)n[u-1]=arguments[u];var e=Math.floor(l/3600).toString();e=e.length>1?e:"0"+e;var t=Math.floor(l/60).toString();t=(t=t%60==0?0:t).length>1?t:"0"+t;var d=Math.floor(l%60).toString();return e+":"+t+":"+(d=d.length>1?d:"0"+d)},l}()},1067:function(l,n,u){"use strict";u.d(n,"a",function(){return e});u(0);var e=function(){function l(){}return l.prototype.transform=function(l){for(var n=[],u=1;u<arguments.length;u++)n[u-1]=arguments[u];return String.fromCharCode(64+~~l)},l}()},983:function(l,n,u){"use strict";function e(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,23,"div",[["class","sign-info"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵeld"](2,0,null,null,1,"p",[["class","info-title"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["报名信息"])),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵeld"](5,0,null,null,17,"div",[["class","content-item"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](7,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["携带人数:"])),(l()(),f["ɵeld"](11,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](12,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](15,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](17,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["报名备注:"])),(l()(),f["ɵeld"](19,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](20,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵted"](-1,null,["\n          "]))],null,function(l,n){var u=n.component;l(n,12,0,null==u.order?null:u.order.personnumber);l(n,20,0,null==u.order?null:u.order.orderbz)})}function t(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,1,"span",[["class","button-btn button-btn2"],["tappable",""]],null,[[null,"click"]],function(l,n,u){var e=!0;if("click"===n){e=!1!==l.component.sureCancelOrder()&&e}return e},null,null)),(l()(),f["ɵted"](-1,null,["取消报名"]))],null,null)}function d(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,1,"span",[["class","button-btn button-btn1"],["tappable",""]],null,[[null,"click"]],function(l,n,u){var e=!0;if("click"===n){e=!1!==l.component.reelectBatch()&&e}return e},null,null)),(l()(),f["ɵted"](-1,null,["订单确认"]))],null,null)}function a(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,7,null,null,null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                "])),(l()(),f["ɵand"](16777216,null,null,1,null,t)),f["ɵdid"](3,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n                "])),(l()(),f["ɵand"](16777216,null,null,1,null,d)),f["ɵdid"](6,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n              "]))],function(l,n){var u=n.component;l(n,3,0,1==u.batch.order.orderstate);l(n,6,0,2==u.batch.order.orderstate)},null)}function i(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                    "])),(l()(),f["ɵeld"](2,0,null,null,1,"span",[["class","button-btn button-btn3"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["立即报名"])),(l()(),f["ɵted"](-1,null,["\n                  "]))],null,null)}function r(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                    "])),(l()(),f["ɵeld"](2,0,null,null,1,"span",[["class","button-btn button-btn1"],["tappable",""]],null,[[null,"click"]],function(l,n,u){var e=!0;if("click"===n){e=!1!==l.component.goApply()&&e}return e},null,null)),(l()(),f["ɵted"](-1,null,["立即报名"])),(l()(),f["ɵted"](-1,null,["\n                  "]))],null,null)}function o(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,9,null,null,null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                  "])),(l()(),f["ɵted"](-1,null,["\n                  "])),(l()(),f["ɵand"](16777216,null,null,1,null,i)),f["ɵdid"](4,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n                  "])),(l()(),f["ɵted"](-1,null,["\n                  "])),(l()(),f["ɵand"](16777216,null,null,1,null,r)),f["ɵdid"](8,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n                "]))],function(l,n){var u=n.component;l(n,4,0,u.batch.hasSignUpCount==u.batch.batchLimitNumber);l(n,8,0,u.batch.hasSignUpCount<u.batch.batchLimitNumber)},null)}function c(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                    "])),(l()(),f["ɵeld"](2,0,null,null,1,"span",[["class","button-btn button-btn3"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["报名截止"])),(l()(),f["ɵted"](-1,null,["\n                "]))],null,null)}function s(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,8,null,null,null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                "])),(l()(),f["ɵted"](-1,null,["\n                "])),(l()(),f["ɵand"](16777216,null,null,1,null,o)),f["ɵdid"](4,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n                "])),(l()(),f["ɵand"](16777216,null,null,1,null,c)),f["ɵdid"](7,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n              "]))],function(l,n){var u=n.component;l(n,4,0,u.batch.signUp);l(n,7,0,!u.batch.signUp)},null)}function p(l){return f["ɵvid"](0,[f["ɵqud"](402653184,1,{contentSlides:0}),(l()(),f["ɵeld"](1,0,null,null,10,"ion-header",[],null,null,null,null,null)),f["ɵdid"](2,16384,null,0,T.a,[O.a,f.ElementRef,f.Renderer,[2,j.a]],null,null),(l()(),f["ɵted"](-1,null,["\n\n  "])),(l()(),f["ɵeld"](4,0,null,null,6,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,B.b,B.a)),f["ɵdid"](5,49152,null,0,D.a,[E.a,[2,j.a],[2,F.a],O.a,f.ElementRef,f.Renderer],null,null),(l()(),f["ɵted"](-1,3,["\n    "])),(l()(),f["ɵeld"](7,0,null,3,2,"ion-title",[],null,null,null,k.b,k.a)),f["ɵdid"](8,49152,null,0,A.a,[O.a,f.ElementRef,f.Renderer,[2,L.a],[2,D.a]],null,null),(l()(),f["ɵted"](9,0,["",""])),(l()(),f["ɵted"](-1,3,["\n  "])),(l()(),f["ɵted"](-1,null,["\n\n"])),(l()(),f["ɵted"](-1,null,["\n\n\n"])),(l()(),f["ɵeld"](13,0,null,null,94,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,_.b,_.a)),f["ɵdid"](14,4374528,null,0,U.a,[O.a,H.a,x.a,f.ElementRef,f.Renderer,E.a,z.a,f.NgZone,[2,j.a],[2,F.a]],null,null),(l()(),f["ɵted"](-1,1,["\n\n  "])),(l()(),f["ɵeld"](16,0,null,1,90,"ion-slides",[["class","height-190"]],null,[[null,"ionSlideDidChange"]],function(l,n,u){var e=!0;if("ionSlideDidChange"===n){e=!1!==l.component.slideChanged()&&e}return e},Z.b,Z.a)),f["ɵdid"](17,1228800,[[1,4],["contentSlides",4]],0,G.a,[O.a,H.a,f.NgZone,[2,j.a],f.ElementRef,f.Renderer],null,{ionSlideDidChange:"ionSlideDidChange"}),(l()(),f["ɵted"](-1,0,["\n    "])),(l()(),f["ɵeld"](19,0,null,0,86,"ion-slide",[],null,null,null,q.b,q.a)),f["ɵdid"](20,180224,null,0,J.a,[f.ElementRef,f.Renderer,G.a],null,null),(l()(),f["ɵted"](-1,0,["\n      "])),(l()(),f["ɵeld"](22,0,null,0,82,"ion-content",[["direction","y"],["scrollbar-y","true"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,_.b,_.a)),f["ɵdid"](23,4374528,null,0,U.a,[O.a,H.a,x.a,f.ElementRef,f.Renderer,E.a,z.a,f.NgZone,[2,j.a],[2,F.a]],null,null),(l()(),f["ɵted"](-1,1,["\n        "])),(l()(),f["ɵeld"](25,0,null,1,78,"div",[["class","content"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n          "])),(l()(),f["ɵand"](16777216,null,null,1,null,e)),f["ɵdid"](28,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n          "])),(l()(),f["ɵeld"](30,0,null,null,54,"div",[["class","batch-info"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵeld"](32,0,null,null,51,"div",[["class","content-item"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](34,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](36,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["报名截止:"])),(l()(),f["ɵeld"](38,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](39,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](42,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](44,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["出行日期:"])),(l()(),f["ɵeld"](46,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](47,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](50,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](52,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["可携带人数:"])),(l()(),f["ɵeld"](54,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](55,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](58,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](60,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["集合时间:"])),(l()(),f["ɵeld"](62,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](63,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](66,0,null,null,6,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](68,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["集合地点:"])),(l()(),f["ɵeld"](70,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](71,null,["",""])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵeld"](74,0,null,null,8,"p",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](76,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["活动须知:"])),(l()(),f["ɵted"](-1,null,[" "])),(l()(),f["ɵeld"](79,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n                "])),(l()(),f["ɵeld"](81,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵted"](-1,null,["\n          "])),(l()(),f["ɵted"](-1,null,["\n          "])),(l()(),f["ɵeld"](86,0,null,null,16,"div",[["class","content-button"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵeld"](88,0,null,null,3,"div",[["class","button-left"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["报名人数"])),(l()(),f["ɵeld"](90,0,null,null,1,"span",[["class","color-24bafc margin-left-15"]],null,null,null,null,null)),(l()(),f["ɵted"](91,null,["","/",""])),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵeld"](93,0,null,null,8,"div",[["class","button-right"]],null,null,null,null,null)),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵand"](16777216,null,null,1,null,a)),f["ɵdid"](97,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n              "])),(l()(),f["ɵand"](16777216,null,null,1,null,s)),f["ɵdid"](100,16384,null,0,M.j,[f.ViewContainerRef,f.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),f["ɵted"](-1,null,["\n            "])),(l()(),f["ɵted"](-1,null,["\n          "])),(l()(),f["ɵted"](-1,null,["\n        "])),(l()(),f["ɵted"](-1,1,["\n      "])),(l()(),f["ɵted"](-1,0,["\n    "])),(l()(),f["ɵted"](-1,0,["\n  "])),(l()(),f["ɵted"](-1,1,["\n\n"])),(l()(),f["ɵted"](-1,null,["\n"]))],function(l,n){var u=n.component;l(n,28,0,u.batch.order);l(n,97,0,u.batch.order);l(n,100,0,!u.batch.order)},function(l,n){var u=n.component;l(n,4,0,f["ɵnov"](n,5)._hidden,f["ɵnov"](n,5)._sbPadding);l(n,9,0,u.batch.batchName);l(n,13,0,f["ɵnov"](n,14).statusbarPadding,f["ɵnov"](n,14)._hasRefresher);l(n,22,0,f["ɵnov"](n,23).statusbarPadding,f["ɵnov"](n,23)._hasRefresher);l(n,39,0,u.batch.batchEndDate);l(n,47,0,u.batch.batchGoDate);l(n,55,0,u.batch.batchPerNumber);l(n,63,0,u.batch.batchSetTime);l(n,71,0,u.batch.batchSetAddress);l(n,81,0,u.batch.batchNotice);l(n,91,0,u.batch.hasSignUpCount,u.batch.batchLimitNumber)})}Object.defineProperty(n,"__esModule",{value:!0});var f=u(1),h=(u(0),u(8),u(72)),b=u(15),v=function(){function l(l,n,u,e){this.navCtrl=l,this.navParams=n,this.appService=u,this.sanitizer=e,this.batch={batchEndDate:"",signUp:!0,order:null,batchName:"",batchNotice:null},this.order={orderid:""},this.swiperIndex=0}return l.prototype.ionViewDidLoad=function(){this.batch=this.navParams.get("batch");var l=this.batch.batchNotice.replace(/\r?\n/g,"<br />");this.batch.batchNotice=this.sanitizer.bypassSecurityTrustHtml(l),this.activity=this.navParams.get("activity"),this.batch.order&&(this.order=this.batch.order)},l.prototype.initSwiper=function(){this.swiper=new Swiper(".pageMenuSlides .swiper-container",{slidesPreView:3,spaceBetween:0,breakpoints:{1024:{slidesPerView:3,spaceBetween:0},768:{slidesPerView:3,spaceBetween:0},640:{slidesPerView:3,spaceBetween:0},320:{slidesPerView:3,spaceBetween:0}}})},l.prototype.selectPageMenu=function(l){this.swiperIndex=l,this.contentSlides.slideTo(l)},l.prototype.setStyle=function(l){},l.prototype.slideChanged=function(){var l=this.contentSlides.getActiveIndex();this.setStyle(l),this.swiper.slideTo(l,300)},l.prototype.goApply=function(){this.navCtrl.push("ActivityApplyPage",{activity:this.activity,item:this.batch})},l.prototype.sureCancelOrder=function(){var l=this;this.appService.alert("确定取消报名么?",function(n){l.cancelOrder()})},l.prototype.reelectBatch=function(){var l=this;this.appService.ObserverHttpPost("/wisdomgroup/modules/order/findMyOrderByOrderId",{orderid:this.order.orderid}).subscribe(function(n){var u=n.json();l.navCtrl.push("ActivityConfirmPage",{activity:u.activity,order:u})},function(l){})},l.prototype.cancelOrder=function(){var l=this;this.appService.ObserverHttpGetOption("/wisdomgroup/modules/order/deleteOrder",{id:this.batch.order.orderid+","}).subscribe(function(n){l.appService.alert("报名已取消!"),l.navCtrl.pop()},function(l){})},l}(),m=u(1065),g=function(){return function(){}}(),R=u(611),y=u(612),C=u(613),w=u(614),S=u(615),I=u(616),P=u(617),N=u(618),V=u(619),M=u(6),T=u(24),O=u(3),j=u(7),B=u(28),D=u(21),E=u(9),F=u(14),k=u(32),A=u(29),L=u(22),_=u(25),U=u(17),H=u(5),x=u(10),z=u(19),Z=u(296),G=u(106),q=u(297),J=u(129),K=u(12),Q=f["ɵcrt"]({encapsulation:2,styles:[],data:{}}),W=f["ɵccf"]("page-batch-detail",v,function(l){return f["ɵvid"](0,[(l()(),f["ɵeld"](0,0,null,null,1,"page-batch-detail",[],null,null,null,p,Q)),f["ɵdid"](1,49152,null,0,v,[F.a,K.a,b.b,h.c],null,null)],null,null)},{},{},[]),X=u(18),Y=u(288),$=u(111);u.d(n,"BatchDetailPageModuleNgFactory",function(){return ll});var ll=f["ɵcmf"](g,[],function(l){return f["ɵmod"]([f["ɵmpd"](512,f.ComponentFactoryResolver,f["ɵCodegenComponentFactoryResolver"],[[8,[R.a,y.a,C.a,w.a,S.a,I.a,P.a,N.a,V.a,W]],[3,f.ComponentFactoryResolver],f.NgModuleRef]),f["ɵmpd"](4608,M.l,M.k,[f.LOCALE_ID,[2,M.t]]),f["ɵmpd"](4608,X["ɵi"],X["ɵi"],[]),f["ɵmpd"](4608,X.FormBuilder,X.FormBuilder,[]),f["ɵmpd"](512,m.a,m.a,[]),f["ɵmpd"](512,M.b,M.b,[]),f["ɵmpd"](512,X["ɵba"],X["ɵba"],[]),f["ɵmpd"](512,X.FormsModule,X.FormsModule,[]),f["ɵmpd"](512,X.ReactiveFormsModule,X.ReactiveFormsModule,[]),f["ɵmpd"](512,Y.a,Y.a,[]),f["ɵmpd"](512,Y.b,Y.b,[]),f["ɵmpd"](512,g,g,[]),f["ɵmpd"](256,$.a,v,[])])})}});