From 78ef3c78740fc0d89924a841bf7fe44a7bc23bcb Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Sat, 11 Oct 2025 12:34:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=85=E5=80=BC=E8=BD=AC=E8=B4=A6?= =?UTF-8?q?=E9=A1=B5):=20=E4=BB=B7=E9=92=B1=E5=AF=B9=E5=BA=94=E9=87=91?= =?UTF-8?q?=E5=B8=81=E6=95=B0=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ExchangeGoldCoinsView.vue | 12 ++++++------ src/views/TransferView.vue | 24 +++++++++++++++++------- 2 files changed, 23 insertions(+), 13 deletions(-) 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 }, ]) // 获取银行余额