diff --git a/src/views/ExchangeGoldCoinsView.vue b/src/views/ExchangeGoldCoinsView.vue index 4dd980d..1ff7360 100644 --- a/src/views/ExchangeGoldCoinsView.vue +++ b/src/views/ExchangeGoldCoinsView.vue @@ -90,12 +90,12 @@ const selectedUserType = ref('') // 金币选项 const coinOptions = reactive([ - { id: 1, amount: 10000, price: 1 }, - { id: 2, amount: 50000, price: 5 }, - { id: 3, amount: 100000, price: 10 }, - { id: 4, amount: 500000, price: 50 }, - { id: 5, amount: 1000000, price: 100 }, - { id: 6, amount: 2000000, price: 200 }, + { id: 1, amount: 10500, price: 1 }, + { id: 2, amount: 52500, price: 5 }, + { id: 3, amount: 105000, price: 10 }, + { id: 4, amount: 525000, price: 50 }, + { id: 5, amount: 1050000, price: 100 }, + { id: 6, amount: 2100000, price: 200 }, ]) // 获取银行余额 diff --git a/src/views/TransferView.vue b/src/views/TransferView.vue index 22a9a65..05a544e 100644 --- a/src/views/TransferView.vue +++ b/src/views/TransferView.vue @@ -220,14 +220,24 @@ const initializePayee = () => { } } -// 金币选项 +// 转账金币选项 +// 对其他用户 const coinOptions = reactive([ - { id: 1, amount: 10000, price: 1 }, - { id: 2, amount: 50000, price: 5 }, - { id: 3, amount: 100000, price: 10 }, - { id: 4, amount: 500000, price: 50 }, - { id: 5, amount: 1000000, price: 100 }, - { id: 6, amount: 2000000, price: 200 }, + { id: 1, amount: 10500, price: 1 }, + { id: 2, amount: 52500, price: 5 }, + { id: 3, amount: 105000, price: 10 }, + { id: 4, amount: 525000, price: 50 }, + { id: 5, amount: 1050000, price: 100 }, + { id: 6, amount: 2100000, price: 200 }, +]) +// 对金币代理 +const coinOptionsToSeller = reactive([ + { id: 1, amount: 11500, price: 1 }, + { id: 2, amount: 57500, price: 5 }, + { id: 3, amount: 115000, price: 10 }, + { id: 4, amount: 575000, price: 50 }, + { id: 5, amount: 1150000, price: 100 }, + { id: 6, amount: 2300000, price: 200 }, ]) // 获取银行余额