|
|
|
@@ -19,7 +19,8 @@ |
|
|
|
<div class="txt-1"> |
|
|
|
<span>{{ pageOpeniDesc }}</span> |
|
|
|
</div> |
|
|
|
<div class="txt-2"><span>{{ invitationLink + invitationCode }}</span></div> |
|
|
|
<div class="txt-2"><span>{{ $t('user.registrationAdress') }}</span><span>{{ invitationLink + invitationCode |
|
|
|
}}</span></div> |
|
|
|
<div class="txt-3"><span>{{ $t('user.recommender') }}</span><span>{{ invitationCode }}</span></div> |
|
|
|
<el-button class="__copy_link_btn__" type="primary">{{ $t('user.copyRegistrationInvitationLink') }}</el-button> |
|
|
|
</div> |
|
|
|
@@ -47,7 +48,7 @@ |
|
|
|
</el-table-column> |
|
|
|
<template slot="empty"> |
|
|
|
<span style="font-size: 12px">{{ |
|
|
|
loading ? $t('loading') : $t('noData') |
|
|
|
loading ? $t('loading') : $t('noData') |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-table> |
|
|
|
@@ -98,7 +99,7 @@ export default { |
|
|
|
initCopy() { |
|
|
|
const clipboard = new Clipboard('.__copy_link_btn__', { |
|
|
|
text: () => { |
|
|
|
return this.invitationLink + this.invitationCode; |
|
|
|
return `${this.pageOpeniDesc}\n${this.$t('user.registrationAdress')}${this.invitationLink + this.invitationCode}\n${this.$t('user.recommender')}${this.invitationCode}`; |
|
|
|
}, |
|
|
|
}); |
|
|
|
clipboard.on('success', (e) => { |
|
|
|
|