nft 合作页面

This commit is contained in:
yuyongdong 2024-04-16 16:44:58 +08:00
parent 47c5e4c782
commit b78c513977
5 changed files with 676 additions and 459 deletions

View File

@ -1,6 +1,6 @@
# API
VUE_APP_API_URL = 'https://oauth-svr.cebggame.com/task'
# VUE_APP_API_URL = 'http://192.168.100.22:3006'
# 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://127.0.0.1:3006/api'
VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test'
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_SCRIPTION_ADDRESS='0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d'
# VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
# VUE_APP_SCRIPTION_ADDRESS='0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d'
VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
VUE_APP_CONTRACT='0x0Fd13D2CD0B6c679B6f92590E0b91C18DDe7BD3A'

View File

@ -1,5 +1,5 @@
# 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_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8'

View File

@ -11,7 +11,7 @@ const routes = [
component: HomeView
},
{
path: '/home/:name/:box/:boxId',
path: '/home/:code',
name: 'home',
component: HomeView
},

View File

@ -536,7 +536,7 @@ export default {
//
copyLink(data) {
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");
oInput.value = url;
document.body.appendChild(oInput);

File diff suppressed because it is too large Load Diff