|
|
@@ -112,6 +112,22 @@ Page({ |
|
|
|
} |
|
|
|
}).then(res => { |
|
|
|
wx.hideLoading(); |
|
|
|
// console.log(res.data.orders[0].title,"ccc"); |
|
|
|
if (res.data.orders[0].title=="停车券") { |
|
|
|
wx.showModal({ |
|
|
|
title: '提示', |
|
|
|
cancelText: '我知道了', |
|
|
|
confirmText: '确定', |
|
|
|
content: '确定要跳转到停车场页面吗?', |
|
|
|
success(res) { |
|
|
|
if (res.confirm) { |
|
|
|
wx.switchTab({ |
|
|
|
url: '/index/passCar' |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
// if (res.data.level == 0) { //单券 |
|
|
|
// if (res.code == 200) { |
|
|
|
// that.getUserInfo() |
|
|
|