Преглед на файлове

[积分商城][兑换积分券跳转判断修改]

tags/湖南版5.1.4
刘晖 преди 6 години
родител
ревизия
246c9844fa
променени са 2 файла, в които са добавени 10 реда и са изтрити 4 реда
  1. +9
    -3
      pages/integralmall/payIntegcouponStatus/index.js
  2. +1
    -1
      pages/integralmall/payIntegcoupondetail/index.js

+ 9
- 3
pages/integralmall/payIntegcouponStatus/index.js Целия файл

@@ -53,9 +53,15 @@ Page({
* 去使用 * 去使用
*/ */
gotoUse(){ gotoUse(){
wx.navigateTo({
url: '/pages/couponorder/index/index',
})
if(this.data.formData.type=='50'){
wx.navigateTo({
url: '/pages/couponorder/index/index',
})
}else{
wx.navigateTo({
url: '/pages/passCar/couponList/couponList',
})
}
}, },
/** /**
* 返回首页 * 返回首页


+ 1
- 1
pages/integralmall/payIntegcoupondetail/index.js Целия файл

@@ -218,7 +218,7 @@ Page({
.then(res => { .then(res => {
wx.hideLoading() wx.hideLoading()
wx.navigateTo({ wx.navigateTo({
url: '/pages/integralmall/payIntegcouponStatus/index?title=' + _this.data.data.title + '&coverImg=' + _this.data.data.coverImg + '&remainingPoints=' + _this.data.remainingPoints,
url: '/pages/integralmall/payIntegcouponStatus/index?title=' + _this.data.data.title + '&coverImg=' + _this.data.data.coverImg + '&remainingPoints=' + _this.data.remainingPoints + '&type=' + _this.data.data.type,
}) })
}) })
.catch(err => { .catch(err => {


Зареждане…
Отказ
Запис