applyActive.fbb15302.js 1.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["applyActive"],{"0ab2":function(t,a,e){"use strict";var n=e("dadf"),i=e.n(n);i.a},"19ef":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"apply"},[e("van-sticky",[e("m-header",{attrs:{backUrl:t.backUrl,isFixed:!1}})],1),e("van-tabs",{staticClass:"vanTabs",attrs:{"offset-top":"0.44rem",color:"#01C1B5"},on:{change:t.onChange},model:{value:t.active,callback:function(a){t.active=a},expression:"active"}},[e("van-tab",{attrs:{title:"VIP排课",name:2}},[2==t.active?e("vip-course",{staticClass:"marginTop",on:{reLoad:t.reLoad}}):t._e()],1),e("van-tab",{attrs:{title:"乐理课排课",name:3}},[3===t.active?e("theory-course",{staticClass:"marginTop",on:{reLoad:t.reLoad}}):t._e()],1)],1)],1)},i=[],r=e("a34a"),o=e.n(r),c=e("6e6e"),s=e("fa8b"),u=e("26a8");function v(t,a,e,n,i,r,o){try{var c=t[r](o),s=c.value}catch(u){return void e(u)}c.done?a(s):Promise.resolve(s).then(n,i)}function l(t){return function(){var a=this,e=arguments;return new Promise(function(n,i){var r=t.apply(a,e);function o(t){v(r,n,i,o,c,"next",t)}function c(t){v(r,n,i,o,c,"throw",t)}o(void 0)})}}var f={name:"applyActive",components:{MHeader:c["a"],VipCourse:s["a"],TheoryCourse:u["a"]},data:function(){return{backUrl:{status:!0,path:"/home"},active:2,organLists:[]}},mounted:function(){var t=l(o.a.mark(function t(){return o.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:this.$route.query.active&&(this.active=this.$route.query.active),document.title="考级活动";case 2:case"end":return t.stop()}},t,this)}));function a(){return t.apply(this,arguments)}return a}(),methods:{onChange:function(){},beforeChange:function(){},reLoad:function(t){var a=this;this.active=t+1,this.$nextTick(function(){a.active=t})}}},p=f,h=(e("0ab2"),e("2877")),d=Object(h["a"])(p,n,i,!1,null,"41ac3674",null);a["default"]=d.exports},dadf:function(t,a,e){}}]);