userPointDetailList.vue
968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<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>