Compare commits
No commits in common. "staking-concise" and "master" have entirely different histories.
staking-co
...
master
26
.env.dev
@ -1,28 +1,4 @@
|
||||
VUE_APP_BASE_API='https://market.cebg.games'
|
||||
VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
//VUE_APP_BASE_API2='http://192.168.100.83:3000/'
|
||||
VUE_APP_GPAL_API='https://game2006sapi.cebggame.com/'
|
||||
# VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-8c2FAlWxWAoRITk1v9rH
|
||||
VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-eRr-kyOKaZ0jIdrvrPCn
|
||||
VUE_APP_PASSPORT_REDIRECT_URI=http://localhost:4000
|
||||
VUE_APP_PASSPORT_LOGOUT_URI=http://localhost:4000
|
||||
# VUE_APP_PASSPORT_CLIENT_ID=eTmUah69p7ZdRhRYzBta6lZRKXXeXDYj
|
||||
VUE_APP_PASSPORT_CLIENT_ID=0FNfXxQywm7wjdbyLTDzWt4txc53yRrT
|
||||
VUE_APP_PASSPORT_MARKET_ADDRESS=0x7d117aA8BD6D31c4fa91722f246388f38ab1942c
|
||||
VUE_APP_UAW_API='https://oauth-svr.cebggame.com/task'
|
||||
VUE_APP_MKT_API='https://market-test.kingsome.cn'
|
||||
VUE_APP_NET_ID='13473'
|
||||
VUE_APP_MARKET_CURRENCY='0xFd42bfb03212dA7e1A4608a44d7658641D99CF34'
|
||||
VUE_APP_MAKEFEE_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_LOCKER_ADDRESS='0xC8607507451059CfAe6Ca4D07EC6f631ce8ef9f9'
|
||||
VUE_APP_FOUNDER_ADDRESS='0x7f2b4db626d878778e178b4f0c7ba3a2870c6dd0'
|
||||
VUE_APP_EXPLORER_URL='https://explorer.testnet.immutable.com'
|
||||
VUE_APP_PRODUCTION=sandbox
|
||||
|
||||
VUE_APP_LOGIN_API='https://login-test.kingsome.cn'
|
||||
|
||||
VUE_APP_NET_ID_MAIN='11155111'
|
||||
VUE_APP_LOCKER_ADDRESS_MAIN='0x7F2b4DB626d878778e178B4F0C7bA3a2870C6dd0'
|
||||
|
||||
VUE_APP_STAKING_CHAIN='97'
|
||||
VUE_APP_NET_ID_CLAIM='97'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
@ -1,28 +1,2 @@
|
||||
VUE_APP_BASE_API='https://market.cebg.games'
|
||||
VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
//VUE_APP_BASE_API2='http://192.168.100.83:3000/'
|
||||
VUE_APP_GPAL_API='https://game2006sapi.cebggame.com/'
|
||||
# VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-8c2FAlWxWAoRITk1v9rH
|
||||
VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-eRr-kyOKaZ0jIdrvrPCn
|
||||
VUE_APP_PASSPORT_REDIRECT_URI=https://market.kingsome.cn
|
||||
VUE_APP_PASSPORT_LOGOUT_URI=https://market.kingsome.cn
|
||||
# VUE_APP_PASSPORT_CLIENT_ID=eTmUah69p7ZdRhRYzBta6lZRKXXeXDYj
|
||||
VUE_APP_PASSPORT_CLIENT_ID=0FNfXxQywm7wjdbyLTDzWt4txc53yRrT
|
||||
VUE_APP_PASSPORT_MARKET_ADDRESS=0x7d117aA8BD6D31c4fa91722f246388f38ab1942c
|
||||
VUE_APP_UAW_API='https://oauth-svr.cebggame.com/task'
|
||||
VUE_APP_MKT_API='https://market-test.kingsome.cn'
|
||||
VUE_APP_NET_ID='13473'
|
||||
VUE_APP_MARKET_CURRENCY='0xFd42bfb03212dA7e1A4608a44d7658641D99CF34'
|
||||
VUE_APP_MAKEFEE_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_LOCKER_ADDRESS='0xC8607507451059CfAe6Ca4D07EC6f631ce8ef9f9'
|
||||
VUE_APP_FOUNDER_ADDRESS='0x7f2b4db626d878778e178b4f0c7ba3a2870c6dd0'
|
||||
VUE_APP_EXPLORER_URL='https://explorer.testnet.immutable.com'
|
||||
VUE_APP_PRODUCTION=sandbox
|
||||
|
||||
VUE_APP_LOGIN_API='https://login-test.kingsome.cn'
|
||||
|
||||
VUE_APP_NET_ID_MAIN='11155111'
|
||||
VUE_APP_LOCKER_ADDRESS_MAIN='0x7F2b4DB626d878778e178B4F0C7bA3a2870C6dd0'
|
||||
|
||||
VUE_APP_STAKING_CHAIN='97'
|
||||
VUE_APP_NET_ID_CLAIM='97'
|
||||
VUE_APP_GPAL_API='http://192.168.100.83:4000/sns'
|
@ -2,27 +2,3 @@ VUE_APP_BASE_API='https://market.cebg.games'
|
||||
VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
//VUE_APP_BASE_API2='http://192.168.100.83:3000/'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
# VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-8c2FAlWxWAoRITk1v9rH
|
||||
VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-tU10buLqoyLZ0o54rcub
|
||||
VUE_APP_PASSPORT_REDIRECT_URI=https://www.counterfire.games
|
||||
VUE_APP_PASSPORT_LOGOUT_URI=https://www.counterfire.games
|
||||
VUE_APP_PASSPORT_CLIENT_ID=tTB5eEedqDOHPHMI41sRDGmqAQwus9oE
|
||||
# VUE_APP_PASSPORT_CLIENT_ID=0FNfXxQywm7wjdbyLTDzWt4txc53yRrT
|
||||
VUE_APP_PASSPORT_MARKET_ADDRESS=0x7d117aA8BD6D31c4fa91722f246388f38ab1942c
|
||||
VUE_APP_UAW_API='https://taskapi.cebggame.com'
|
||||
VUE_APP_MKT_API='https://market-api.counterfire.games'
|
||||
VUE_APP_NET_ID='13371'
|
||||
VUE_APP_MARKET_CURRENCY='0x52A6c53869Ce09a731CD772f245b97A4401d3348'
|
||||
VUE_APP_MAKEFEE_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_LOCKER_ADDRESS='0x2034e51e1a24f8b488610aBBDCc74F3e0cA833df'
|
||||
VUE_APP_FOUNDER_ADDRESS='0x5c16AC8322E5cac8ad235F7e0Dc5d23bffe3ed50'
|
||||
VUE_APP_EXPLORER_URL='https://explorer.immutable.com'
|
||||
VUE_APP_PRODUCTION=production
|
||||
|
||||
VUE_APP_LOGIN_API='https://login-test.cebggame.com'
|
||||
|
||||
VUE_APP_NET_ID_MAIN='1'
|
||||
VUE_APP_LOCKER_ADDRESS_MAIN='0x5c16AC8322E5cac8ad235F7e0Dc5d23bffe3ed50'
|
||||
|
||||
VUE_APP_STAKING_CHAIN='56'
|
||||
VUE_APP_NET_ID_CLAIM='56'
|
||||
|
29
.env.test
@ -1,29 +0,0 @@
|
||||
VUE_APP_BASE_API='https://market.cebg.games'
|
||||
VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
//VUE_APP_BASE_API2='http://192.168.100.83:3000/'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
# VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-8c2FAlWxWAoRITk1v9rH
|
||||
VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-tU10buLqoyLZ0o54rcub
|
||||
VUE_APP_PASSPORT_REDIRECT_URI=https://www.counterfire.games
|
||||
VUE_APP_PASSPORT_LOGOUT_URI=https://www.counterfire.games
|
||||
VUE_APP_PASSPORT_CLIENT_ID=tTB5eEedqDOHPHMI41sRDGmqAQwus9oE
|
||||
# VUE_APP_PASSPORT_CLIENT_ID=0FNfXxQywm7wjdbyLTDzWt4txc53yRrT
|
||||
VUE_APP_PASSPORT_MARKET_ADDRESS=0x7d117aA8BD6D31c4fa91722f246388f38ab1942c
|
||||
VUE_APP_UAW_API='https://taskapi.cebggame.com'
|
||||
VUE_APP_MKT_API='https://market-api.counterfire.games'
|
||||
VUE_APP_NET_ID='13371'
|
||||
VUE_APP_MARKET_CURRENCY='0x52A6c53869Ce09a731CD772f245b97A4401d3348'
|
||||
VUE_APP_MAKEFEE_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_LOCKER_ADDRESS='0x2034e51e1a24f8b488610aBBDCc74F3e0cA833df'
|
||||
VUE_APP_FOUNDER_ADDRESS='0x5c16AC8322E5cac8ad235F7e0Dc5d23bffe3ed50'
|
||||
VUE_APP_EXPLORER_URL='https://explorer.immutable.com'
|
||||
VUE_APP_PRODUCTION=production
|
||||
|
||||
VUE_APP_LOGIN_API='https://login-test.cebggame.com'
|
||||
|
||||
|
||||
VUE_APP_NET_ID_MAIN='1'
|
||||
VUE_APP_LOCKER_ADDRESS_MAIN='0x5c16AC8322E5cac8ad235F7e0Dc5d23bffe3ed50'
|
||||
|
||||
VUE_APP_STAKING_CHAIN='56'
|
||||
VUE_APP_NET_ID_CLAIM='56'
|
1
.gitignore
vendored
@ -12,5 +12,4 @@ yarn-error.log*
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
dist*
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
node_modules
|
||||
artifacts
|
||||
cache
|
||||
coverage*
|
||||
gasReporterOutput.json
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"printWidth": 120,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": false,
|
||||
"bracketSpacing": false,
|
||||
"explicitTypes": "always"
|
||||
}
|
@ -2,7 +2,6 @@
|
||||
npm run dev
|
||||
yarn run dev
|
||||
|
||||
## install 修改
|
||||
node_modules\@uniswap\router-sdk\dist\router-sdk.cjs.production.min.js r.BigInt(五个全部替换) 替换成 r.default.BigInt
|
||||
|
||||
|
||||
|
||||
|
77
components.d.ts
vendored
@ -1,77 +0,0 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
// Generated by unplugin-vue-components
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
export {}
|
||||
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AboutFooter: typeof import('./src/components/about/AboutFooter.vue')['default']
|
||||
AButton: typeof import('ant-design-vue/es')['Button']
|
||||
ACheckboxGroup: typeof import('ant-design-vue/es')['CheckboxGroup']
|
||||
ACollapse: typeof import('ant-design-vue/es')['Collapse']
|
||||
ACollapsePanel: typeof import('ant-design-vue/es')['CollapsePanel']
|
||||
AInput: typeof import('ant-design-vue/es')['Input']
|
||||
AModal: typeof import('ant-design-vue/es')['Modal']
|
||||
ARadio: typeof import('ant-design-vue/es')['Radio']
|
||||
ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup']
|
||||
ASelect: typeof import('ant-design-vue/es')['Select']
|
||||
ASpace: typeof import('ant-design-vue/es')['Space']
|
||||
AssetsContent: typeof import('./src/components/assets/assetsContent.vue')['default']
|
||||
AssetsHeader: typeof import('./src/components/assets/assetsHeader.vue')['default']
|
||||
ATable: typeof import('ant-design-vue/es')['Table']
|
||||
ATableColumn: typeof import('ant-design-vue/es')['TableColumn']
|
||||
Banner: typeof import('./src/components/home/banner.vue')['default']
|
||||
BuyDialog: typeof import('./src/components/Dialogs/buyDialog.vue')['default']
|
||||
Card: typeof import('./src/components/common/card.vue')['default']
|
||||
Cart: typeof import('./src/components/cart/index.vue')['default']
|
||||
ChainModel: typeof import('./src/components/home/ChainModel.vue')['default']
|
||||
ChainSelectModel: typeof import('./src/components/chain/ChainSelectModel.vue')['default']
|
||||
ChipCard: typeof import('./src/components/home/ChipCard.vue')['default']
|
||||
Collectibles: typeof import('./src/components/assets/collectibles.vue')['default']
|
||||
ConfirmDialog: typeof import('./src/components/Dialogs/confirmDialog.vue')['default']
|
||||
GameFeatures: typeof import('./src/components/home/GameFeatures.vue')['default']
|
||||
GameVideo: typeof import('./src/components/home/GameVideo.vue')['default']
|
||||
Gold: typeof import('./src/components/common/searchView/gold.vue')['default']
|
||||
Hanging: typeof import('./src/components/assets/hanging.vue')['default']
|
||||
HangingCard: typeof import('./src/components/common/hangingCard.vue')['default']
|
||||
Hero: typeof import('./src/components/common/searchView/hero.vue')['default']
|
||||
HeroCard: typeof import('./src/components/home/HeroCard.vue')['default']
|
||||
HeroWeaponChipSelector: typeof import('./src/components/home/HeroWeaponChipSelector.vue')['default']
|
||||
HomeFooter: typeof import('./src/components/home/HomeFooter.vue')['default']
|
||||
ImageTextModal: typeof import('./src/components/global/ImageTextModal.vue')['default']
|
||||
ImgCard: typeof import('./src/components/common/imgCard.vue')['default']
|
||||
IntroductionBanner: typeof import('./src/components/about/IntroductionBanner.vue')['default']
|
||||
LatestNew: typeof import('./src/components/about/LatestNew.vue')['default']
|
||||
Layout: typeof import('./src/components/layout/index.vue')['default']
|
||||
LoadingDialog: typeof import('./src/components/Dialogs/loadingDialog.vue')['default']
|
||||
MktContent: typeof import('./src/components/marketplace/mktContent.vue')['default']
|
||||
MktHeader: typeof import('./src/components/marketplace/mktHeader.vue')['default']
|
||||
MyCard: typeof import('./src/components/assets/myCard.vue')['default']
|
||||
NavBar: typeof import('./src/components/layout/NavBar.vue')['default']
|
||||
Navber: typeof import('./src/components/layout/navber.vue')['default']
|
||||
Notification: typeof import('./src/components/global/Notification.vue')['default']
|
||||
Overview: typeof import('./src/components/common/searchView/Overview.vue')['default']
|
||||
Please: typeof import('./src/components/global/Please.vue')['default']
|
||||
Price: typeof import('./src/components/common/searchView/Price.vue')['default']
|
||||
Rank: typeof import('./src/components/common/searchView/rank.vue')['default']
|
||||
Roadmap: typeof import('./src/components/about/Roadmap.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
SellDialog: typeof import('./src/components/Dialogs/sellDialog.vue')['default']
|
||||
Sort: typeof import('./src/components/common/searchView/Sort.vue')['default']
|
||||
StarTimer: typeof import('./src/components/common/starTimer.vue')['default']
|
||||
Status: typeof import('./src/components/common/searchView/status.vue')['default']
|
||||
StatusRadio: typeof import('./src/components/common/searchView/statusRadio.vue')['default']
|
||||
TeamMember: typeof import('./src/components/about/TeamMember.vue')['default']
|
||||
TeamVision: typeof import('./src/components/about/TeamVision.vue')['default']
|
||||
Trading: typeof import('./src/components/assets/trading.vue')['default']
|
||||
TradingCard: typeof import('./src/components/common/tradingCard.vue')['default']
|
||||
WalletSelectModel: typeof import('./src/components/chain/WalletSelectModel.vue')['default']
|
||||
WeaponCard: typeof import('./src/components/home/WeaponCard.vue')['default']
|
||||
WeaponModelLoader: typeof import('./src/components/home/WeaponModelLoader.vue')['default']
|
||||
WhatCounterFire: typeof import('./src/components/home/WhatCounterFire.vue')['default']
|
||||
YouTubeVideoDemo: typeof import('./src/components/global/YouTubeVideoDemo.vue')['default']
|
||||
}
|
||||
}
|
73
index.html
@ -5,37 +5,34 @@
|
||||
<link rel="icon" href="/logo.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Counter Fire</title>
|
||||
<meta property="og:title" content="Pre-Deposit is now live!" />
|
||||
<meta property="og:title" content="Counter Fire" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="P2E Season 1 is set to launch with a bang! Gear up, warriors,CounterFire is heating up."
|
||||
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."
|
||||
/>
|
||||
<meta
|
||||
name="description"
|
||||
content="P2E Season 1 is set to launch with a bang! Gear up, warriors,CounterFire is heating up."
|
||||
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."
|
||||
/>
|
||||
<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://counterfire.games/images/counter.jpg"
|
||||
content="https://gacha.counterfire.games/images/counter.png"
|
||||
/>
|
||||
<!-- <meta property="og:site_name" content="Counter Fire" /> -->
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:title" content="Pre-Deposit is now live!" />
|
||||
<meta property="twitter:title" content="Counter Fire" />
|
||||
<meta
|
||||
property="twitter:image"
|
||||
content="https://counterfire.games/images/counter.jpg"
|
||||
content="https://gacha.counterfire.games/images/counter.png"
|
||||
/>
|
||||
</head>
|
||||
<script>
|
||||
window.process = { browser: true, env: { ENVIRONMENT: 'BROWSER' } };
|
||||
</script>
|
||||
<script type="module">
|
||||
import { Buffer } from "buffer";
|
||||
window.Buffer = Buffer;
|
||||
@ -57,55 +54,5 @@
|
||||
|
||||
gtag("config", "G-9WFW3HQTR8");
|
||||
</script>
|
||||
<script th:inline="javascript">
|
||||
/**
|
||||
* 加载外部js
|
||||
*/
|
||||
// var loadSingleScript = function (sub) {
|
||||
// return new Promise((resolve, reject) => {
|
||||
// let src = sub[0];
|
||||
// console.log(`>> begin load script: ${src}`);
|
||||
// var s = document.createElement('script');
|
||||
// s.async = true;
|
||||
// if (sub[1] == 1)s.type = 'module';
|
||||
// // s.src = src + (src.indexOf("?") == -1 ? "?" : "&") + "t=" + Date.now();
|
||||
// s.src =src;
|
||||
// s.addEventListener('load', function () {
|
||||
// console.log(`<< finish load script: ${src}`);
|
||||
// s.parentNode.removeChild(s);
|
||||
// s.removeEventListener('load', arguments.callee, false);
|
||||
// resolve && resolve();
|
||||
// }, false);
|
||||
// document.body.appendChild(s);
|
||||
// })
|
||||
// };
|
||||
// var scripts = [
|
||||
// ['/js-assets/scripts/libs/jcwallet.js'],
|
||||
// ['/js-assets/scripts/libs/main.js'],
|
||||
// ['/js-assets/scripts/libs/utils.js'],
|
||||
// ['/js-assets/scripts/libs/native_bridge.js', 1],
|
||||
// ['/js-assets/scripts/libs/main_native_inject.js'],
|
||||
// ['/js-assets/scripts/run_sample.js'],
|
||||
// ]
|
||||
|
||||
// var loadScripts = async function (list, callback) {
|
||||
// var loaded = 0;
|
||||
// var loadNext = function () {
|
||||
// return new Promise((resolve, reject) => {
|
||||
// // list[loaded][0] = list[loaded][0] + (list[loaded][0].indexOf("?") == -1 ? "?" : "&") + "t=" + Date.now();
|
||||
// loadSingleScript(list[loaded]).then(() => {
|
||||
// loaded++;
|
||||
// if (loaded >= list.length) {
|
||||
// resolve();
|
||||
// } else {
|
||||
// return loadNext();
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
// };
|
||||
// loadNext();
|
||||
// };
|
||||
// loadScripts(scripts, ()=> {})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,22 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "esnext",
|
||||
"baseUrl": "./",
|
||||
"moduleResolution": "node",
|
||||
"allowJs": true,
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"src/*"
|
||||
]
|
||||
},
|
||||
"lib": [
|
||||
"esnext",
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"scripthost"
|
||||
]
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
19631
package-lock.json
generated
28
package.json
@ -3,12 +3,8 @@
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"task": "vite --host --mode dev",
|
||||
"test": "vite --host --mode test",
|
||||
"dev": "vite --host --mode development",
|
||||
"prod": "vite --host --mode production",
|
||||
"build:task": "vite build --mode dev",
|
||||
"build:dev": "vite build --mode development",
|
||||
"dev": "vite --host --mode dev",
|
||||
"build:dev": "vite build --mode dev",
|
||||
"build:test": "vite build --mode test",
|
||||
"build:prod": "vite build --mode production"
|
||||
},
|
||||
@ -18,40 +14,39 @@
|
||||
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
||||
"@metamask/safe-event-emitter": "^2.0.0",
|
||||
"@vue/runtime-dom": "^3.2.47",
|
||||
"@vueuse/core": "^9.12.0",
|
||||
"@walletconnect/web3-provider": "^1.8.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"ant-design-vue": "^4.2.3",
|
||||
"axios": "^1.7.2",
|
||||
"ant-design-vue": "^3.2.15",
|
||||
"axios": "^1.3.3",
|
||||
"buffer": "^6.0.3",
|
||||
"ethers": "^5.4",
|
||||
"gsap": "^3.11.5",
|
||||
"js-cookie": "^3.0.1",
|
||||
"moment": "^2.30.1",
|
||||
"normalize.css": "^8.0.1",
|
||||
"opensea": "^1.0.1",
|
||||
"pinia": "^2.0.30",
|
||||
"pinia-plugin-persistedstate": "^3.2.1",
|
||||
"postcss-px-to-viewport": "^1.1.1",
|
||||
"postcss-px-to-viewport-8-plugin": "^1.2.5",
|
||||
"prerender-spa-plugin-next": "^4.2.3",
|
||||
"process": "^0.11.10",
|
||||
"rollup-plugin-polyfill-node": "^0.12.0",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"swiper": "^10.3.0",
|
||||
"three": "^0.155.0",
|
||||
"util": "^0.12.5",
|
||||
"uuid": "^9.0.0",
|
||||
"video.js": "^8.0.4",
|
||||
"videojs-flash": "^2.2.1",
|
||||
"vite-plugin-pages": "^0.31.0",
|
||||
"vite-plugin-ssr": "^0.4.132",
|
||||
"vite-ssg": "^0.22.2",
|
||||
"vue": "^3.2.45",
|
||||
"vue-3d-loader": "^2.1.5",
|
||||
"vue-router": "^4.1.6",
|
||||
"vue3-autocounter": "^1.0.6",
|
||||
"vue3-clipboard": "^1.0.0",
|
||||
"web3": "^1.8.2"
|
||||
"web3": "^1.8.2",
|
||||
"youtube-player": "^5.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@imtbl/sdk": "^1.41.0",
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
@ -61,9 +56,6 @@
|
||||
"sass": "^1.58.1",
|
||||
"tailwindcss": "^3.3.1",
|
||||
"terser": "^5.16.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5",
|
||||
"unplugin-vue-components": "^0.27.0",
|
||||
"vite": "^4.1.0",
|
||||
"vite-plugin-prerender": "^1.0.8",
|
||||
"vite-plugin-require-transform": "^1.0.9"
|
||||
|
Before Width: | Height: | Size: 537 KiB After Width: | Height: | Size: 470 KiB |
BIN
public/logo.png
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 6.2 KiB |
94
src/App.vue
@ -12,7 +12,6 @@ import Notification from './components/global/Notification.vue'
|
||||
import { gsap } from "gsap";
|
||||
|
||||
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
||||
import { BlockChain } from '@/components/chain/BlockChain';
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
|
||||
@ -22,16 +21,11 @@ const notification = ref(null);
|
||||
provide('addNotification', (title, message) => {
|
||||
notification.value.addNotification(title, message);
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
new BlockChain().preparePassport();
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
body,
|
||||
html {
|
||||
background-color: #17141B;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
@ -66,93 +60,13 @@ html {
|
||||
.fade-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
// @font-face {
|
||||
// font-family: "MyFont";
|
||||
// src: url("/fonts/myfont.ttf") format("truetype");
|
||||
// "@vueuse/core": "^9.12.0",
|
||||
|
||||
// }
|
||||
@font-face {
|
||||
font-family: "MyFont";
|
||||
src: url("/fonts/myfont.ttf") format("truetype");
|
||||
}
|
||||
#app{
|
||||
height: 100%;
|
||||
position: relative;
|
||||
//background: #0c0c18;
|
||||
}
|
||||
div,
|
||||
span,
|
||||
object,
|
||||
iframe,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
blockquote,
|
||||
pre,
|
||||
abbr,
|
||||
address,
|
||||
cite,
|
||||
code,
|
||||
del,
|
||||
dfn,
|
||||
em,
|
||||
img,
|
||||
ins,
|
||||
kbd,
|
||||
q,
|
||||
samp,
|
||||
small,
|
||||
strong,
|
||||
sub,
|
||||
sup,
|
||||
var,
|
||||
b,
|
||||
i,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
ol,
|
||||
ul,
|
||||
li,
|
||||
fieldset,
|
||||
form,
|
||||
label,
|
||||
legend,
|
||||
table,
|
||||
caption,
|
||||
tbody,
|
||||
tfoot,
|
||||
thead,
|
||||
tr,
|
||||
th,
|
||||
td,
|
||||
article,
|
||||
aside,
|
||||
canvas,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary,
|
||||
time,
|
||||
mark,
|
||||
audio,
|
||||
video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
background: transparent;
|
||||
list-style: none;
|
||||
word-break: keep-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
</style>
|
||||
|
@ -1,7 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
import request2 from '@/utils/requestduplicate'
|
||||
import request3 from '@/utils/request3'
|
||||
|
||||
|
||||
|
||||
const GPAL_URL = import.meta.env.VUE_APP_GPAL_API;
|
||||
@ -111,10 +109,3 @@ export const getNonce = (params) =>
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
|
||||
export const getlogin = (params) =>
|
||||
request3({
|
||||
url: "/webapp/index.php?c=Login&a=auth&_is_web=1",
|
||||
method: "get",
|
||||
params: params,
|
||||
})
|
||||
|
BIN
src/assets/img/about/gameWeb_aboutP1_bg1(1).png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
src/assets/img/about/gameWeb_aboutP1_bg1.jpg
Normal file
After Width: | Height: | Size: 242 KiB |
BIN
src/assets/img/about/gameWeb_aboutP1_title.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/assets/img/about/gameWeb_aboutP2_bg1.png
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
src/assets/img/about/gameWeb_aboutP2_bg2.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
src/assets/img/about/gameWeb_aboutP2_deco.png
Normal file
After Width: | Height: | Size: 698 B |
BIN
src/assets/img/about/gameWeb_aboutP2_line1.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
src/assets/img/about/gameWeb_aboutP2_line2.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
src/assets/img/about/gameWeb_aboutP2_title.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg1.png
Normal file
After Width: | Height: | Size: 202 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg2.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg3.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg4.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg5.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg6.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_bg7.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_line1.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
src/assets/img/about/gameWeb_aboutP3_line2.png
Normal file
After Width: | Height: | Size: 396 B |
BIN
src/assets/img/about/gameWeb_aboutP3_title.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_bg1.png
Normal file
After Width: | Height: | Size: 313 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_bg2.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_deco.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_news1.png
Normal file
After Width: | Height: | Size: 356 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_news2.png
Normal file
After Width: | Height: | Size: 463 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_news3.png
Normal file
After Width: | Height: | Size: 403 KiB |
BIN
src/assets/img/about/gameWeb_aboutP4_title.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/assets/img/about/gameWeb_aboutP5_bg.png
Normal file
After Width: | Height: | Size: 842 KiB |
BIN
src/assets/img/home/Robot.png
Normal file
After Width: | Height: | Size: 305 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 13 KiB |
BIN
src/assets/img/home/btn_Android.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
src/assets/img/home/btn_appStore.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
src/assets/img/home/btn_googlePlay.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
src/assets/img/home/character_bg.png
Normal file
After Width: | Height: | Size: 416 KiB |
BIN
src/assets/img/home/chip/blue-chip-01.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/blue-chip-02.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/blue-chip-03.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/blue-chip-04.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/chip_title.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
src/assets/img/home/chip/red-chip-01.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
src/assets/img/home/chip/red-chip-02.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/red-chip-03.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
src/assets/img/home/chip/red-chip-04.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
src/assets/img/home/chip/yellow-chip-01.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
src/assets/img/home/chip/yellow-chip-02.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/yellow-chip-03.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/chip/yellow-chip-04.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/home/features_1.png
Normal file
After Width: | Height: | Size: 602 KiB |
BIN
src/assets/img/home/features_2.png
Normal file
After Width: | Height: | Size: 585 KiB |
BIN
src/assets/img/home/features_3.png
Normal file
After Width: | Height: | Size: 607 KiB |
BIN
src/assets/img/home/features_4.png
Normal file
After Width: | Height: | Size: 663 KiB |
BIN
src/assets/img/home/features_5.png
Normal file
After Width: | Height: | Size: 656 KiB |
BIN
src/assets/img/home/gameWeb_KV.jpg
Normal file
After Width: | Height: | Size: 357 KiB |
BIN
src/assets/img/home/gameWeb_p1_arrow01.png
Normal file
After Width: | Height: | Size: 461 B |
BIN
src/assets/img/home/gameWeb_p1_slogan.png
Normal file
After Width: | Height: | Size: 137 KiB |
BIN
src/assets/img/home/gameWeb_p2_PVE1.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
src/assets/img/home/gameWeb_p2_PVE2.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
src/assets/img/home/gameWeb_p2_PVP1.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
src/assets/img/home/gameWeb_p2_PVP2.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
src/assets/img/home/gameWeb_p2_bg.png
Normal file
After Width: | Height: | Size: 795 KiB |
BIN
src/assets/img/home/gameWeb_p2_btn1.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
src/assets/img/home/gameWeb_p2_btn2.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
src/assets/img/home/gameWeb_p2_title.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/assets/img/home/gameWeb_p3_arrow1.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
src/assets/img/home/gameWeb_p3_arrow12.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
src/assets/img/home/gameWeb_p3_icon11.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/assets/img/home/gameWeb_p3_icon12.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
src/assets/img/home/gameWeb_p3_icon21.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
src/assets/img/home/gameWeb_p3_icon22.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
src/assets/img/home/gameWeb_p3_icon31.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
src/assets/img/home/gameWeb_p3_icon32.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
src/assets/img/home/gameWeb_p3_line.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
src/assets/img/home/gameWeb_p3_menu.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
src/assets/img/home/gameWeb_p3_title.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
src/assets/img/home/gameWeb_p4_arrow.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
src/assets/img/home/gameWeb_p4_arrow1.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
src/assets/img/home/gameWeb_p4_arrow2.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
src/assets/img/home/gameWeb_p4_bg.png
Normal file
After Width: | Height: | Size: 316 KiB |