|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <!-- <van-tabs v-model="active" swipe-threshold="3" sticky class="vanTabs" @change="onChange" color="#01C1B5">
|
|
|
+ <van-tabs v-model="active" swipe-threshold="3" sticky class="vanTabs" @change="onChange" color="#01C1B5">
|
|
|
<van-tab title="VIP申请" :name="1">
|
|
|
<vip-00-apply v-if="active === 1" />
|
|
|
</van-tab>
|
|
@@ -12,21 +12,21 @@
|
|
|
<van-tab title="考级乐理排课" :name="4">
|
|
|
<theory-course v-if="active === 4" />
|
|
|
</van-tab>
|
|
|
- </van-tabs> -->
|
|
|
- <vip-00-apply />
|
|
|
+ </van-tabs>
|
|
|
+ <!-- <vip-00-apply /> -->
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import vip00Apply from './VIP00Apply'
|
|
|
-// import vip11Apply from './VIP11Apply'
|
|
|
-// import VipCourse from "../applyActive/components/vipCourse";
|
|
|
-// import TheoryCourse from "../applyActive/components/theoryCourse";
|
|
|
+import vip11Apply from './VIP11Apply'
|
|
|
+import VipCourse from "../applyActive/components/vipCourse";
|
|
|
+import TheoryCourse from "../applyActive/components/theoryCourse";
|
|
|
export default {
|
|
|
components: {
|
|
|
vip00Apply,
|
|
|
- // vip11Apply,
|
|
|
- // VipCourse,
|
|
|
- // TheoryCourse
|
|
|
+ vip11Apply,
|
|
|
+ VipCourse,
|
|
|
+ TheoryCourse
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -42,17 +42,17 @@ export default {
|
|
|
document.title = '课程申请'
|
|
|
},
|
|
|
methods: {
|
|
|
- // onChange(value) {
|
|
|
- // if(value == 1) {
|
|
|
- // document.title = 'VIP课程申请'
|
|
|
- // } else if(value == 2) {
|
|
|
- // document.title = '双十一排课'
|
|
|
- // } else if(value == 3) {
|
|
|
- // document.title = '考级VIP排课'
|
|
|
- // } else if(value == 4) {
|
|
|
- // document.title = '考级乐理排课'
|
|
|
- // }
|
|
|
- // }
|
|
|
+ onChange(value) {
|
|
|
+ if(value == 1) {
|
|
|
+ document.title = 'VIP课程申请'
|
|
|
+ } else if(value == 2) {
|
|
|
+ document.title = '双十一排课'
|
|
|
+ } else if(value == 3) {
|
|
|
+ document.title = '考级VIP排课'
|
|
|
+ } else if(value == 4) {
|
|
|
+ document.title = '考级乐理排课'
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|