HolyKnightIX před 2 roky
rodič
revize
16544227ce
2 změnil soubory, kde provedl 7 přidání a 3 odebrání
  1. +6
    -1
      index/passCar.js
  2. +1
    -2
      index/passCar.wxml

+ 6
- 1
index/passCar.js Zobrazit soubor

@@ -238,10 +238,15 @@ Page({
carFee: String(this.data.stopFees.remainingFee * 100)
}
}).then(res => {
console.log(res, 'res');
const data = res.data
this.callPay(data)
}).catch(err => {

wx.showToast({
title: err.message,
icon: 'none',
mask: true
})
})
},



+ 1
- 2
index/passCar.wxml Zobrazit soubor

@@ -97,8 +97,7 @@
</view>

<!-- 停车费用为0 -->
<!-- // && stopFees.remainingFee>0 -->
<view wx:if="{{supportPay && supportPay==1}}" class='buy' bindtap='goToPay'>立即支付</view>
<view wx:if="{{supportPay && supportPay==1 && stopFees.remainingFee>0}}" class='buy' bindtap='goToPay'>立即支付</view>

<!-- <view wx:if="{{stopFees.remainingFee==0}}" class='buy' bindtap='paySuccess'>立即支付</view> -->
</view>


Načítá se…
Zrušit
Uložit