|
@@ -89,9 +89,19 @@ Page({ |
|
@@ -89,9 +89,19 @@ Page({ |
|
89
|
duration: 1000,
|
89
|
duration: 1000,
|
|
90
|
icon:'none',
|
90
|
icon:'none',
|
|
91
|
success: function () {
|
91
|
success: function () {
|
|
|
|
92
|
+ let url='';
|
|
|
|
93
|
+ if(that.data.opt.types=='1'){
|
|
|
|
94
|
+ url='/pages/customer/detail_owner_invitation_new?id='+that.data.opt.detail.oid;
|
|
|
|
95
|
+ }
|
|
|
|
96
|
+ if(that.data.opt.types=='2'){
|
|
|
|
97
|
+ url='/pack-cookbook/pages/success_new';
|
|
|
|
98
|
+ }
|
|
|
|
99
|
+ if(that.data.opt.types=='3'){
|
|
|
|
100
|
+ url='/pages/reserve/index';
|
|
|
|
101
|
+ }
|
|
92
|
setTimeout(function () {
|
102
|
setTimeout(function () {
|
|
93
|
wx.reLaunch({
|
103
|
wx.reLaunch({
|
|
94
|
- url: `/pages/customer/detail_owner_invitation_new?id=${that.data.opt.detail.oid}&hasInvitation=1&hasSellerShare=1&tplid=1`
|
104
|
+ url
|
|
95
|
})
|
105
|
})
|
|
96
|
}, 1000);
|
106
|
}, 1000);
|
|
97
|
}
|
107
|
}
|