@@ -408,20 +408,6 @@ Page({ | |||||
setTimeout(function () { | setTimeout(function () { | ||||
wx.hideLoading(); | wx.hideLoading(); | ||||
}, 2000); | }, 2000); | ||||
/** | |||||
* 用户支付成功以后跳转到券包列表 | |||||
*/ | |||||
if (that.data.cardType == 100) { | |||||
wx.setStorage({ | |||||
key: 'couponNum2', | |||||
data: "couponNum2" | |||||
}) | |||||
} else if (that.data.data.type != 5) { | |||||
wx.setStorage({ | |||||
key: 'couponNum', | |||||
data: "couponNum" | |||||
}) | |||||
} | |||||
} | } | ||||
}, | }, | ||||
fail: res => { | fail: res => { | ||||
@@ -286,7 +286,7 @@ page { | |||||
font-weight:500; | font-weight:500; | ||||
color:rgba(254,254,254,1); | color:rgba(254,254,254,1); | ||||
line-height: 85rpx; | line-height: 85rpx; | ||||
margin-top: 200rpx; | |||||
margin-top: 100rpx; | |||||
} | } | ||||
.user-motto::after { | .user-motto::after { | ||||
@@ -395,20 +395,6 @@ Page({ | |||||
setTimeout(function () { | setTimeout(function () { | ||||
wx.hideLoading(); | wx.hideLoading(); | ||||
}, 2000); | }, 2000); | ||||
/** | |||||
* 用户支付成功以后跳转到券包列表 | |||||
*/ | |||||
if (that.data.cardType == 100) { | |||||
wx.setStorage({ | |||||
key: 'couponNum2', | |||||
data: "couponNum2" | |||||
}) | |||||
} else if (that.data.data.type != 5) { | |||||
wx.setStorage({ | |||||
key: 'couponNum', | |||||
data: "couponNum" | |||||
}) | |||||
} | |||||
} | } | ||||
}, | }, | ||||
fail: res => { | fail: res => { | ||||