style(主播政策页): 隐藏主播的总工资

This commit is contained in:
hzj 2025-11-18 18:09:48 +08:00
parent b975877db1
commit 23283ef37c
2 changed files with 4 additions and 2 deletions

View File

@ -89,7 +89,6 @@ export const ROLE_PERMISSIONS = {
'/invite-agency', //邀请代理
'/team-member',
'/history-salary',
'/platform-salary',
'/available-income', //操作收益页
'/income-details', //操作结果页
'/policy', //政策页

View File

@ -75,7 +75,10 @@
<div style="font-weight: 600">{{ t('agent_salary') }}</div>
<div style="font-weight: 500">${{ policy.ownSalary || 0 }}</div>
</div>
<div style="display: flex; flex-direction: column; align-items: center; gap: 5px">
<div
v-if="fromPage"
style="display: flex; flex-direction: column; align-items: center; gap: 5px"
>
<div style="font-weight: 600">{{ t('total_salary') }}</div>
<div style="font-weight: 500">${{ policy.totalSalary || 0 }}</div>
</div>