UI优化,红包领取后缺少头像,名称字段

This commit is contained in:
bobobobo
2026-01-19 23:30:08 +08:00
parent d2a22b9419
commit 651d20b909
41 changed files with 2189 additions and 1827 deletions

View File

@@ -7,13 +7,14 @@
getUserThirdPayList,
getUserBankList,
getUserWithdrawConfig,
getUserIntegral,
addUserWithdraw,
getUserPayPwd
} from '@/api/my-index'
import { useUI } from '@/utils/use-ui'
import { useAuthUser } from '@/composables/useAuthUser'
const { showToast, showDialog } = useUI()
const { integralData } = useAuthUser()
const tixian = ref(null)
const popup = ref(null)
@@ -43,12 +44,6 @@
return Number(value.toFixed(2))
})
/** 获取积分 */
const getIntegral = async () => {
const res = await getUserIntegral()
withdrawData.availablePoints = res.data.availablePoints
}
const getData = async () => {
const res = await getUserWithdrawConfig(topData.value.withdrawalType)
withdrawData.minAmount = res.data.minAmount
@@ -134,7 +129,7 @@
}
onShow(() => {
getIntegral()
withdrawData.availablePoints = integralData.value
getList()
})
</script>