-
+
@@ -25,7 +29,10 @@
{{ chip.detail.chip_name }}
-
+
+ {{ formatPriceShow(chip.s_price ? chip.s_price : " ", 18) }}
+
+
Sell
@@ -38,7 +45,9 @@
/>
-
{{formatPriceShow( chip.s_price ? chip.s_price : " ",18 )}}
+
+ {{ formatPriceShow(chip.s_price ? chip.s_price : " ", 18) }}
+

@@ -63,6 +72,7 @@
:type="type"
:isBuy="isBuy"
:data="chip"
+ @handMessage="handMessage"
@handBuyShow="handBuyShow"
@handBuyHide="handBuyHide"
>
@@ -72,14 +82,17 @@
v-if="currencyTypeList"
:currencyTypeList="currencyTypeList"
:isPiecePut="isPiecePut"
+ @handMessage="handMessage"
@handPutShow="handPutShow"
@handPutHide="handPutHide"
/>
+
diff --git a/src/components/market/nft/PieceNft.vue b/src/components/market/nft/PieceNft.vue
index 7d71dd1..b896242 100644
--- a/src/components/market/nft/PieceNft.vue
+++ b/src/components/market/nft/PieceNft.vue
@@ -29,8 +29,9 @@
"
alt=""
/>
-
{{ piece.amount ?piece.amount: piece.balance
- }}
+
{{
+ piece.amount ? piece.amount : piece.balance
+ }}
-
+
+ {{ formatPriceShow(piece.s_price ? piece.s_price : " ", 18) }}
+
+
+
Sell
@@ -92,6 +97,7 @@
:type="type"
ref="buydialog"
:isBuy="isBuy"
+ @handMessage="handMessage"
@handBuyShow="handBuyShow"
@handBuyHide="handBuyHide"
>
@@ -155,9 +161,9 @@ export default {
handBuyHide(handBuyHide) {
this.isBuy = handBuyHide;
},
- handMessage() {
+ handMessage(typeNumber) {
this.$nextTick(() => {
- this.$refs.message.open(1);
+ this.$refs.message.open(typeNumber);
});
},
},
diff --git a/src/components/market/nft/WeaponList.vue b/src/components/market/nft/WeaponList.vue
index fce047a..f8b2164 100644
--- a/src/components/market/nft/WeaponList.vue
+++ b/src/components/market/nft/WeaponList.vue
@@ -38,7 +38,10 @@
-
+
+ {{ formatPriceShow(weapon.s_price ? weapon.s_price : " ", 18) }}
+
+
Sell
@@ -87,6 +90,7 @@
v-if="currencyTypeList"
:currencyTypeList="currencyTypeList"
:isPiecePut="isPiecePut"
+ @handMessage="handMessage"
@handPutShow="handPutShow"
@handPutHide="handPutHide"
>
@@ -96,12 +100,15 @@
:data="weapon"
@handBuyShow="handBuyShow"
@handBuyHide="handBuyHide"
+ @handMessage="handMessage"
>
+