diff --git a/src/components/Dialogs/loadingDialog.vue b/src/components/Dialogs/loadingDialog.vue index 480b5a2..9c67c54 100644 --- a/src/components/Dialogs/loadingDialog.vue +++ b/src/components/Dialogs/loadingDialog.vue @@ -44,8 +44,8 @@ emit('handleClose') // top: 50%; .ant-modal-content { padding: 0px; - background: rgba(0,0,0,0); - border: 0px solid #B966FF; + background: #1a1821; + border: 1px solid #B966FF; // box-shadow: 0px 15px 28px 3px rgba(22,22,22,0.13); border-radius: 100px; .ant-modal-body { diff --git a/src/components/assets/assetsHeader.vue b/src/components/assets/assetsHeader.vue index ddcda82..41f79e3 100644 --- a/src/components/assets/assetsHeader.vue +++ b/src/components/assets/assetsHeader.vue @@ -8,7 +8,7 @@
{{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }}
-

Total Contribution Credits:  {{ contributionPointTotal }}

+

Total Contribution Credits:  {{ contributionPointTotal }}

@@ -440,12 +440,19 @@ onMounted(() => { display: flex; align-items: center; margin-bottom: 5px; + p { + display: flex; + align-items: center; + span { + color: #00DEFF; + font-size: 26px; + } + } } .total { font-family: 'Poppins'; font-weight: bold; font-size: 18px; - color: #00DEFF; img { width: 27px; height: 23px; @@ -462,13 +469,11 @@ onMounted(() => { margin-left: 10px; } .icon { - width: 30px; - height: 30px; + width: 27px; + height: 27px; cursor: pointer; } - span { - color: #00DEFF; - } + } } } diff --git a/src/components/assets/founder.vue b/src/components/assets/founder.vue index 8444db0..279ed95 100644 --- a/src/components/assets/founder.vue +++ b/src/components/assets/founder.vue @@ -228,7 +228,7 @@ onUnmounted(() => { color: #fff; margin-bottom: 20px; font-size: 28px; - z-index: 99; + z-index: 1; div { width: 120px; height: 50px; diff --git a/src/components/assets/myCard.vue b/src/components/assets/myCard.vue index 9125acc..9c40569 100644 --- a/src/components/assets/myCard.vue +++ b/src/components/assets/myCard.vue @@ -237,17 +237,20 @@ const unStake = async (data) => { } } const heroLock = async (data) => { + loadingDialogVisible.value = true try { const bc = new BlockChain() let res = await bc.locker.unlockOrMintGameNft(toRaw(data).contract_address,[toRaw(data).token_id]) if(res) { let timer = setTimeout(() => { message.success('Unstake success.') + loadingDialogVisible.value = false emit('renewMyNft') clearTimeout(timer); }, 2000); } } catch (e) { + loadingDialogVisible.value = false if(e.message.indexOf('rejected') > -1) { message.error('User rejected the request') } else if (e.message.indexOf('select wallet') > -1) { @@ -258,19 +261,20 @@ const heroLock = async (data) => { } } const founderLock = async (data) => { - console.log(data) + loadingDialogVisible.value = true try { const bc = new BlockChain() let res = await bc.locker.unlockMain(toRaw(data).contract_address,[toRaw(data).token_id]) if(res) { let timer = setTimeout(() => { message.success('Unstake success.') + loadingDialogVisible.value = false emit('renewMyNft') clearTimeout(timer); }, 2000); } } catch (e) { - console.log(e) + loadingDialogVisible.value = false if(e.message.indexOf('rejected') > -1) { message.error('User rejected the request') } else if (e.message.indexOf('select wallet') > -1) {