urgeCourse.vue 896 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="column hidden" style="height: 100%;">
  3. <view class="p20 bgf" style="z-index: 999;">
  4. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff"
  5. :fontSize="15" :bold="false" @change="sectionChange"></u-subsection>
  6. </view>
  7. <qiweiUrgeCourse v-if="current==0"></qiweiUrgeCourse>
  8. <userUrgeCourse v-else></userUrgeCourse>
  9. </view>
  10. </template>
  11. <script>
  12. import qiweiUrgeCourse from "@/components/qiweiUrgeCourse.vue"
  13. import userUrgeCourse from "@/components/userUrgeCourse.vue"
  14. export default {
  15. components: {
  16. qiweiUrgeCourse,
  17. userUrgeCourse
  18. },
  19. data() {
  20. return {
  21. list: [{
  22. name: '企微',
  23. }, {
  24. name: '注册会员'
  25. }],
  26. current:0
  27. }
  28. },
  29. onShow() {
  30. },
  31. methods: {
  32. sectionChange(index){
  33. this.current=index
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. </style>