Commit efb1519a authored by salitedfish's avatar salitedfish

bug修复

parent ebd71360
...@@ -54,7 +54,9 @@ ...@@ -54,7 +54,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="py-3 text-xs" @click="downloadImg">点击下载保存图片</div> <!-- <div class="py-3 text-xs" @click="downloadImg">点击下载保存图片</div> -->
<div class="py-3 text-xs">请截图保存图片</div>
</div> </div>
</template> </template>
......
...@@ -24,12 +24,14 @@ ...@@ -24,12 +24,14 @@
show-error show-error
round round
fit="cover" fit="cover"
:src='this.$route.query.avatar?this.$route.query.avatar:"/img/mokeImg/avatar.png"' :src='this.fromAvatar?this.fromAvatar:"/img/mokeImg/avatar.png"'
/> />
</div> </div>
<div class="pl-3 pr-8"> <div class="pl-3 pr-8">
<div>{{this.$route.query.ownerName}}</div> <!-- <div>{{this.$route.query.ownerName}}</div>
<div class=" text-xs">{{this.$route.query.from}}</div> <div class=" text-xs">{{this.$route.query.from}}</div> -->
<div>{{ fromNickName }}</div>
<div class=" text-xs">{{ fromWallet }}</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -98,7 +100,10 @@ export default Vue.extend({ ...@@ -98,7 +100,10 @@ export default Vue.extend({
}, },
showTransfer: true, showTransfer: true,
showCamera: false, showCamera: false,
codeData:'' codeData:'',
fromAvatar: JSON.parse(localStorage.getItem('KEY_USER') as string).avatar,
fromNickName: JSON.parse(localStorage.getItem('KEY_USER') as string).nickname,
fromWallet: JSON.parse(localStorage.getItem('KEY_USER') as string).wallet
} }
}, },
...@@ -158,7 +163,8 @@ export default Vue.extend({ ...@@ -158,7 +163,8 @@ export default Vue.extend({
receiveName:this.receiver.name, receiveName:this.receiver.name,
nftid:Number(this.$route.query.nftId), nftid:Number(this.$route.query.nftId),
nftname:this.$route.query.nftName, nftname:this.$route.query.nftName,
senderWallet:this.$route.query.from, // senderWallet:this.$route.query.from,
senderWallet:this.fromWallet,
} }
this.$store.commit('transfer/SET_STATE',data) this.$store.commit('transfer/SET_STATE',data)
console.log(this.$store.state.transfer); console.log(this.$store.state.transfer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment