diff --git a/.env.development b/.env.development
index d977e95..05c3863 100644
--- a/.env.development
+++ b/.env.development
@@ -9,4 +9,6 @@ VITE_CLAIMWL_ADDRESS='0xc11A64Cc2Ec7aEFbd5E25a37f1d9216f3f8CF11a'
VITE_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-1E-detBXtG7U$5961WuL
VITE_PASSPORT_CLIENT_ID=gYQrjtct7CN4UVwDG2sb8yACfYRo3xQJ
VITE_PRODUCTION=sandbox
-VITE_RPC_API='https://rpc.testnet.immutable.com/'
\ No newline at end of file
+VITE_RPC_API='https://rpc.testnet.immutable.com/'
+VITE_HX_API='https://explorer.testnet.immutable.com/tx/'
+VITE_MKT_API='https://market-test.kingsome.cn'
\ No newline at end of file
diff --git a/.env.production b/.env.production
index 2af67a0..a1b9cee 100644
--- a/.env.production
+++ b/.env.production
@@ -8,5 +8,7 @@ VITE_CFNFT_ADDRESS='0x3A85cA6615953c683826FBe54fA5e2a770ee8bA2'
VITE_CLAIMWL_ADDRESS='0xc7de4C8f802e29B21C21379eD3190Cc0c36C0c28'
VITE_PASSPORT_PUBLISHABLE_KEY=pk_imapik-tU10buLqoyLZ0o54rcub
VITE_PASSPORT_CLIENT_ID=tTB5eEedqDOHPHMI41sRDGmqAQwus9oE
-VITE_PRODUCTION=sandbox
-VITE_RPC_API='https://rpc.immutable.com/'
\ No newline at end of file
+VITE_PRODUCTION=production
+VITE_RPC_API='https://rpc.immutable.com/'
+VITE_HX_API='https://explorer.immutable.com/tx/'
+VITE_MKT_API='https://market-api.counterfire.games'
\ No newline at end of file
diff --git a/.env.text b/.env.text
index 7b3cf69..465459b 100644
--- a/.env.text
+++ b/.env.text
@@ -9,4 +9,6 @@ VITE_CLAIMWL_ADDRESS='0xc11A64Cc2Ec7aEFbd5E25a37f1d9216f3f8CF11a'
VITE_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-1E-detBXtG7U$5961WuL
VITE_PASSPORT_CLIENT_ID=gYQrjtct7CN4UVwDG2sb8yACfYRo3xQJ
VITE_PRODUCTION=sandbox
-VITE_RPC_API='https://rpc.testnet.immutable.com/'
\ No newline at end of file
+VITE_RPC_API='https://rpc.testnet.immutable.com/'
+VITE_HX_API='https://explorer.testnet.immutable.com/tx/'
+VITE_MKT_API='https://market-test.kingsome.cn'
\ No newline at end of file
diff --git a/src/view/mintIndex.vue b/src/view/mintIndex.vue
index fb717c4..77e31df 100644
--- a/src/view/mintIndex.vue
+++ b/src/view/mintIndex.vue
@@ -389,6 +389,7 @@
Countdown
+ {{ days2 }}D
{{ hours2 }}H
{{ minutes2 }}M
{{ senconds2 }}S
@@ -665,7 +666,7 @@
-
+
lmmutascan
@@ -878,9 +879,9 @@ const openNft = ref(1719828000000)
// 倒计时
const starTimer = () => {
let now = new Date().getTime();
- let str = 1719397500000; // 开始(前24)
- let bar = 1719397500000; // 一期开始(一期倒计时4小时)
- let towBar = 1725197560000; // 二期开始 (一期倒计时4小时)
+ let str = 1719568800000; // 开始(前24)
+ let bar = 1719568800000; // 一期开始(一期倒计时4小时)
+ let towBar = 1719583200000; // 二期开始 (一期倒计时4小时)
let end = 1719604800000; // 结束 ()
let strTime = (str - now) / 1000; // 开始前毫秒数 - 现在毫秒数
let begTime = (bar - now) / 1000; // 一期开始毫秒数 - 现在毫秒数
@@ -1050,6 +1051,7 @@ const increase = () => {
const openStatus = ref(0);
const openLoading = ref(false);
// 开始mint
+const toExplorerApi = ref()
const mintClaim = async () => {
// 1、判断是否有mint次数
if (mintTotal.value > 0) {
@@ -1081,7 +1083,7 @@ const mintClaim = async () => {
web3,
);
if (claimNft) {
- console.log(claimNft,'---------------------------------------------------------')
+ toExplorerApi.value = `${import.meta.env.VITE_HX_API}${claimNft.transactionHash}`
isOpenClaim.value = 3;
openStatus.value = 2;
mintInit()
@@ -1143,7 +1145,7 @@ const getMyNftList = async () => {
cursor: '',
search_name: ''
}
- let res = await axios.get(`https://market-test.kingsome.cn/api/asset/${import.meta.env.VITE_NET_ID}/${getAddress.value}?type=0&page_size=100&cursor=&search_name=`)
+ let res = await axios.get(`${import.meta.env.VITE_MKT_API}/api/asset/${import.meta.env.VITE_NET_ID}/${getAddress.value}?type=0&page_size=100&cursor=&search_name=`)
nftList.value = res.data.rows
// console.log(nftList.value)
}
@@ -1160,8 +1162,9 @@ const stopTimeChange = (e) => {
const toTwitter = () => {
const url = 'https://twitter.com/intent/tweet?text=';
const hashtags = encodeURIComponent("I have just minted my Genesis Box for @playCounterFire! Eagerly starting the play2earn season, excited for my hero's debut in this thrilling quest!");
- const imageUrl = encodeURIComponent(`https://opensea.io/assets/ethereum/0xec23679653337d4c6390d0eeba682246a6067777/`);
- const params = `${hashtags}&url=${imageUrl}`;
+ // const imageUrl = encodeURIComponent(`https://opensea.io/assets/ethereum/0xec23679653337d4c6390d0eeba682246a6067777/`);
+ // const params = `${hashtags}&url=${imageUrl}`;
+ const params = `${hashtags}`;
window.open(`${url}${params}`, '_blank');
}
@@ -2072,24 +2075,25 @@ onMounted(() => {
.tow-time-event {
margin: 0 auto;
margin-top: 10px;
- width: 289px;
+ // width: 380px;
display: flex;
align-items: center;
justify-content: space-between;
span {
display: inline-block;
- width: 80px;
+ width: 100px;
position: relative;
font-weight: 600;
font-size: 40px;
font-family: "Poppins";
+ text-align: center;
&::after {
display: block;
content: ":";
/* 定位 */
position: absolute;
top: 47%;
- left: -20%;
+ left: -20px;
transform: translateY(-50%);
}
&:nth-child(1) {