...
|
...
|
@@ -20,9 +20,10 @@ Page({ |
|
|
over_time:'',
|
|
|
is_showRelease_modal:false,
|
|
|
},
|
|
|
//查看我的订单
|
|
|
//查看我的发布
|
|
|
goMyRelease() {
|
|
|
wx.redirectTo({url:'/pages/order/order-detail/order-detail?id=' + this.data.order_id})
|
|
|
// wx.redirectTo({url:'/pages/order/order-detail/order-detail?id=' + this.data.order_id});
|
|
|
wx.redirectTo({url:'/pages/meal/detail/detail?id=' + this.data.id})
|
|
|
},
|
|
|
//完成按钮
|
|
|
goBack() {
|
...
|
...
|
@@ -146,7 +147,7 @@ Page({ |
|
|
app.post(url, params, {}).then((res) => {
|
|
|
console.log('确定发布', res);
|
|
|
if(+res.code === 1 && res.message == '发布成功') {
|
|
|
this.setData({is_showRelease_modal:true,order_id:+res.data.id})
|
|
|
this.setData({is_showRelease_modal:true,order_id:+res.data.id,id:+res.data.activeId})
|
|
|
}else {
|
|
|
wx.showToast({title:res.message,icon:'none'})
|
|
|
}
|
...
|
...
|
|