|
@@ -1197,6 +1197,7 @@ export function doTaskTwitterAPI({ task_data, task_type }) {
|
|
export function showJoinDialog(data) {
|
|
export function showJoinDialog(data) {
|
|
let iframe = document.querySelector('#nftProjectId')
|
|
let iframe = document.querySelector('#nftProjectId')
|
|
iframe.style.display = 'block'
|
|
iframe.style.display = 'block'
|
|
|
|
+ iframe.contentWindow.postMessage({ actionType: 'SHOW_JOIN_DATA', data }, '*');
|
|
iframe.src = chrome.runtime.getURL(`/iframe/buy-nft.html#/group?params=${JSON.stringify(data)}&time=${new Date().getTime()}`)
|
|
iframe.src = chrome.runtime.getURL(`/iframe/buy-nft.html#/group?params=${JSON.stringify(data)}&time=${new Date().getTime()}`)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1455,7 +1456,7 @@ export const showGroupTip = () => {
|
|
export const hideBuyNFT = () => {
|
|
export const hideBuyNFT = () => {
|
|
let iframe = document.querySelector('#nftProjectId')
|
|
let iframe = document.querySelector('#nftProjectId')
|
|
iframe.style.display = 'none'
|
|
iframe.style.display = 'none'
|
|
- iframe.src = ''
|
|
|
|
|
|
+ iframe.src =''
|
|
}
|
|
}
|
|
|
|
|
|
export const showBuyNFT = ({ nft_project_Id }) => {
|
|
export const showBuyNFT = ({ nft_project_Id }) => {
|