添加 邀请类型 关联账号

This commit is contained in:
2026-03-12 16:54:48 +08:00
parent bfd8748554
commit 919f1ad650
3 changed files with 8 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ export default {
invitationType: 'invitationType', invitationType: 'invitationType',
invitationType1: 'Regular', invitationType1: 'Regular',
invitationType2: 'Golden', invitationType2: 'Golden',
invitationType3: 'Linked Account',
liveSessions: 'Live Sessions', liveSessions: 'Live Sessions',
viewSessions: 'View Sessions', viewSessions: 'View Sessions',
liveRevenue: 'Live Revenue', liveRevenue: 'Live Revenue',

View File

@@ -93,6 +93,7 @@ export default {
invitationType: '邀请类型', invitationType: '邀请类型',
invitationType1: '普票', invitationType1: '普票',
invitationType2: '进阶票', invitationType2: '进阶票',
invitationType3: '关联账号',
liveSessions: '直播场次', liveSessions: '直播场次',
viewSessions: '查看场次', viewSessions: '查看场次',
liveRevenue: '直播收益', liveRevenue: '直播收益',

View File

@@ -102,8 +102,12 @@
<!-- Invitation Type --> <!-- Invitation Type -->
<td class="py-4 px-2 border-b border-slate-50 group-last:border-none"> <td class="py-4 px-2 border-b border-slate-50 group-last:border-none">
<span class="px-3 py-1 text-[10px] font-bold uppercase rounded-full" <span class="px-3 py-1 text-[10px] font-bold uppercase rounded-full"
:class="row.invitationType == 1 ? 'bg-green-50 text-green-600' : 'bg-amber-50 text-amber-600'"> :class="{
{{ row.invitationType == 1 ? $t('hostList.invitationType1') : $t('hostList.invitationType2') }} 'bg-green-50 text-green-600': row.invitationType == 1,
'bg-amber-50 text-amber-600': row.invitationType == 2,
'bg-blue-50 text-blue-600': row.invitationType == 3
}">
{{ row.invitationType == 1 ? $t('hostList.invitationType1') : row.invitationType == 2 ? $t('hostList.invitationType2') : $t('hostList.invitationType3') }}
</span> </span>
</td> </td>