HolyKnightIX pirms 2 gadiem
vecāks
revīzija
16544227ce
2 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. +6
    -1
      index/passCar.js
  2. +1
    -2
      index/passCar.wxml

+ 6
- 1
index/passCar.js Parādīt failu

@@ -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 Parādīt failu

@@ -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>


Notiek ielāde…
Atcelt
Saglabāt