Browse Source

[砍价][修改]:[我的砍价待支付文案提示]

tags/C.7.1.0
meo 6 years ago
parent
commit
21d1b236ef
2 changed files with 26 additions and 19 deletions
  1. +2
    -5
      pages/bargain/bargainDatail/bargainDatail.js
  2. +24
    -14
      pages/coupon/detail/index.js

+ 2
- 5
pages/bargain/bargainDatail/bargainDatail.js View File

@@ -385,14 +385,11 @@ Page({
} else if (err.code == 3012) { } else if (err.code == 3012) {
wx.showModal({ wx.showModal({
title: '提示', title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText: "去支付",
content: "您有未支付订单,请到'我的-我的砍价'进行支付'",
showCancel: false,
success: function (res) { success: function (res) {
console.log(res.confirm) console.log(res.confirm)
if (res.confirm) { if (res.confirm) {
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
} }
} }
}) })


+ 24
- 14
pages/coupon/detail/index.js View File

@@ -419,8 +419,6 @@ Page({
if (options && options.couponChannelId){ if (options && options.couponChannelId){
that.getDetail(options.couponChannelId, 'notendclock'); that.getDetail(options.couponChannelId, 'notendclock');
} }
console.log(options.cuserId)
console.log("---------------------------------options.cuserId---------------------------------------------------")
/** /**
* 转赠判断 * 转赠判断
*/ */
@@ -746,19 +744,31 @@ Page({
mask: false mask: false
}); });
} else if (err.code == 3012) { } else if (err.code == 3012) {
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
confirmText:"去支付",
success: function (res) {
console.log(res.confirm)
if(res.confirm){
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
if(that.data.data.type == 8){
wx.showModal({
title: '提示',
content: "您有未支付订单,请到'我的-我的砍价'进行支付'",
showCancel:false,
success: function (res) {
console.log(res.confirm)
if (res.confirm) {
}
} }
}
})
})
}else{
wx.showModal({
title: '提示',
content: '您有未支付订单,请先进行支付',
success: function (res) {
console.log(res.confirm)
if(res.confirm){
wx.navigateTo({
url: '/pages/order/index/index?id=all',
})
}
}
})
}
} else if (err.code == 11005) { } else if (err.code == 11005) {
/** /**
* 将值传到用户手机号授权的页面 * 将值传到用户手机号授权的页面


Loading…
Cancel
Save