|
|
|
@@ -19,9 +19,10 @@ |
|
|
|
<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> |
|
|
|
<el-button class="__copy_link_btn__" type="primary" style="background:rgb(21, 114, 255);">{{ $t('user.copyRegistrationInvitationLink') }}</el-button> |
|
|
|
</div> |
|
|
|
<div class="qr-code"> |
|
|
|
<div id="__qr-code__" style="width:120px;height:120px;"></div> |
|
|
|
@@ -30,7 +31,7 @@ |
|
|
|
<div class="table-container"> |
|
|
|
<div> |
|
|
|
<el-table border :data="tableData" style="width:100%" v-loading="loading" stripe> |
|
|
|
<el-table-column prop="ID" :label="$t('user.invitedFriends')" align="left" header-align="center"> |
|
|
|
<el-table-column prop="ID" :label="$t('user.invitedFriends')" align="left" header-align="left"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display:flex;align-items:center;padding-left:20px;"> |
|
|
|
<img :src="scope.row.avatarSrc" alt="" style="height:45px;width:45px;margin-right:10px;" /> |
|
|
|
@@ -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) => { |
|
|
|
|