Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
weapp
/
C
Vigiar
8
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
66
Wiki
Trabalho
Ver a proveniência
upload
shopAdd
HolyKnightIX
há 2 anos
ascendente
718eed669e
cometimento
16544227ce
2 ficheiros alterados
com
7 adições
e
3 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+6
-1
index/passCar.js
+1
-2
index/passCar.wxml
+ 6
- 1
index/passCar.js
Ver ficheiro
@@ -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 ficheiro
@@ -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é-visualizar
Carregando…
Cancelar
Guardar