diff --git a/src/components/market/ChipBuyDialog.vue b/src/components/market/ChipBuyDialog.vue index c31f045..27a3445 100644 --- a/src/components/market/ChipBuyDialog.vue +++ b/src/components/market/ChipBuyDialog.vue @@ -134,14 +134,6 @@ export default { }, methods: { async haldBuy() { - const data = { - currency: this.piece.s_currency - ? this.piece.s_currency - : this.data.s_currency, - price: this.piece.s_price ? this.piece.s_price : this.data.s_price, - marketAddress: CONTRACT_ADDRESS[AppModule.chainId].marketAddress, - }; - console.log(data, "beginApproveBuy"); try { this.showLoading(); const nftres = await this.chainManager.bc.beginApproveBuy( @@ -149,7 +141,6 @@ export default { this.piece.s_price ? this.piece.s_price : this.data.s_price, CONTRACT_ADDRESS[AppModule.chainId].marketAddress ); - console.log(nftres, "beginApproveBuy"); if (nftres.status == true) { this.isApprove = true; this.hideLoading(); diff --git a/src/components/market/ChipSellTop.vue b/src/components/market/ChipSellTop.vue index 1feefd2..7a0605d 100644 --- a/src/components/market/ChipSellTop.vue +++ b/src/components/market/ChipSellTop.vue @@ -89,7 +89,6 @@ export default { justify-content: space-between; margin-left: 12px; margin-right: 12px; - // margin-top: 9px; } .srabded { margin-top: 9px; @@ -103,10 +102,6 @@ export default { } .sellers { width: 299px; - // height: 24px; - // text-align: center; - // display: flex; - // justify-content: center; font-size: 13px; margin-top: 12px; margin-left: 19px; diff --git a/src/components/market/DefContent.vue b/src/components/market/DefContent.vue index 46680e7..c70a594 100644 --- a/src/components/market/DefContent.vue +++ b/src/components/market/DefContent.vue @@ -2,20 +2,16 @@
-
{{ chipArridName(chipsinfo[0].attr_id) }}
+{{ chipList * 100 }}%
-
LUCKY Unlocked at Lv.5
-
{{ chipArridName(chip.attr_id) }}
+{{ (chip.val * 100).toFixed(2) }}%
-
LUCKY Unlocked at Lv.5
@@ -29,21 +25,6 @@ export default { return { cunter: 0, name: "", - chipArrid: { - 39: "Hp Pct", - 40: "Atk Pct", - 41: "Def Pct", - 42: "Critical", - 43: "Cri Damage", - 44: "Dodge", - 45: "Dodge Reduce", - 46: "Hp Recover Pct", - 47: "Brain Life Pct", - 48: "Reload Time Pct", - 49: "Bullet Speed", - 50: "Bullet Speed Pct", - 51: "Cool Down Pct", - }, }; }, computed: { diff --git a/src/components/market/FilterLeft.vue b/src/components/market/FilterLeft.vue index d240c41..9e7c0b2 100644 --- a/src/components/market/FilterLeft.vue +++ b/src/components/market/FilterLeft.vue @@ -173,7 +173,6 @@ export default { diff --git a/src/components/market/HeroBuyDialog.vue b/src/components/market/HeroBuyDialog.vue index a2c43b1..44e71c5 100644 --- a/src/components/market/HeroBuyDialog.vue +++ b/src/components/market/HeroBuyDialog.vue @@ -233,7 +233,6 @@ 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 { diff --git a/src/components/market/HeroBuyTop.vue b/src/components/market/HeroBuyTop.vue index 10e0352..8317eca 100644 --- a/src/components/market/HeroBuyTop.vue +++ b/src/components/market/HeroBuyTop.vue @@ -121,9 +121,7 @@ export default { background: url("../../assets/market/hero/type-1.png") no-repeat; background-size: 100% 100%; .hero-name { - // width: 46px; height: 24px; - // max-width: 86px; line-height: 24px; padding-right: 14px; padding-left: 14px; @@ -148,9 +146,7 @@ export default { top: 6px; } .hero-name { - // width: 46px; height: 24px; - // max-width: 86px; line-height: 24px; padding-right: 14px; padding-left: 14px; diff --git a/src/components/market/HeroMosaicChip.vue b/src/components/market/HeroMosaicChip.vue index 7633056..cdd3928 100644 --- a/src/components/market/HeroMosaicChip.vue +++ b/src/components/market/HeroMosaicChip.vue @@ -325,27 +325,11 @@ export default { display: flex; background: url("../../assets/market/chip-rector-bg.png") no-repeat; background-size: 100% 100%; - // .bg { - // width: 169px; - // height: 146px; - // background: url("../../assets/market/chip-item-bg.png") no-repeat; - // background-size: 100% 100%; - // margin-left: 33px; - // margin-top: 54px; - // display: flex; - // justify-content: center; - // .hill-icon-img { - // margin-top: 13px; - // margin-right: 5px; - // } - // } .reactor-bg { .hill-icon-img { cursor: pointer; margin-left: 35px; margin-top: 38px; - // margin-top: 13px; - // margin-right: 5px; } } .active-bg { @@ -408,7 +392,6 @@ export default { } .chip-right-top { color: #ffffff; - // margin-left: 137px; width: 431px; margin: 0 auto; .token-lable { @@ -454,7 +437,6 @@ export default { height: 263px; display: flex; flex-direction: column; - // justify-content: space-between; background: rgba(5, 57, 68, 0.3); border-radius: 20px; } @@ -463,7 +445,6 @@ export default { margin-left: 20px; height: 26px; font-size: 37px; - // font-family: "SairaStencilOne"; color: #ffffff; } @@ -471,7 +452,6 @@ export default { margin-top: 14px; margin-right: 14px; .hill-icon-img { - // margin-top: 80px; } } .assult-rifle-content { @@ -523,32 +503,6 @@ export default { margin-right: 25px; justify-content: space-between; } - -// .buy-price { -// position: absolute; -// right: 44px; -// bottom: -33px; -// display: flex; -// .price { -// width: 201px; -// height: 71px; -// font-size: 32px; -// position: relative; -// font-family: "Arciform"; -// margin-right: 20px; -// color: #ffffff; -// background: url("../../assets/market/hero/price.png") no-repeat; -// background-size: 100% 100%; -// .price-number { -// position: absolute; -// right: 19px; -// top: 13px; -// font-size: 34px; -// // right: 82px; -// // bottom: -41px; -// } -// } -// } .left-img { width: 802px; img { @@ -562,10 +516,8 @@ export default { position: absolute; top: -41px; left: -40px; - // opacity: 0; img { width: 100%; - // opacity: 0; } } .def-content { diff --git a/src/components/market/Herodialog.vue b/src/components/market/Herodialog.vue index 2f6a698..760852f 100644 --- a/src/components/market/Herodialog.vue +++ b/src/components/market/Herodialog.vue @@ -49,13 +49,11 @@ />
-
#{{ hero.detail.token_id }}
{{ hero.c_name ? hero.c_name : hero.detail.hero_name }} -
Token id
#{{ data.token_id }}
-
Amount
@@ -112,7 +108,6 @@ export default { .sellers { width: 299px; height: 24px; - // text-align: center; font-size: 13px; margin-top: 12px; margin-left: 29px; diff --git a/src/components/market/Piecedialog.vue b/src/components/market/Piecedialog.vue index 7f7b7f2..d8138b0 100644 --- a/src/components/market/Piecedialog.vue +++ b/src/components/market/Piecedialog.vue @@ -249,7 +249,6 @@ export default { } .piece-right-top { color: #ffffff; - // margin-left: 137px; width: 343px; .token-lable { text-align: center; @@ -294,7 +293,6 @@ export default { height: 140px; display: flex; flex-direction: column; - // justify-content: space-between; background: rgba(26, 58, 175, 0.3); border-radius: 20px; } @@ -303,7 +301,6 @@ export default { margin-left: 20px; height: 26px; font-size: 37px; - // font-family: "SairaStencilOne"; color: #ffffff; } @@ -398,7 +395,6 @@ export default { background-size: 100% 100%; .price-number { line-height: 71px; - // margin-left: 65px; margin-right: 10px; } } @@ -408,13 +404,6 @@ export default { .rent { width: 229px; height: 72px; - // cursor: pointer; - // text-align: center; - // font-size: 44px; - // line-height: 72px; - // color: #ffffff; - // background: url("../../assets/market/chip/sell-btn.png") no-repeat; - // background-size: 100% 100%; } .sell { width: 229px; @@ -429,12 +418,10 @@ export default { } .for-rent-btn { display: flex; - // margin-top: 170px; .adjust { width: 229px; height: 72px; cursor: pointer; - // margin-left: 14px; background: url("../../assets/market/piece/adjust.png") no-repeat; background-size: 100% 100%; } diff --git a/src/components/market/ProgressCard.vue b/src/components/market/ProgressCard.vue index 1021b89..4a1bbf7 100644 --- a/src/components/market/ProgressCard.vue +++ b/src/components/market/ProgressCard.vue @@ -42,9 +42,6 @@ export default { curent() { return (( this.min / this.max).toFixed(2))*100 ; ; }, - }, - created(){ - // console.log( (( this.min / this.max).toFixed(2))*100 ,'selog'); } }; diff --git a/src/components/market/WeaponMosaicChip.vue b/src/components/market/WeaponMosaicChip.vue index 129e8f3..32747d1 100644 --- a/src/components/market/WeaponMosaicChip.vue +++ b/src/components/market/WeaponMosaicChip.vue @@ -60,7 +60,6 @@
-
To
Date
-
+
diff --git a/src/components/market/account/SwapTable.vue b/src/components/market/account/SwapTable.vue index cbf4f5b..ab87527 100644 --- a/src/components/market/account/SwapTable.vue +++ b/src/components/market/account/SwapTable.vue @@ -23,7 +23,7 @@
From
Date
-
+
From
Date
-
+