|
@@ -113,12 +113,12 @@ Page({ |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
wx.hideLoading(); |
|
|
wx.hideLoading(); |
|
|
// console.log(res.data.orders[0].title,"ccc"); |
|
|
// console.log(res.data.orders[0].title,"ccc"); |
|
|
if (res.data.orders[0].title=="停车券") { |
|
|
|
|
|
|
|
|
if (res.data.orders[0].title == "停车券") { |
|
|
wx.showModal({ |
|
|
wx.showModal({ |
|
|
title: '提示', |
|
|
|
|
|
|
|
|
title: '领取成功', |
|
|
cancelText: '我知道了', |
|
|
cancelText: '我知道了', |
|
|
confirmText: '确定', |
|
|
|
|
|
content: '确定要跳转到停车场页面吗?', |
|
|
|
|
|
|
|
|
confirmText: '去使用', |
|
|
|
|
|
content: '即将前往停车页面', |
|
|
success(res) { |
|
|
success(res) { |
|
|
if (res.confirm) { |
|
|
if (res.confirm) { |
|
|
wx.switchTab({ |
|
|
wx.switchTab({ |
|
|