(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49ecccd7"],{"14d4":function(t,e,i){"use strict";i.d(e,"c",(function(){return a})),i.d(e,"b",(function(){return s})),i.d(e,"d",(function(){return o})),i.d(e,"e",(function(){return c})),i.d(e,"g",(function(){return r})),i.d(e,"f",(function(){return u})),i.d(e,"a",(function(){return h}));var n=i("284b"),a=function(t){return n["a"].post("/appv2/active/anniversary/login",t)},s=function(t){return n["a"].post("/appv2/active/anniversary/home",t)},o=function(t){return n["a"].post("/appv2/actice/anniversary/ranking",t)},c=function(t){return n["a"].post("/appv2/active/anniversary/receiveCourse",t)},r=function(t){return n["a"].post("/appv2/active/anniversary/receiveResult",t)},u=function(t){return n["a"].post("/appv2/actice/anniversary/receiveGift",t)},h=function(t){return n["a"].post("/appv2/active/anniversary/event",t)}},"19be":function(t,e,i){"use strict";i("302b")},"302b":function(t,e,i){},"74d9":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"wechat-title",rawName:"v-wechat-title",value:t.title,expression:"title"}],staticClass:"content"},[i("img",{staticClass:"bgc",attrs:{src:"https://test-kodo.shenyiedu.com//image/20230106/1611195665210281984.jpg",alt:""}}),i("div",{staticClass:"classBottom"},[i("img",{attrs:{src:"https://test-kodo.shenyiedu.com//image/20221229/1608369007449214976.png",alt:""},on:{click:t.jumpLanding}}),i("img",{attrs:{src:"https://test-kodo.shenyiedu.com//image/20221229/1608369099073785856.png",alt:""},on:{click:t.showWinter}})]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.maskShow,expression:"maskShow"}],staticClass:"mask"},[i("div",{staticClass:"box"},[i("img",{staticClass:"boxBgc",attrs:{src:"https://test-kodo.shenyiedu.com//image/20230106/1611233207632662528.png",alt:""}}),i("img",{staticClass:"gbClick",attrs:{src:"https://test-kodo.shenyiedu.com//image/20221229/1608369306540838912.png",alt:""},on:{click:function(e){t.maskShow=!1}}}),i("div",{staticClass:"boxs"},[i("img",{staticClass:"qrcode",attrs:{src:"https://test-kodo.shenyiedu.com//image/20230106/1611309320706854912.jpg",alt:""},on:{touchstart:t.gotouchstart,touchmove:t.gotouchmove,touchend:t.gotouchend}}),i("span",[t._v("【长按识别二维码】")])])])])])},a=[],s=(i("ac1f"),i("466d"),i("d466")),o=i("14d4"),c={name:"",data:function(){return{title:"寒假预习营招生啦",maskShow:!1,channel:"",timeOutEvent:0}},created:function(){this.channel=this.$route.params.channel},methods:{isApp:function(){var t=navigator.userAgent.toLowerCase();return-1!==t.indexOf("syds")},appSource:function(){var t=navigator.userAgent,e=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return e?"ios":"android"},isH5Xcv:function(){Object(s["T"])({appId:"wx4be3bb2d54d418f7",path:"pages/home/home",queryStr:"from=".concat(this.channel)}).then((function(t){var e=t.code,i=t.data;200==e&&(window.location.href=i.openlink)}))},jumpLanding:function(){if(this.isApp()){var t={targetType:"5",targetText:"gh_d91a1cea8408",activityName:"寒假活动"},e=JSON.stringify(t);"ios"===this.appSource()?window.webkit.messageHandlers.jumpLandingPage.postMessage(e):window.syds.jumpLandingPage(e)}else this.initClick("H5_hanjia_booking"),this.isH5Xcv()},showWinter:function(){if(this.isApp()){var t="https://test-kodo.shenyiedu.com//image/20230106/1611309102238142464.jpg";"ios"===this.appSource()?window.webkit.messageHandlers.showWinterHolidayActivityDialog.postMessage(t):window.syds.showWinterHolidayActivityDialog(t)}else this.initClick("H5_hanjia_join"),this.maskShow=!0},gotouchstart:function(){var t=this;clearTimeout(t.timeOutEvent),t.timeOutEvent=0,t.timeOutEvent=setTimeout((function(){t.initClick("H5_hanjia_code")}),800)},gotouchend:function(){clearTimeout(this.timeOutEvent),this.timeOutEvent},gotouchmove:function(){clearTimeout(this.timeOutEvent),this.timeOutEvent=0},initClick:function(t){var e=this,i={eventName:t,platform:this.channel};Object(o["a"])(i).then((function(t){var i=t.code,n=(t.data,t.msg);200==i?console.log(n):e.$toast(n)}))}}},r=c,u=(i("19be"),i("2877")),h=Object(u["a"])(r,n,a,!1,null,"d00fcfb2",null);e["default"]=h.exports}}]);