修改分享文案图片
This commit is contained in:
parent
8c4cb553fa
commit
d43d189592
16
index.html
16
index.html
@ -8,29 +8,29 @@
|
|||||||
<meta property="og:title" content="Counter Fire" />
|
<meta property="og:title" content="Counter Fire" />
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
content="Counter Fire.counterFire.games | Counter Fire is blinking! Quest and Rewards.Join Counter Fire and Rise of Planet. Get your Planet and rewards. A new evolution about Web3Gaming."
|
content="P2E Season 1 is set to launch with a bang! Gear up, warriors,CounterFire is heating up."
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Counter Fire.counterFire.games | Counter Fire is blinking! Quest and Rewards.Join Counter Fire and Rise of Planet. Get your Planet and rewards. A new evolution about Web3Gaming."
|
content="P2E Season 1 is set to launch with a bang! Gear up, warriors,CounterFire is heating up."
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="keywords"
|
name="keywords"
|
||||||
content="CounterFire;CF;Gamefi;Web3;web3gaming; Cf game;Cf mobile; CounterFire googleplay; CounterFire Appstore;
|
content="CounterFire; CF; Gamefi; Web3; web3gaming; Cf game;Cf mobile; CounterFire googleplay; CounterFire Appstore;
|
||||||
battle royale;token;airdrop;p2e; play to earn, free to play, blockchain game;Arbitrum game;Arbitrum. Cryptocurrency; Crypto;anime game;anime web3 game;Two-dimensional game;shooting game;Anime shooting mobile game"
|
battle royale;token;airdrop;p2e; play to earn, free to play, blockchain game;Arbitrum game;Arbitrum. Cryptocurrency; Crypto; anime game; anime web3 game; Two-dimensional game; shooting game; Anime shooting mobile game"
|
||||||
/>
|
/>
|
||||||
<meta property="og:type" content="website" />
|
<!-- <meta property="og:type" content="website" /> -->
|
||||||
<meta property="og:url" content="https://gacha.counterfire.games/" />
|
<!-- <meta property="og:url" content="https://gacha.counterfire.games/" /> -->
|
||||||
<meta
|
<meta
|
||||||
property="og:image"
|
property="og:image"
|
||||||
content="https://gacha.counterfire.games/images/counter.png"
|
content="https://counterfire.games/images/counter.jpg"
|
||||||
/>
|
/>
|
||||||
<!-- <meta property="og:site_name" content="Counter Fire" /> -->
|
<!-- <meta property="og:site_name" content="Counter Fire" /> -->
|
||||||
<meta property="twitter:card" content="summary_large_image" />
|
<meta property="twitter:card" content="summary_large_image" />
|
||||||
<meta property="twitter:title" content="Counter Fire" />
|
<meta property="twitter:title" content="Counter Fire" />
|
||||||
<meta
|
<meta
|
||||||
property="twitter:image"
|
property="twitter:image"
|
||||||
content="https://gacha.counterfire.games/images/counter.png"
|
content="https://counterfire.games/images/counter.jpg"
|
||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
<script>
|
<script>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 470 KiB After Width: | Height: | Size: 531 KiB |
Binary file not shown.
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 122 KiB |
@ -30,36 +30,34 @@ const overviewChild = (val) => {
|
|||||||
getHistoryList()
|
getHistoryList()
|
||||||
}
|
}
|
||||||
const myAddress = ref(localWalletStore.address)
|
const myAddress = ref(localWalletStore.address)
|
||||||
|
const next_cursor = ref({
|
||||||
|
count: 9,
|
||||||
|
next_cursor: "",
|
||||||
|
previous_cursor: "1",
|
||||||
|
remaining: 0,
|
||||||
|
total_count: 9
|
||||||
|
})
|
||||||
const getHistoryList = async () => {
|
const getHistoryList = async () => {
|
||||||
let data = {
|
let data = {
|
||||||
page_size: 20, //TODO:: 根据实际情况修改该值
|
page_size: 20, //TODO:: 根据实际情况修改该值
|
||||||
cursor: '',
|
cursor: next_cursor.value.next_cursor,
|
||||||
search: {
|
search_name: overviewValue.value,
|
||||||
name: overviewValue.value,
|
|
||||||
},
|
|
||||||
filter: {
|
|
||||||
price_min: '',
|
|
||||||
price_max: '',
|
|
||||||
item_ids: [],
|
|
||||||
hero_ranks: []
|
|
||||||
},
|
|
||||||
sort: {
|
|
||||||
fields: [
|
|
||||||
{
|
|
||||||
name: '',
|
|
||||||
type: 0,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if(myAddress.value) {
|
if(myAddress.value) {
|
||||||
let mySellNftList = []
|
let nftListBox = []
|
||||||
let res = await apiHangingState(data)
|
let res = await apiHangingState(data,myAddress.value)
|
||||||
// console.log(res)
|
console.log(res)
|
||||||
res = res.rows.filter((item,index) => {
|
nftList.value = [ ...nftList.value, ...res.rows]
|
||||||
return item.nft.owner_address == myAddress.value
|
nftListBox = nftList.value.reduce((acc, obj) => {
|
||||||
})
|
const existingObj = acc.find(item => item.nft.token_id == obj.nft.token_id)
|
||||||
for (let sub of res) {
|
if(!existingObj) {
|
||||||
|
acc.push(obj)
|
||||||
|
}
|
||||||
|
return acc
|
||||||
|
},[])
|
||||||
|
nftList.value = nftListBox
|
||||||
|
|
||||||
|
for (let sub of nftListBox) {
|
||||||
if (sub.event?.data) {
|
if (sub.event?.data) {
|
||||||
const _data = formatPrice(sub.event.data)
|
const _data = formatPrice(sub.event.data)
|
||||||
sub.event.icon = _data.icon
|
sub.event.icon = _data.icon
|
||||||
@ -69,10 +67,36 @@ const getHistoryList = async () => {
|
|||||||
sub.event.decimals = _data.decimals
|
sub.event.decimals = _data.decimals
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nftList.value = res
|
nftList.value = nftListBox
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// const handleScroll = () => {
|
||||||
|
// const myADdress = localWalletStore.address
|
||||||
|
// var scrollTop =
|
||||||
|
// document.documentElement.scrollTop || document.body.scrollTop; //变量windowHeight是可视区的高度
|
||||||
|
// var windowHeight =
|
||||||
|
// document.documentElement.clientHeight || document.body.clientHeight; //变量scrollHeight是滚动条的总高度
|
||||||
|
// var scrollHeight =
|
||||||
|
// document.documentElement.scrollHeight || document.body.scrollHeight;
|
||||||
|
// if (scrollTop + windowHeight == scrollHeight) {
|
||||||
|
// //请求数据接口
|
||||||
|
// // this.seeMoreSchoolList();
|
||||||
|
// // console.log('scrollTop + windowHeight == scrollHeight请求接口',toRaw(marketplaceStore.cursorObj), scrollTop, windowHeight, scrollHeight)
|
||||||
|
// if(myADdress) {
|
||||||
|
// // if(toRaw(marketplaceStore.cursorObj).remaining != 0) {
|
||||||
|
// getHistoryList()
|
||||||
|
// console.log('请求')
|
||||||
|
// // // } else {
|
||||||
|
// // // console.log('不用请求')
|
||||||
|
// // } else {
|
||||||
|
// // return false;
|
||||||
|
// // }
|
||||||
|
// // return false;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
watch(localWalletStore,() => {
|
watch(localWalletStore,() => {
|
||||||
if(!localWalletStore.token) {
|
if(!localWalletStore.token) {
|
||||||
nftList.value = []
|
nftList.value = []
|
||||||
@ -83,6 +107,11 @@ watch(localWalletStore,() => {
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getHistoryList()
|
getHistoryList()
|
||||||
|
window.removeEventListener('scroll', handleScroll)
|
||||||
|
})
|
||||||
|
|
||||||
|
onUnmounted(() => {
|
||||||
|
window.removeEventListener('scroll', handleScroll)
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -84,8 +84,7 @@ const downloadGame = (platform) => {
|
|||||||
}
|
}
|
||||||
.game-title-img {
|
.game-title-img {
|
||||||
width: 1262px;
|
width: 1262px;
|
||||||
height: 335px;
|
height: 242px;
|
||||||
margin-bottom: 35px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
@ -60,9 +60,9 @@ export const apiAssetsState = async (account_address, data) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取上架出售得NFTS
|
// 获取上架出售得NFTS
|
||||||
export const apiHangingState = async (data) => {
|
export const apiHangingState = async (data,account_address) => {
|
||||||
const url = `${API_BASE}/api/market/product/list/${net_id}`
|
const url = `${API_BASE}/api/listing/${net_id}/${account_address}`
|
||||||
return httpPost(url, data)
|
return httpGet(url, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 账号交易历史
|
// 账号交易历史
|
||||||
|
Loading…
x
Reference in New Issue
Block a user