congzc 2 лет назад
Родитель
Сommit
4a7658f96d
1 измененных файлов: 16 добавлений и 0 удалений
  1. +16
    -0
      pages/order/detail/index.js

+ 16
- 0
pages/order/detail/index.js Просмотреть файл

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


Загрузка…
Отмена
Сохранить