优化提现手续费动态配置
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div class="text-12px color-red">
|
||||
提示:收益金币提现正常收取平台手续费3%,如需将充值金币提现,选择“全部提现”选项,因涉及充值赠送金额,将收取155高额手续费,如果恶意套利提现,将提现审核不通过!
|
||||
提示:收益金币提现正常收取平台手续费{{ walletConfig?.withdrawRateOfEarn }}%,如需将充值金币提现,选择“全部提现”选项,因涉及充值赠送金额,将收取{{ walletConfig?.withdrawRateOfRecharge }}%高额手续费,如果恶意套利提现,将提现审核不通过!
|
||||
</div>
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
@ -33,6 +33,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { getWalletConfig } from '~/api/personal-center/index'
|
||||
const dialogVisible = defineModel('modelValue', {
|
||||
default: false,
|
||||
})
|
||||
@ -44,6 +45,18 @@
|
||||
const handleClose = (done: () => void) => {
|
||||
done()
|
||||
}
|
||||
const walletConfig = ref<{
|
||||
rechargeRate: number
|
||||
commissionRate: number
|
||||
withdrawRateOfRecharge: number
|
||||
withdrawRateOfEarn: number
|
||||
}>()
|
||||
|
||||
onMounted(() => {
|
||||
getWalletConfig().then((res) => {
|
||||
walletConfig.value = res.data
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user