Commit df1848395c1df3ee587bc46ea2946ed873d715aa

Authored by wangfan
1 parent 69aa9f54

快速预定

... ... @@ -40,6 +40,14 @@
]
}
],
"preloadRule": {
"pages/customer/detail_owner": {
"network": "all",
"packages": [
"pack-cookbook"
]
}
},
"window": {
"navigationStyle": "custom",
"backgroundTextStyle": "light",
... ...
... ... @@ -161,7 +161,7 @@ Page({
if(orderid){
param.orderid=orderid;
}
App.Cookbook.GetCookbookByClass(param).then(json=>{
App.Advance.GetCookbookByClass(param).then(json=>{
//菜单分类添加修饰
let cookbooklist = this.formatCookList(json.data[0].list);
setTimeout(()=>{
... ...
... ... @@ -133,7 +133,9 @@ Page({
if(res.ret!=200){
return util.toast(res.msg,'none')
}
wx.navigateTo({
url:'/pack-cookbook/pages/index'
});
})
},
})
\ No newline at end of file
... ...
... ... @@ -47,7 +47,7 @@
share="{{detail}}"
share-act="invitation"
class="share-but-view">
<view class="share-but Regular flex-cc" wx:if="{{!detail.orderid}}">
<view class="share-but Regular flex-cc" wx:if="{{detail.order && detail.order.cookbooklist.length>0}}">
<view>查看菜品</view>
<image class="order-cook" src="http://qn.colorcun.com/custom/lite-yd-cook/image/order-cook.png"></image>
</view>
... ...