...
|
...
|
@@ -4,7 +4,7 @@ |
|
|
<div class="body-wrapper">
|
|
|
<InviteCode class="mg" :data="inviteCode"></InviteCode>
|
|
|
<FriendList class="mg" :list="inviteCode.inviteRecordList" v-if="inviteCode.inviteRecordList.length > 0"></FriendList>
|
|
|
<BankStatus class="mg" :card="card"></BankStatus>
|
|
|
<BankStatus class="mg" :card="getBandLength"></BankStatus>
|
|
|
<RecordList class="mg" :list="recordList"></RecordList>
|
|
|
<DescPage class="mg"></DescPage>
|
|
|
</div>
|
...
|
...
|
@@ -20,12 +20,13 @@ import DescPage from '../components/desc'; |
|
|
import BannerPage from './components/banner';
|
|
|
import {createNamespacedHelpers} from 'vuex';
|
|
|
|
|
|
const {mapState} = createNamespacedHelpers('invite/invite');
|
|
|
const {mapState, mapGetters} = createNamespacedHelpers('invite/invite');
|
|
|
|
|
|
export default {
|
|
|
name: 'detailPage',
|
|
|
computed: {
|
|
|
...mapState(['recordList', 'inviteCode'])
|
|
|
...mapState(['recordList', 'inviteCode']),
|
|
|
...mapGetters(['getBandLength'])
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
...
|
...
|
@@ -33,9 +34,6 @@ export default { |
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$store.dispatch('mine/bankCard/fetchBankCard', null, { root: true }).then(result => {
|
|
|
this.card = result.data;
|
|
|
});
|
|
|
},
|
|
|
components: {
|
|
|
InviteCode,
|
...
|
...
|
|