Procházet zdrojové kódy

[支付][修改]:[修改您有待支付的订单的交互流程]

tags/江西版6.1.0
meo před 6 roky
rodič
revize
2005385a87
6 změnil soubory, kde provedl 91 přidání a 42 odebrání
  1. +26
    -12
      pages/bargain/bargainDatail/bargainDatail.js
  2. +13
    -6
      pages/cardListDetail/cardListDetail.js
  3. +13
    -6
      pages/coupon/detail/index.js
  4. +13
    -6
      pages/integralmall/payIntegcoupondetail/index.js
  5. +13
    -6
      pages/joinFrDpell/index.js
  6. +13
    -6
      pages/spellGroup/mySpellGroup/index.js

+ 26
- 12
pages/bargain/bargainDatail/bargainDatail.js Zobrazit soubor

@@ -383,12 +383,19 @@ Page({
mask: false
});
} else if (err.code == 3012) {
wx.showToast({
title: "您有未支付订单",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
}else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面
@@ -680,12 +687,19 @@ Page({
mask: false
});
} else if (err.code == 3012) {
wx.showToast({
title: "您已超过限购",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
}else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面


+ 13
- 6
pages/cardListDetail/cardListDetail.js Zobrazit soubor

@@ -397,12 +397,19 @@ Page({
mask: false
});
} else if (err.code == 3012) {
wx.showToast({
title: "您有未支付订单",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
} else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面


+ 13
- 6
pages/coupon/detail/index.js Zobrazit soubor

@@ -698,12 +698,19 @@ Page({
mask: false
});
} else if (err.code == 3012) {
wx.showToast({
title: "您有未支付订单",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText:"去支付",
success: function (res) {
console.log(res.confirm)
if(res.confirm){
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
} else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面


+ 13
- 6
pages/integralmall/payIntegcoupondetail/index.js Zobrazit soubor

@@ -152,12 +152,19 @@ Page({
mask: false
});
} else if (err.code == 3012) {
wx.showToast({
title: "您有未支付订单",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
} else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面


+ 13
- 6
pages/joinFrDpell/index.js Zobrazit soubor

@@ -361,12 +361,19 @@ Page({
mask: false
});
} else if (err.code == 3012) {
wx.showToast({
title: "您有未支付订单",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
} else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面


+ 13
- 6
pages/spellGroup/mySpellGroup/index.js Zobrazit soubor

@@ -346,12 +346,19 @@ Page({
mask: false
});
}else if (err.code == 3012) {
wx.showToast({
title: "您有未支付订单",
image: './../../../assets/images/fail.png',
duration: 2000,
mask: false
});
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
} else if (err.code == 11005) {
/**
* 将值传到用户手机号授权的页面


Načítá se…
Zrušit
Uložit