修复loading背景颜色,修改贡献值样式
This commit is contained in:
parent
1a8f90a5e5
commit
7a4d4f4b1b
@ -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 {
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="assets-user-name">
|
||||
<div>{{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }}</div>
|
||||
<div class="total">
|
||||
<p>Total Contribution Credits: {{ contributionPointTotal }}</p>
|
||||
<p>Total Contribution Credits: <span>{{ contributionPointTotal }}</span></p>
|
||||
<img src="@/assets/img/marketplace/totalContribution.png" alt="">
|
||||
</div>
|
||||
<div class="day">
|
||||
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -228,7 +228,7 @@ onUnmounted(() => {
|
||||
color: #fff;
|
||||
margin-bottom: 20px;
|
||||
font-size: 28px;
|
||||
z-index: 99;
|
||||
z-index: 1;
|
||||
div {
|
||||
width: 120px;
|
||||
height: 50px;
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user