添加 邀请类型 关联账号

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

@@ -102,8 +102,12 @@
<!-- Invitation Type -->
<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"
:class="row.invitationType == 1 ? 'bg-green-50 text-green-600' : 'bg-amber-50 text-amber-600'">
{{ row.invitationType == 1 ? $t('hostList.invitationType1') : $t('hostList.invitationType2') }}
:class="{
'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>
</td>