新增充值

This commit is contained in:
yuyongdong 2024-08-01 15:39:08 +08:00
parent 7dff7ce980
commit 9bcaa250b6
12 changed files with 845 additions and 443 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

File diff suppressed because it is too large Load Diff

View File

@ -365,6 +365,27 @@ const marketHandleScroll = () => {
}
onMounted(() => {
marketplaceList.getParamsData = {
page_size: 20,
cursor: '',
search: {
name: '',
},
filter: {
price_min: '',
price_max: '',
item_ids: [],
hero_ranks: [],
},
sort: {
fields: [
{
name: 'price',
type: 0,
}
]
}
}
getHeroData()
window.addEventListener("scroll", marketHandleScroll, true);
})

View File

@ -165,3 +165,15 @@ export const apiContribution = async (account_address) => {
const url = `${API_BASE}/api/activity/stacking/history/${account_address}`
return httpGet(url, {})
}
// 充值列表
export const apiRechargeGoods = async () => {
const url = `${API_BASE}/api/recharge/goods`
return httpGet(url, {})
}
// 充值记录
export const apiRechargeHistory = async (account_address) => {
const url = `${API_BASE}/api/recharge/history/${net_id}/${account_address}`
return httpPost(url, {})
}