nft 合作页面
This commit is contained in:
parent
47c5e4c782
commit
b78c513977
@ -1,6 +1,6 @@
|
|||||||
# API
|
# API
|
||||||
VUE_APP_API_URL = 'https://oauth-svr.cebggame.com/task'
|
# VUE_APP_API_URL = 'https://oauth-svr.cebggame.com/task'
|
||||||
# VUE_APP_API_URL = 'http://192.168.100.22:3006'
|
VUE_APP_API_URL = 'http://192.168.100.22:3006'
|
||||||
# VUE_APP_API_URL = 'http://127.0.0.1:3006/api'
|
# VUE_APP_API_URL = 'http://127.0.0.1:3006/api'
|
||||||
VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test'
|
VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test'
|
||||||
VUE_APP_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8'
|
VUE_APP_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8'
|
||||||
@ -18,6 +18,6 @@ VUE_APP_CHAIN_ID = '5611'
|
|||||||
VUE_APP_APP_NAME = 'CF UAW'
|
VUE_APP_APP_NAME = 'CF UAW'
|
||||||
|
|
||||||
# 铭文的验证地址
|
# 铭文的验证地址
|
||||||
VUE_APP_SCRIPTION_ADDRESS='0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d'
|
# VUE_APP_SCRIPTION_ADDRESS='0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d'
|
||||||
# VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||||
VUE_APP_CONTRACT='0x0Fd13D2CD0B6c679B6f92590E0b91C18DDe7BD3A'
|
VUE_APP_CONTRACT='0x0Fd13D2CD0B6c679B6f92590E0b91C18DDe7BD3A'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# API
|
# API
|
||||||
VUE_APP_API_URL = 'https://oauth-svr.cebggame.com/task'
|
VUE_APP_API_URL = 'https://taskapi.cebggame.com'
|
||||||
VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test'
|
VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test'
|
||||||
VUE_APP_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8'
|
VUE_APP_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8'
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ const routes = [
|
|||||||
component: HomeView
|
component: HomeView
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/home/:name/:box/:boxId',
|
path: '/home/:code',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: HomeView
|
component: HomeView
|
||||||
},
|
},
|
||||||
|
@ -536,7 +536,7 @@ export default {
|
|||||||
// 复制助力链接
|
// 复制助力链接
|
||||||
copyLink(data) {
|
copyLink(data) {
|
||||||
this.userData = JSON.parse(localStorage.getItem("userData"))
|
this.userData = JSON.parse(localStorage.getItem("userData"))
|
||||||
let url = `${location.protocol}//${location.host}/home/new=${this.userData.code}/box=${data.shareCode}/id=${data.id}`
|
let url = `${location.protocol}//${location.host}/home/box=${data.shareCode}`
|
||||||
let oInput = document.createElement("input");
|
let oInput = document.createElement("input");
|
||||||
oInput.value = url;
|
oInput.value = url;
|
||||||
document.body.appendChild(oInput);
|
document.body.appendChild(oInput);
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user