feat(充值转账页): 价钱对应金币数变化

This commit is contained in:
hzj 2025-10-11 12:34:48 +08:00
parent ccbb2aa77f
commit 78ef3c7874
2 changed files with 23 additions and 13 deletions

View File

@ -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 },
])
//

View File

@ -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 },
])
//