From d23e077dd254300975881de635d6bcba0624c059 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Thu, 11 Dec 2025 19:49:47 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E6=88=91=E7=9A=84Agency=E5=9B=A2?= =?UTF-8?q?=E9=98=9F=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2):=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E9=98=BF=E8=AF=AD=E7=BF=BB=E8=AF=91=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4more=E6=8C=89=E9=92=AE=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/ar.json | 8 ++- src/locales/en.json | 8 ++- src/locales/zh.json | 8 ++- src/views/AdminCenter/MyAgencyTeams.vue | 66 ++++++++++++++----------- 4 files changed, 57 insertions(+), 33 deletions(-) diff --git a/src/locales/ar.json b/src/locales/ar.json index bdcdcbf..548b74c 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -389,5 +389,11 @@ "bds_label": "BD:", "bd_id_label": "معرف BD:", - "agency_team_income": "دخل فريق الوكالة :" + "agency_team_income": "دخل فريق الوكالة :", + + "agencies_label": "الوكالات:", + "agency_id_label": "معرف الوكالة:", + "number_of_hosts_personnel_label": "عدد موظفي المضيفين:", + "host_label": "المضيف:", + "host_income_label": "دخل المضيف:" } diff --git a/src/locales/en.json b/src/locales/en.json index cbd3e02..83b4a90 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -389,5 +389,11 @@ "bds_label": "BDs:", "bd_id_label": "BD's lD:", - "agency_team_income": "Agency Team Income :" + "agency_team_income": "Agency Team Income :", + + "agencies_label": "Agencies:", + "agency_id_label": "Agency's lD:", + "number_of_hosts_personnel_label": "Number Of Hosts Personnel:", + "host_label": "Host:", + "host_income_label": "Host income:" } diff --git a/src/locales/zh.json b/src/locales/zh.json index 182af91..d038728 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -389,5 +389,11 @@ "bds_label": "BD:", "bd_id_label": "BD ID:", - "agency_team_income": "代理团队收入 :" + "agency_team_income": "代理团队收入 :", + + "agencies_label": "代理:", + "agency_id_label": "代理ID:", + "number_of_hosts_personnel_label": "主播人员数量:", + "host_label": "主播:", + "host_income_label": "主播收入:" } diff --git a/src/views/AdminCenter/MyAgencyTeams.vue b/src/views/AdminCenter/MyAgencyTeams.vue index 9c47df9..a2c0523 100644 --- a/src/views/AdminCenter/MyAgencyTeams.vue +++ b/src/views/AdminCenter/MyAgencyTeams.vue @@ -3,7 +3,7 @@ @@ -35,11 +35,11 @@ " >
-
Total income:
+
{{ t('total_income') }}
${{ TeamOverview?.totalIncome || 0 }}
-
Previous period income:
+
{{ t('previous_period_income') }}
${{ TeamOverview?.previousPeriodIncome || 0 }}
@@ -60,9 +60,11 @@ " > -
Agencies: {{ TeamOverview?.memberCount || 0 }}
+
+ {{ t('agencies_label') }} {{ TeamOverview?.memberCount || 0 }} +
- Team Total Income: ${{ TeamOverview?.teamTotalIncome || 0 }} + {{ t('team_total_income_label') }} ${{ TeamOverview?.teamTotalIncome || 0 }}
@@ -129,7 +131,7 @@ {{ AgencyInfo.userName || '-' }}
- ID:{{ AgencyInfo.account || '-' }} + {{ t('user_id_prefix') }}{{ AgencyInfo.account || '-' }}
@@ -145,26 +147,15 @@ " >
- Number Of Hosts Personnel: {{ AgencyInfo?.subMemberCount || 0 }} + {{ t('number_of_hosts_personnel_label') }} {{ AgencyInfo?.subMemberCount || 0 }}
- Total Income: ${{ AgencyInfo?.totalIncome || 0 }} + {{ t('total_income') }} ${{ AgencyInfo?.totalIncome || 0 }}
-
+
{{ t('more') }}
@@ -191,7 +182,7 @@ >
- Agency's lD: {{ moreUserAccount }} + {{ t('agency_id_label') }} {{ moreUserAccount }}
@@ -216,7 +207,7 @@ -
Income Details:
+
{{ t('income_details_label') }}
@@ -234,9 +225,9 @@
{{ incomeInfo.settlementPeriod }}
-
Host: {{ incomeInfo.memberCount }}
+
{{ t('host_label') }} {{ incomeInfo.memberCount }}
-
Team total Income: ${{ incomeInfo.teamTotalIncome }}
+
{{ t('team_total_income_text') }} ${{ incomeInfo.teamTotalIncome }}
@@ -249,9 +240,9 @@ >
@@ -276,10 +267,10 @@
{{ incomeDetailsItem.settlementPeriod }}
- Host:{{ incomeDetailsItem.memberCount }} + {{ t('host_label') }}:{{ incomeDetailsItem.memberCount }}
- Team Total income: ${{ incomeDetailsItem.teamTotalIncome }} + {{ t('team_total_income_text_capitalized') }} ${{ incomeDetailsItem.teamTotalIncome }}
@@ -345,7 +336,7 @@ {{ member.userName }}
- ID:{{ member.account }} + {{ t('user_id_prefix') }}{{ member.account }}
@@ -360,7 +351,7 @@ justify-content: space-around; " > -
Host income:
+
{{ t('host_income_label') }}
${{ member.income }}
@@ -492,6 +483,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;