This commit is contained in:
huangjinming 2023-01-10 17:10:15 +08:00
parent a8ef7edb88
commit 8129076dca
3 changed files with 30 additions and 11 deletions

View File

@ -6,9 +6,7 @@
<img src="../../assets/market/dialog/wangning.png" alt="" /> <img src="../../assets/market/dialog/wangning.png" alt="" />
</div> </div>
<div class="view">View in Poiygonscan</div> <div class="view">View in Poiygonscan</div>
<div class="confirm-btn" @click="handClick"> <div class="confirm-btn" @click="handClick">Confirm</div>
Confirm
</div>
</div> </div>
<div class="success-container" v-else-if="msgType == 1"> <div class="success-container" v-else-if="msgType == 1">
<div class="title">Transfaction Complete</div> <div class="title">Transfaction Complete</div>
@ -16,9 +14,7 @@
<img src="../../assets/market/dialog/success.png" alt="" /> <img src="../../assets/market/dialog/success.png" alt="" />
</div> </div>
<div class="view">View in Poiygonscan</div> <div class="view">View in Poiygonscan</div>
<div class="confirm-btn" @click="handClick"> <div class="confirm-btn" @click="handClick">Confirm</div>
Confirm
</div>
</div> </div>
<Close @closeMyself="close" /> <Close @closeMyself="close" />
</el-dialog> </el-dialog>
@ -56,8 +52,11 @@ export default {
::v-deep .el-dialog, ::v-deep .el-dialog,
.el-pager li { .el-pager li {
position: relative; position: relative;
width: 576px !important; // width: 576px !important;
height: 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: url("../../assets/market/dialog/msg-bg.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
box-shadow: none; box-shadow: none;

View File

@ -159,7 +159,12 @@ export default {
this.$emit("handPutHide"); this.$emit("handPutHide");
}, },
async handMessage() { 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); console.log("handMessage",1);
// switch (this.type) { // switch (this.type) {
// case "hero": // case "hero":

View File

@ -178,8 +178,23 @@ export default class HeroNft extends Vue {
this.isTab = hide; this.isTab = hide;
} }
@Watch("data.detail.quality") @Watch("data.detail.quality")
haldQuality(newvalue: any) { haldQuality(neWvalue: any,oldValue:any) {
this.quality = newvalue; 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() { created() {
if (this.qualityNumber > 0 && this.qualityNumber <= 5) { if (this.qualityNumber > 0 && this.qualityNumber <= 5) {