diff --git a/src/components/market/ChipBuyDialog.vue b/src/components/market/ChipBuyDialog.vue
index 5bb80df..1f7d70c 100644
--- a/src/components/market/ChipBuyDialog.vue
+++ b/src/components/market/ChipBuyDialog.vue
@@ -167,11 +167,6 @@ export default {
this.$emit("handBuyHide", false);
},
async handBeginBuy() {
- const data = {
- o_link: this.piece.o_link ? this.piece.o_link : this.data.o_link,
- marketDddress: CONTRACT_ADDRESS[AppModule.chainId].marketDddress,
- };
- console.log(data, "data");
try {
this.showLoading();
const nftres = await this.chainManager.bc.beginBuy(
@@ -181,7 +176,6 @@ export default {
if (nftres.status == true) {
this.hideLoading();
this.$emit("handMessage", 1);
- // this.closeTip()
if(this.type == "chip"){
setTimeout(() => {
this.$emit("handMessageHide");
@@ -202,7 +196,6 @@ export default {
}, 1000);
}
}
- console.log(nftres, "beginBuy");
} catch (err) {
this.hideLoading();
this.$emit("handMessage", 0);
diff --git a/src/components/market/Chipdialog.vue b/src/components/market/Chipdialog.vue
index ae834e5..3bf894b 100644
--- a/src/components/market/Chipdialog.vue
+++ b/src/components/market/Chipdialog.vue
@@ -194,17 +194,13 @@ export default {
return getChipArrid(nameId);
},
async handRemove() {
- console.log(
- this.data.o_link,
- CONTRACT_ADDRESS[AppModule.chainId].marketDddress
- );
+
try {
this.showLoading()
const nftres = await this.chainManager.bc.beginCancelOrder(
this.data.o_link,
CONTRACT_ADDRESS[AppModule.chainId].marketDddress
);
- console.log(nftres, "beginSell");
if (nftres.status == true) {
this.$emit("handMessage", 1);
this.hideLoading();
diff --git a/src/components/market/HeroBuyDialog.vue b/src/components/market/HeroBuyDialog.vue
index 48ec449..bada765 100644
--- a/src/components/market/HeroBuyDialog.vue
+++ b/src/components/market/HeroBuyDialog.vue
@@ -78,11 +78,7 @@ export default {
},
methods: {
async haldBuy() {
- const data = {
- currency: this.data.s_currency,
- price: this.data.s_price,
- marketDddress: CONTRACT_ADDRESS[AppModule.chainId].marketDddress,
- };
+
try {
this.showLoading();
const nftres = await this.chainManager.bc.beginApproveBuy(
@@ -103,18 +99,13 @@ export default {
}
},
async handBeginBuy() {
- const data = {
- o_link: this.data.o_link,
- marketDddress: CONTRACT_ADDRESS[AppModule.chainId].marketDddress,
- };
- console.log(data, "data");
+
try {
this.showLoading();
const nftres = await this.chainManager.bc.beginBuy(
this.data.o_link,
CONTRACT_ADDRESS[AppModule.chainId].marketDddress
);
- console.log(nftres, "beginSell");
if (nftres.status == true) {
this.hideLoading();
this.$emit("handMessage", 1);
@@ -147,7 +138,7 @@ export default {
},
closeTip() {
this.$emit("handBuyHide");
- console.log("closeTip");
+
},
},
};
diff --git a/src/components/market/HeroBuyTop.vue b/src/components/market/HeroBuyTop.vue
index 134a94b..10e0352 100644
--- a/src/components/market/HeroBuyTop.vue
+++ b/src/components/market/HeroBuyTop.vue
@@ -103,12 +103,10 @@ export default {
margin-top: 22px;
position: relative;
line-height: 63px;
- // text-align: center;
background: url("../../assets/market/hero/price.png") no-repeat;
background-size: 100% 100%;
.priece-number {
position: absolute;
- // left: 55px;
right: 7px;
top: 2px;
}
diff --git a/src/components/market/Herodialog.vue b/src/components/market/Herodialog.vue
index a9ab0b8..e733cc5 100644
--- a/src/components/market/Herodialog.vue
+++ b/src/components/market/Herodialog.vue
@@ -410,7 +410,6 @@ export default {
this.hero.o_link,
CONTRACT_ADDRESS[AppModule.chainId].marketDddress
);
- console.log(nftres, "beginSell");
if (nftres.status == true) {
this.$emit("handMessage", 1);
this.hideLoading();
diff --git a/src/components/market/NftTypeBar.vue b/src/components/market/NftTypeBar.vue
index f342ee1..65ca308 100644
--- a/src/components/market/NftTypeBar.vue
+++ b/src/components/market/NftTypeBar.vue
@@ -8,7 +8,6 @@
:class="{ active: selectIdx - 1 === i }"
@click="onClickItem(i)"
>
-
diff --git a/src/components/market/PieceSellTop.vue b/src/components/market/PieceSellTop.vue
index 2567d69..a02eede 100644
--- a/src/components/market/PieceSellTop.vue
+++ b/src/components/market/PieceSellTop.vue
@@ -32,9 +32,15 @@