Browse Source

1

newCard
congzc 2 years ago
parent
commit
4a7658f96d
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      pages/order/detail/index.js

+ 16
- 0
pages/order/detail/index.js View File

@@ -112,6 +112,22 @@ Page({
} }
}).then(res => { }).then(res => {
wx.hideLoading(); 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.data.level == 0) { //单券
// if (res.code == 200) { // if (res.code == 200) {
// that.getUserInfo() // that.getUserInfo()


Loading…
Cancel
Save