Browse Source

场内支付页面0元隐藏支付按钮

zaijin 2 years ago
parent
commit
66b9bfc093
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/OnsitePayment/OnsitePayment.vue

+ 1 - 1
pages/OnsitePayment/OnsitePayment.vue

@@ -11,7 +11,7 @@
             <view :class="item.money ? 'really-money' : ''">{{ orderInfo[item.key] }}</view>
           </view>
         </view>
-        <view class="parking-lock-pay-btn">
+        <view class="parking-lock-pay-btn" v-if="orderInfo.payAmount && Number(orderInfo.payAmount) > 0">
           <button type="default" @click="payMoney" :disabled="!orderInfo.id">立即支付</button>
         </view>
         <view class="parking-lock-pay-attention">