DESKTOP-2IO5MST\huting hace 1 año
padre
commit
8db2c81aed
Se han modificado 2 ficheros con 3 adiciones y 7 borrados
  1. 1
    0
      pages/recharge/recharge-weixin.vue
  2. 2
    7
      pages/recharge/recharge.vue

+ 1
- 0
pages/recharge/recharge-weixin.vue Ver fichero

function go(money) { function go(money) {
let content = "" let content = ""
if (money) { if (money) {
state.fee = money * 100
content = '待消费订单' + money + '元' content = '待消费订单' + money + '元'
} else { } else {
content = '待消费订单' content = '待消费订单'

+ 2
- 7
pages/recharge/recharge.vue Ver fichero

money: undefined, money: undefined,
v_userType: "", v_userType: "",
}); });
// const getParams = (val: any) => {
// console.log("val蓝牙完毕传过来的参数", val)
// state.cardId = val.cardId;
// state.connectSuccess = val.connectSuccess;
// }
onLoad((option) => { onLoad((option) => {
/*获取openId 用途:(用户支付)*/ /*获取openId 用途:(用户支付)*/
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
/*读卡*/ /*读卡*/
getCardId(); getCardId();
} else { } else {
quanCheckAction().then((val : any) => {
quanCheckActionTrue().then((val : any) => {
console.log("圈层检测val", val) console.log("圈层检测val", val)
//如果 圈层检测正常 //如果 圈层检测正常
if (val.chargeStatus === 1) { if (val.chargeStatus === 1) {
if (res.confirm) { if (res.confirm) {
/*进行圈层检测,此处检测仅为校验圈层状态来决定去哪里*/ /*进行圈层检测,此处检测仅为校验圈层状态来决定去哪里*/
console.log("进行圈层检测"); console.log("进行圈层检测");
quanCheckAction().then((val : any) => {
quanCheckActionTrue().then((val : any) => {
console.log("圈存检测接口返回", val) console.log("圈存检测接口返回", val)
//如果 圈层检测正常 //如果 圈层检测正常
if (val.chargeStatus === 1) { if (val.chargeStatus === 1) {

Cargando…
Cancelar
Guardar