Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
weapp
/
C
Observar
8
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
66
Wiki
Atividade
Ver código fonte
upload
shopAdd
HolyKnightIX
2 anos atrás
pai
718eed669e
commit
16544227ce
2 arquivos alterados
com
7 adições
e
3 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+6
-1
index/passCar.js
+1
-2
index/passCar.wxml
+ 6
- 1
index/passCar.js
Ver arquivo
@@ -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
Ver arquivo
@@ -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>
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar