congzc pirms 2 gadiem
vecāks
revīzija
4a7658f96d
1 mainītis faili ar 16 papildinājumiem un 0 dzēšanām
  1. +16
    -0
      pages/order/detail/index.js

+ 16
- 0
pages/order/detail/index.js Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt