userPointDetailList.vue 968 Bytes
<template>
  <div>
    <GLTabs v-model="channelSource" @tab-click="changeTab" :tabPaneList="tabPaneList"></GLTabs>
    <div class="main-wrap">
      <detailList v-show="channelSource == 2" :channelSource="2"></detailList>
      <detailList v-show="channelSource == 1" :channelSource="1"></detailList>
      <detailList v-show="channelSource == 3" :channelSource="3"></detailList>
    </div>
  </div>
</template>

<script>
import detailList from './detailList'
export default {
  name: 'index',

  components: {
    detailList
  },
  data() {
    return {
      size: 'small',
      loading: false,
      channelSource: '2',
      tabPaneList: [
        { name: '2', label: '续保用户' },
        { name: '1', label: '阳光激励用户' },
        { name: '3', label: '管理层' }
      ]
    }
  },
  mounted() { },
  methods: {
    changeTab() { }
  }
}
</script>

<style lang="scss" scoped>
.main-wrap {
  background-color: #fff;
  margin-top: 16px;
}
</style>