chore(我的BD团队列表页面): 新增阿语翻译并调整more按钮布局
This commit is contained in:
parent
7422b164e1
commit
7207c2c372
@ -385,5 +385,9 @@
|
||||
"agency_label": "الوكالة:",
|
||||
"team_total_income_text": "إجمالي دخل الفريق:",
|
||||
"team_total_income_text_capitalized": "إجمالي دخل الفريق:",
|
||||
"bd_income_label": "دخل BD:"
|
||||
"bd_income_label": "دخل BD:",
|
||||
|
||||
"bds_label": "BD:",
|
||||
"bd_id_label": "معرف BD:",
|
||||
"agency_team_income": "دخل فريق الوكالة :"
|
||||
}
|
||||
|
||||
@ -385,5 +385,9 @@
|
||||
"agency_label": "Agency:",
|
||||
"team_total_income_text": "Team total Income:",
|
||||
"team_total_income_text_capitalized": "Team Total income:",
|
||||
"bd_income_label": "BD Income:"
|
||||
"bd_income_label": "BD Income:",
|
||||
|
||||
"bds_label": "BDs:",
|
||||
"bd_id_label": "BD's lD:",
|
||||
"agency_team_income": "Agency Team Income :"
|
||||
}
|
||||
|
||||
@ -385,5 +385,9 @@
|
||||
"agency_label": "代理:",
|
||||
"team_total_income_text": "团队总收入:",
|
||||
"team_total_income_text_capitalized": "团队总收入:",
|
||||
"bd_income_label": "BD收入:"
|
||||
"bd_income_label": "BD收入:",
|
||||
|
||||
"bds_label": "BD:",
|
||||
"bd_id_label": "BD ID:",
|
||||
"agency_team_income": "代理团队收入 :"
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@
|
||||
{{ BDLeaderInfo.userName || '-' }}
|
||||
</div>
|
||||
<div style="color: rgba(0, 0, 0, 0.4); font-size: 0.8em; font-weight: 500">
|
||||
ID:{{ BDLeaderInfo.account || '-' }}
|
||||
{{ t('user_id_prefix') }} {{ BDLeaderInfo.account || '-' }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<!-- 顶部导航 -->
|
||||
<GeneralHeader
|
||||
:showLanguageList="true"
|
||||
title="My BD Teams"
|
||||
:title="t('my_bd_teams')"
|
||||
color="black"
|
||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
||||
/>
|
||||
@ -35,11 +35,11 @@
|
||||
"
|
||||
>
|
||||
<div style="display: flex; align-items: flex-end">
|
||||
<div style="font-weight: 600; font-size: 0.9em">Total income:</div>
|
||||
<div style="font-weight: 600; font-size: 0.9em">{{ t('total_income') }}</div>
|
||||
<div style="font-weight: 700">${{ TeamOverview?.totalIncome || 0 }}</div>
|
||||
</div>
|
||||
<div style="display: flex; align-items: flex-end">
|
||||
<div style="font-weight: 600; font-size: 0.9em">Previous period income:</div>
|
||||
<div style="font-weight: 600; font-size: 0.9em">{{ t('previous_period_income') }}</div>
|
||||
<div style="font-weight: 700">${{ TeamOverview?.previousPeriodIncome || 0 }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -60,9 +60,9 @@
|
||||
"
|
||||
>
|
||||
<!-- 团队信息 -->
|
||||
<div style="font-weight: 700">BDs:{{ TeamOverview?.memberCount || 0 }}</div>
|
||||
<div style="font-weight: 700">{{ t('bds_label') }}{{ TeamOverview?.memberCount || 0 }}</div>
|
||||
<div style="font-size: 0.9em; font-weight: 600">
|
||||
Team Total Income: ${{ TeamOverview?.teamTotalIncome || 0 }}
|
||||
{{ t('team_total_income_label') }} ${{ TeamOverview?.teamTotalIncome || 0 }}
|
||||
</div>
|
||||
|
||||
<!-- BD成员列表 -->
|
||||
@ -129,7 +129,7 @@
|
||||
{{ BDInfo.userName || '-' }}
|
||||
</div>
|
||||
<div style="color: rgba(0, 0, 0, 0.4); font-size: 0.8em; font-weight: 500">
|
||||
ID:{{ BDInfo.account || '-' }}
|
||||
{{ t('user_id_prefix') }} {{ BDInfo.account || '-' }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -145,26 +145,15 @@
|
||||
"
|
||||
>
|
||||
<div style="font-size: 0.8em; font-weight: 500; text-align: end">
|
||||
Number Of Agencies Personnel: {{ BDInfo?.subMemberCount || 0 }}
|
||||
{{ t('number_of_agencies_personnel_label') }} {{ BDInfo?.subMemberCount || 0 }}
|
||||
</div>
|
||||
<div style="font-size: 0.8em; font-weight: 500; text-align: end">
|
||||
Total Income: ${{ BDInfo?.totalIncome || 0 }}
|
||||
{{ t('total_income') }} ${{ BDInfo?.totalIncome || 0 }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 更多按钮 -->
|
||||
<div
|
||||
style="
|
||||
font-size: 0.8em;
|
||||
|
||||
position: absolute;
|
||||
bottom: 4%;
|
||||
right: 4%;
|
||||
color: #bb92ff;
|
||||
font-weight: 500;
|
||||
"
|
||||
@click="incomeShow(BDInfo)"
|
||||
>
|
||||
<div class="moreBt" @click="incomeShow(BDInfo)">
|
||||
{{ t('more') }}
|
||||
</div>
|
||||
</div>
|
||||
@ -191,7 +180,7 @@
|
||||
>
|
||||
<div style="display: flex; justify-content: center; align-items: center">
|
||||
<div style="margin: 0; font-weight: 600; color: #333">
|
||||
BD's lD: {{ moreUserAccount }}
|
||||
{{ t('bd_id_label') }} {{ moreUserAccount }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -216,7 +205,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="font-weight: 600">Income Details:</div>
|
||||
<div style="font-weight: 600">{{ t('income_details_label') }}</div>
|
||||
|
||||
<!-- 历史薪资列表 -->
|
||||
<div style="overflow-y: auto" class="salaryList">
|
||||
@ -232,11 +221,10 @@
|
||||
>
|
||||
<template v-slot:content>
|
||||
<div>{{ incomeInfo.settlementPeriod }}</div>
|
||||
|
||||
<div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px">
|
||||
<div>Agency: {{ incomeInfo.memberCount }}</div>
|
||||
<div>{{ t('agency_label') }} {{ incomeInfo.memberCount }}</div>
|
||||
<!-- 团队收入 -->
|
||||
<div>Team total Income: ${{ incomeInfo.teamTotalIncome }}</div>
|
||||
<div>{{ t('team_total_income_text') }} ${{ incomeInfo.teamTotalIncome }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</historySalary>
|
||||
@ -249,9 +237,9 @@
|
||||
>
|
||||
<template v-slot:content>
|
||||
<div>{{ incomeInfo.settlementPeriod }}</div>
|
||||
<div>Agency: {{ incomeInfo.memberCount }}</div>
|
||||
<div>{{ t('agency_label') }} {{ incomeInfo.memberCount }}</div>
|
||||
<!-- 团队收入 -->
|
||||
<div>Team total Income: ${{ incomeInfo.teamTotalIncome }}</div>
|
||||
<div>{{ t('team_total_income_text') }} ${{ incomeInfo.teamTotalIncome }}</div>
|
||||
</template>
|
||||
</historySalary>
|
||||
</div>
|
||||
@ -276,10 +264,10 @@
|
||||
<div style="font-weight: 600">{{ incomeDetailsItem.settlementPeriod }}</div>
|
||||
<div style="display: flex; justify-content: space-between">
|
||||
<div style="font-size: 0.8em; font-weight: 600">
|
||||
Agency: {{ incomeDetailsItem.memberCount }}
|
||||
{{ t('agency_label') }} {{ incomeDetailsItem.memberCount }}
|
||||
</div>
|
||||
<div style="font-size: 0.8em; font-weight: 600">
|
||||
Team Total income: ${{ incomeDetailsItem.teamTotalIncome }}
|
||||
{{ t('team_total_income_text_capitalized') }} ${{ incomeDetailsItem.teamTotalIncome }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -345,7 +333,7 @@
|
||||
{{ member.userName }}
|
||||
</div>
|
||||
<div style="color: rgba(0, 0, 0, 0.4); font-size: 0.8em; font-weight: 500">
|
||||
ID:{{ member.account }}
|
||||
{{ t('user_id_prefix') }} {{ member.account }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -360,7 +348,7 @@
|
||||
justify-content: space-around;
|
||||
"
|
||||
>
|
||||
<div style="font-size: 0.8em; font-weight: 500">Agency Team Income :</div>
|
||||
<div style="font-size: 0.8em; font-weight: 500">{{ t('agency_team_income') }}</div>
|
||||
<div style="font-size: 0.8em; font-weight: 500">${{ member.income }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -492,6 +480,21 @@ onMounted(() => {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.moreBt {
|
||||
font-size: 0.8em;
|
||||
|
||||
position: absolute;
|
||||
bottom: 4%;
|
||||
right: 4%;
|
||||
color: #bb92ff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
[dir='rtl'] .moreBt {
|
||||
left: 4%;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 360px) {
|
||||
* {
|
||||
font-size: 10px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user