Browse Source

[bug][显示错误]

zhangwei 2 years ago
parent
commit
0c5e938e4d

+ 0 - 1
src/view/components/preview-balance.vue

@@ -99,7 +99,6 @@ onMounted(() => {
 .card-amount {
     overflow: hidden;
     display: flex;
-    height: 80px;
     padding: 20px;
     border-radius: 20px;
     border: 1px solid #E6E6E6;

+ 2 - 2
src/view/iframe/buy-nft/buy/home.vue

@@ -40,8 +40,8 @@
                         </template>
                     </div>
                     <div class="buy1 grey"
-                        v-if="(item.itemCount == 1 && (state.data.perUserBuyLimit - state.data.userBuyCount) <= 0)
-                        || (state.data.itemTotalCount - state.data.itemSoldCount) <= 0">
+                        v-if="item.itemCount == 1 && ((state.data.perUserBuyLimit - state.data.userBuyCount) <= 0
+                        || (state.data.itemTotalCount - state.data.itemSoldCount) <= 0)">
                         <template v-if="(item.price.length + item.currencyInfo.tokenSymbol.length) > 30">
                             <div class="left">Buy 1</div>
                             <div class="right">

+ 1 - 1
src/view/iframe/buy-nft/buy/pay.vue

@@ -148,7 +148,7 @@ const clickPlay = () => {
                     msg = 'Purchase limit reached'
                     break
                 default:
-                    msg = res.msg
+                    console.log(res.msg)
             }
             ElMessage({
                 message: msg,