diff --git a/pages/menu/sendToken/enPassword/index.vue b/pages/menu/sendToken/enPassword/index.vue index edac221..232b5bc 100644 --- a/pages/menu/sendToken/enPassword/index.vue +++ b/pages/menu/sendToken/enPassword/index.vue @@ -46,9 +46,11 @@ } }, transaction() { + console.log(this.transInfoPass.privateKey) + let that=this if (this.transInfoPass.type === 'ETH') { - this.$EthUtil.transaction(this.transInfoPass.fromAddress, this.transInfoPass.privateKey, - this.transInfoPass.toAddress, this.transInfoPass.amount, this.transInfoPass.contractAddress, + this.$EthUtil.transaction(this.transInfoPass.fromAddress, + this.transInfoPass.toAddress, this.transInfoPass.amount.toString(), this.transInfoPass.privateKey.substring(2,this.transInfoPass.privateKey.length), this.transInfoPass.contractAddress, function(hash, err) { if (!err) { @@ -64,7 +66,6 @@ }) }, 1000) } else { - console.log(err, 'cuowu') uni.showToast({ diff --git a/pages/menu/sendToken/transfer/index.vue b/pages/menu/sendToken/transfer/index.vue index 86a176a..7e9fdd4 100644 --- a/pages/menu/sendToken/transfer/index.vue +++ b/pages/menu/sendToken/transfer/index.vue @@ -444,7 +444,9 @@ this.$EthUtil.getGas().then((res) => { console.log(res, 'ETH') this.$EthUtil.getGas().then((res) => { - that.transInfoPass.fee = res * 61000 / Math.pow(10, 6) + that.transInfoPass.fee = res * 61000 / Math.pow(10, 18) + that.showBottom = true; + that.show = true; }) }) diff --git a/pages/menu/transction/detail/index.vue b/pages/menu/transction/detail/index.vue index 4e57548..8966a14 100644 --- a/pages/menu/transction/detail/index.vue +++ b/pages/menu/transction/detail/index.vue @@ -72,7 +72,7 @@ - + {{i18n.moreinformation}}