|
|
@ -139,6 +139,8 @@ |
|
|
<u-mask z-index="10" :show="show" @click="show = false"></u-mask> |
|
|
<u-mask z-index="10" :show="show" @click="show = false"></u-mask> |
|
|
<u-mask z-index="10" :show="show2" @click="show2 = false"></u-mask> |
|
|
<u-mask z-index="10" :show="show2" @click="show2 = false"></u-mask> |
|
|
<u-mask z-index="10" :show="show3" @click="show3 = false"></u-mask> |
|
|
<u-mask z-index="10" :show="show3" @click="show3 = false"></u-mask> |
|
|
|
|
|
|
|
|
|
|
|
<u-empty :text="teee" mode="list" v-if="showInfo"></u-empty> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -150,14 +152,16 @@ |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
teee: this.$t('index').Nocontent, |
|
|
|
|
|
showInfo: false, |
|
|
sourcePage: '', |
|
|
sourcePage: '', |
|
|
ethIndex: 0, |
|
|
ethIndex: 0, |
|
|
btcIndex: 0, |
|
|
btcIndex: 0, |
|
|
trxIndex: 0, |
|
|
trxIndex: 0, |
|
|
showImte: false, |
|
|
showImte: false, |
|
|
BTCAddressInfo: {}, |
|
|
BTCAddressInfo: [], |
|
|
ETHAddressInfo: {}, |
|
|
ETHAddressInfo: [], |
|
|
TRXAddressInfo: {}, |
|
|
TRXAddressInfo: [], |
|
|
walletIndex: -1, |
|
|
walletIndex: -1, |
|
|
itemCoin: '', |
|
|
itemCoin: '', |
|
|
itemAddress: '', |
|
|
itemAddress: '', |
|
|
@ -263,9 +267,12 @@ |
|
|
this.showImte = true; |
|
|
this.showImte = true; |
|
|
this.show = false; |
|
|
this.show = false; |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
|
|
|
uni.redirectTo({ |
|
|
|
|
|
url:'/pages/menu/sendToken/address/index' |
|
|
|
|
|
}) |
|
|
this.showImte = false; |
|
|
this.showImte = false; |
|
|
}, 1500) |
|
|
}, 1500) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if (this.itemCoin == 'ETH') { |
|
|
if (this.itemCoin == 'ETH') { |
|
|
if (this.ETHAddressInfo.length == 1) { |
|
|
if (this.ETHAddressInfo.length == 1) { |
|
|
@ -280,9 +287,12 @@ |
|
|
this.showImte = true; |
|
|
this.showImte = true; |
|
|
this.show2 = false; |
|
|
this.show2 = false; |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
|
|
|
uni.redirectTo({ |
|
|
|
|
|
url:'/pages/menu/sendToken/address/index' |
|
|
|
|
|
}) |
|
|
this.showImte = false; |
|
|
this.showImte = false; |
|
|
}, 1500) |
|
|
}, 1500) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if (this.itemCoin == 'TRX') { |
|
|
if (this.itemCoin == 'TRX') { |
|
|
if (this.TRXAddressInfo.length == 1) { |
|
|
if (this.TRXAddressInfo.length == 1) { |
|
|
@ -295,9 +305,12 @@ |
|
|
this.showImte = true; |
|
|
this.showImte = true; |
|
|
this.show3 = false; |
|
|
this.show3 = false; |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
|
|
|
uni.redirectTo({ |
|
|
|
|
|
url:'/pages/menu/sendToken/address/index' |
|
|
|
|
|
}) |
|
|
this.showImte = false; |
|
|
this.showImte = false; |
|
|
}, 1500) |
|
|
}, 1500) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
goAddress() { |
|
|
goAddress() { |
|
|
@ -307,7 +320,7 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad(item) { |
|
|
onLoad(item) { |
|
|
|
|
|
|
|
|
this.sourcePage = uni.getStorageSync('sourcePage') |
|
|
this.sourcePage = uni.getStorageSync('sourcePage') |
|
|
// 判断是否是从交易页面来的 |
|
|
// 判断是否是从交易页面来的 |
|
|
if (item.item) { |
|
|
if (item.item) { |
|
|
@ -327,6 +340,14 @@ |
|
|
this.TRXAddressInfo = uni.getStorageSync('TRXAddressInfo') |
|
|
this.TRXAddressInfo = uni.getStorageSync('TRXAddressInfo') |
|
|
console.log(this.TRXAddressInfo, 777) |
|
|
console.log(this.TRXAddressInfo, 777) |
|
|
} |
|
|
} |
|
|
|
|
|
console.log(this.BTCAddressInfo.length) |
|
|
|
|
|
console.log(this.ETHAddressInfo.length) |
|
|
|
|
|
console.log(this.TRXAddressInfo.length) |
|
|
|
|
|
if(this.BTCAddressInfo.length==0&&this.ETHAddressInfo.length==0&&this.TRXAddressInfo.length==0){ |
|
|
|
|
|
this.showInfo=true; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.showInfo=false; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
|