diff --git a/components/FunctionCard.vue b/components/FunctionCard.vue index c7c311b..d597836 100644 --- a/components/FunctionCard.vue +++ b/components/FunctionCard.vue @@ -137,7 +137,7 @@ const emit = defineEmits(['enter', 'sync']); - const walletText = computed(() => '钱包(¥:' + (props.walletBalance ?? 0) + ')'); + const walletText = computed(() => '钱包('+'¥'+ (props.walletBalance ?? 0) + ')'); const handleBindPhone = () => { if (props.alreadyBindPhone) { diff --git a/pages/auth/auth.vue b/pages/auth/auth.vue index f007bf7..930d062 100644 --- a/pages/auth/auth.vue +++ b/pages/auth/auth.vue @@ -14,6 +14,7 @@ ICCID: {{ item.iccid }} 运营商: {{ getLogo(item.category).name }} + 卡槽位: {{ item.slot_position || '-' }} @@ -73,6 +74,7 @@ list.splice(0, list.length, ...data.cards.map(card => ({ iccid: card.iccid, category: getCarrierCategory(card.carrier_name), + slot_position: card.slot_position, isRealName: card.real_name_status === 1 }))); } @@ -82,6 +84,7 @@ list.splice(0, list.length, { iccid: assetData.identifier, category: getCarrierCategory(assetData.carrier_name), + slot_position: 1, isRealName: assetData.real_name_status === 1 }); } @@ -244,4 +247,4 @@ .empty-title { font-size: 32rpx; font-weight: 600; color: var(--text-primary); margin-bottom: 16rpx; } .empty-desc { font-size: 26rpx; color: var(--text-tertiary); text-align: center; } } - \ No newline at end of file + diff --git a/pages/switch/switch.vue b/pages/switch/switch.vue index ee15f7a..a68b777 100644 --- a/pages/switch/switch.vue +++ b/pages/switch/switch.vue @@ -24,6 +24,7 @@ {{ item.real_name_status === 1 ? '已实名' : '未实名' }} + 卡槽位: {{ item.slot_position || '-' }} @@ -169,4 +170,4 @@ .empty-title { font-size: 32rpx; font-weight: 600; color: var(--text-primary); margin-bottom: 16rpx; } .empty-desc { font-size: 26rpx; color: var(--text-tertiary); text-align: center; } } - \ No newline at end of file +