congzc 2 vuotta sitten
vanhempi
commit
4a7658f96d
1 muutettua tiedostoa jossa 16 lisäystä ja 0 poistoa
  1. +16
    -0
      pages/order/detail/index.js

+ 16
- 0
pages/order/detail/index.js Näytä tiedosto

@@ -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()


Ladataan…
Peruuta
Tallenna