소스 검색

upload

shopAdd
HolyKnightIX 2 년 전
부모
커밋
16544227ce
2개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. +6
    -1
      index/passCar.js
  2. +1
    -2
      index/passCar.wxml

+ 6
- 1
index/passCar.js 파일 보기

@@ -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 파일 보기

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


불러오는 중...
취소
저장