-
-
+
+
+
diff --git a/apps/player/src/main.ts b/apps/player/src/main.ts
index ef6d8eb..7b4ba48 100644
--- a/apps/player/src/main.ts
+++ b/apps/player/src/main.ts
@@ -48,6 +48,7 @@ const i18n = createI18n({
wallet: {
balance: '余额',
cash_balance: '现金余额',
+ card_holder: '持卡人',
unsettled: '未结算',
available: '可用',
no_records: '暂无账单记录',
@@ -231,6 +232,7 @@ const i18n = createI18n({
wallet: {
balance: 'Balance',
cash_balance: 'Cash Balance',
+ card_holder: 'Cardholder',
unsettled: 'Unsettled',
available: 'Available',
no_records: 'No records',
@@ -420,6 +422,7 @@ const i18n = createI18n({
wallet: {
balance: 'Baki',
cash_balance: 'Baki Tunai',
+ card_holder: 'Pemegang',
unsettled: 'Belum Selesai',
available: 'Tersedia',
no_records: 'Tiada rekod',
diff --git a/apps/player/src/views/ProfileView.vue b/apps/player/src/views/ProfileView.vue
index 83c6eb7..be9555b 100644
--- a/apps/player/src/views/ProfileView.vue
+++ b/apps/player/src/views/ProfileView.vue
@@ -7,6 +7,7 @@ import { formatMoney } from '../utils/localeDisplay';
import LocaleFlag from '../components/LocaleFlag.vue';
import { useAuthStore } from '../stores/auth';
import { useAppLocale } from '../composables/useAppLocale';
+import walletBg from '../assets/images/钱包.png';
const { t, locale } = useI18n();
const router = useRouter();
@@ -18,6 +19,8 @@ const profile = ref<{
wallet?: { availableBalance: string; frozenBalance: string };
} | null>(null);
+const rulesExpanded = ref(false);
+
onMounted(async () => {
const { data } = await api.get('/player/profile');
profile.value = data.data;
@@ -36,18 +39,28 @@ function logout() {
-
-
{{ profile?.username }}
-
-
-
- {{ t('wallet.balance') }}
-
-
{{ formatMoney(profile?.wallet?.availableBalance, locale) }}
+
+
![]()
+

+
+
+
+
+ {{ t('wallet.balance') }}
+
+
{{ formatMoney(profile?.wallet?.availableBalance, locale) }}
+
+
-
- {{ t('wallet.unsettled') }}: {{ formatMoney(profile?.wallet?.frozenBalance, locale) }}
-
@@ -56,6 +69,25 @@ function logout() {
›
+
+
+
+
{{ t('profile.rules_p1') }}
+
{{ t('profile.rules_p2') }}
+
{{ t('profile.rules_p3') }}
+
{{ t('profile.rules_p4') }}
+
{{ t('profile.rules_p5') }}
+
+
+
{{ t('profile.language') }}
@@ -74,19 +106,6 @@ function logout() {
-
-
-
- {{ t('profile.rules_title') }}
-
-
-
{{ t('profile.rules_p1') }}
-
{{ t('profile.rules_p2') }}
-
{{ t('profile.rules_p3') }}
-
{{ t('profile.rules_p4') }}
-
{{ t('profile.rules_p5') }}
-
-