修改分享文案图片
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: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
|
||||
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
|
||||
name="keywords"
|
||||
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"
|
||||
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"
|
||||
/>
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://gacha.counterfire.games/" />
|
||||
<!-- <meta property="og:type" content="website" /> -->
|
||||
<!-- <meta property="og:url" content="https://gacha.counterfire.games/" /> -->
|
||||
<meta
|
||||
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="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:title" content="Counter Fire" />
|
||||
<meta
|
||||
property="twitter:image"
|
||||
content="https://gacha.counterfire.games/images/counter.png"
|
||||
content="https://counterfire.games/images/counter.jpg"
|
||||
/>
|
||||
</head>
|
||||
<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()
|
||||
}
|
||||
const myAddress = ref(localWalletStore.address)
|
||||
const next_cursor = ref({
|
||||
count: 9,
|
||||
next_cursor: "",
|
||||
previous_cursor: "1",
|
||||
remaining: 0,
|
||||
total_count: 9
|
||||
})
|
||||
const getHistoryList = async () => {
|
||||
let data = {
|
||||
page_size: 20, //TODO:: 根据实际情况修改该值
|
||||
cursor: '',
|
||||
search: {
|
||||
name: overviewValue.value,
|
||||
},
|
||||
filter: {
|
||||
price_min: '',
|
||||
price_max: '',
|
||||
item_ids: [],
|
||||
hero_ranks: []
|
||||
},
|
||||
sort: {
|
||||
fields: [
|
||||
{
|
||||
name: '',
|
||||
type: 0,
|
||||
}
|
||||
]
|
||||
}
|
||||
cursor: next_cursor.value.next_cursor,
|
||||
search_name: overviewValue.value,
|
||||
}
|
||||
if(myAddress.value) {
|
||||
let mySellNftList = []
|
||||
let res = await apiHangingState(data)
|
||||
// console.log(res)
|
||||
res = res.rows.filter((item,index) => {
|
||||
return item.nft.owner_address == myAddress.value
|
||||
})
|
||||
for (let sub of res) {
|
||||
let nftListBox = []
|
||||
let res = await apiHangingState(data,myAddress.value)
|
||||
console.log(res)
|
||||
nftList.value = [ ...nftList.value, ...res.rows]
|
||||
nftListBox = nftList.value.reduce((acc, obj) => {
|
||||
const existingObj = acc.find(item => item.nft.token_id == obj.nft.token_id)
|
||||
if(!existingObj) {
|
||||
acc.push(obj)
|
||||
}
|
||||
return acc
|
||||
},[])
|
||||
nftList.value = nftListBox
|
||||
|
||||
for (let sub of nftListBox) {
|
||||
if (sub.event?.data) {
|
||||
const _data = formatPrice(sub.event.data)
|
||||
sub.event.icon = _data.icon
|
||||
@ -69,10 +67,36 @@ const getHistoryList = async () => {
|
||||
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,() => {
|
||||
if(!localWalletStore.token) {
|
||||
nftList.value = []
|
||||
@ -83,6 +107,11 @@ watch(localWalletStore,() => {
|
||||
|
||||
onMounted(() => {
|
||||
getHistoryList()
|
||||
window.removeEventListener('scroll', handleScroll)
|
||||
})
|
||||
|
||||
onUnmounted(() => {
|
||||
window.removeEventListener('scroll', handleScroll)
|
||||
})
|
||||
|
||||
</script>
|
||||
|
@ -84,8 +84,7 @@ const downloadGame = (platform) => {
|
||||
}
|
||||
.game-title-img {
|
||||
width: 1262px;
|
||||
height: 335px;
|
||||
margin-bottom: 35px;
|
||||
height: 242px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
@ -60,9 +60,9 @@ export const apiAssetsState = async (account_address, data) => {
|
||||
}
|
||||
|
||||
// 获取上架出售得NFTS
|
||||
export const apiHangingState = async (data) => {
|
||||
const url = `${API_BASE}/api/market/product/list/${net_id}`
|
||||
return httpPost(url, data)
|
||||
export const apiHangingState = async (data,account_address) => {
|
||||
const url = `${API_BASE}/api/listing/${net_id}/${account_address}`
|
||||
return httpGet(url, data)
|
||||
}
|
||||
|
||||
// 账号交易历史
|
||||
|
Loading…
x
Reference in New Issue
Block a user