From 8129076dca40a668b2853eefacf3737b1b00f5fe Mon Sep 17 00:00:00 2001 From: huangjinming Date: Tue, 10 Jan 2023 17:10:15 +0800 Subject: [PATCH] fix --- src/components/market/MessageBox.vue | 15 +++++++-------- src/components/market/TheSellDialog.vue | 7 ++++++- src/components/market/nft/HeroNft.vue | 19 +++++++++++++++++-- 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/src/components/market/MessageBox.vue b/src/components/market/MessageBox.vue index 8920392..eb194cc 100644 --- a/src/components/market/MessageBox.vue +++ b/src/components/market/MessageBox.vue @@ -6,9 +6,7 @@
View in Poiygonscan
-
- Confirm -
+
Confirm
Transfaction Complete
@@ -16,9 +14,7 @@
View in Poiygonscan
-
- Confirm -
+
Confirm
@@ -56,8 +52,11 @@ export default { ::v-deep .el-dialog, .el-pager li { position: relative; - width: 576px !important; - height: 576px !important; + // width: 576px !important; + // height: 576px !important; + width: 732px !important; + height: 636px !important; + margin-top: 12vh !important; background: url("../../assets/market/dialog/msg-bg.png") no-repeat; background-size: 100% 100%; box-shadow: none; diff --git a/src/components/market/TheSellDialog.vue b/src/components/market/TheSellDialog.vue index ef1a2b0..bf8052c 100644 --- a/src/components/market/TheSellDialog.vue +++ b/src/components/market/TheSellDialog.vue @@ -159,7 +159,12 @@ export default { this.$emit("handPutHide"); }, async handMessage() { - this.$emit('handMessage',0) + // this.$emit('handMessage',0) + this.$message({ + message: 'You just copied accountId', + type: 'success', + duration: 5 * 1000 + }) console.log("handMessage",1); // switch (this.type) { // case "hero": diff --git a/src/components/market/nft/HeroNft.vue b/src/components/market/nft/HeroNft.vue index b95d011..ab37926 100644 --- a/src/components/market/nft/HeroNft.vue +++ b/src/components/market/nft/HeroNft.vue @@ -178,8 +178,23 @@ export default class HeroNft extends Vue { this.isTab = hide; } @Watch("data.detail.quality") - haldQuality(newvalue: any) { - this.quality = newvalue; + haldQuality(neWvalue: any,oldValue:any) { + this.quality = neWvalue; + // this.starList = []; + // console.log(neWvalue ,'neWvalue',oldValue,'oldValue'); + // if (this.quality > 0 && this.quality <= 5) { + // for (var i = 1; i <= this.qualityNumber; i++) { + // this.starList.push(this.starType[0]); + // } + // } else if (this.quality > 5 && this.quality <= 10) { + // for (var i = 1; i <= this.quality - 5; i++) { + // this.starList.push(this.starType[1]); + // } + // } else { + // for (var i = 1; i <= this.quality - 10; i++) { + // this.starList.push(this.starType[2]); + // } + // } } created() { if (this.qualityNumber > 0 && this.qualityNumber <= 5) {