Commit 98b3c3a1d0f36542159d90a829baa7254aa72dc3

Authored by wangfan
1 parent 0b4338af

快速预定

@@ -181,7 +181,7 @@ Page({ @@ -181,7 +181,7 @@ Page({
181 }, 181 },
182 getCookList: function (orderid) { 182 getCookList: function (orderid) {
183 let param = { 183 let param = {
184 - sellerid: 80, 184 + sellerid: this.data.options.sid,
185 identity: this.data.options.identity, 185 identity: this.data.options.identity,
186 orderid : this.data.options.oid, 186 orderid : this.data.options.oid,
187 status:'0,1', 187 status:'0,1',
@@ -197,7 +197,7 @@ Page({ @@ -197,7 +197,7 @@ Page({
197 isloading: false, 197 isloading: false,
198 showSkeleton: false, 198 showSkeleton: false,
199 }) 199 })
200 - }, 1000) 200 + }, 0)
201 201
202 }).catch(res => { 202 }).catch(res => {
203 console.log('getCookList-catch', res); 203 console.log('getCookList-catch', res);
@@ -110,7 +110,7 @@ Page({ @@ -110,7 +110,7 @@ Page({
110 }) 110 })
111 }, 111 },
112 gotoEditor(){ 112 gotoEditor(){
113 - let options={...this.data.options}; 113 + let options={...this.data.options,sid:this.data.order.sellerid};
114 delete options.hasSuccess 114 delete options.hasSuccess
115 wx.redirectTo({ 115 wx.redirectTo({
116 url: util.http_build_query(options,'./index') 116 url: util.http_build_query(options,'./index')
@@ -139,7 +139,7 @@ Page({ @@ -139,7 +139,7 @@ Page({
139 return util.toast(res.msg,'none') 139 return util.toast(res.msg,'none')
140 } 140 }
141 wx.navigateTo({ 141 wx.navigateTo({
142 - url:util.http_build_query({rid:this.id,oid:res.data.id,identity:1},'/pack-cookbook/pages/index') 142 + url:util.http_build_query({rid:this.id,oid:res.data.id,identity:1,sid:res.data.sellerid},'/pack-cookbook/pages/index')
143 }); 143 });
144 }) 144 })
145 } 145 }
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <view class="share-but Regular">发邀请函</view> 32 <view class="share-but Regular">发邀请函</view>
33 </userinfo-share> 33 </userinfo-share>
34 </view> 34 </view>
35 - <view class="flex-lr share-view-cookbook"> 35 + <view class="flex-lr share-view-cookbook" wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
36 <userinfo 36 <userinfo
37 binduserinfo="userinfodemo" 37 binduserinfo="userinfodemo"
38 bindshare="share" 38 bindshare="share"
@@ -228,7 +228,7 @@ @@ -228,7 +228,7 @@
228 "id": 25, 228 "id": 25,
229 "name": "pack-cookbook/pages/index", 229 "name": "pack-cookbook/pages/index",
230 "pathName": "pack-cookbook/pages/index", 230 "pathName": "pack-cookbook/pages/index",
231 - "query": "rid=1196&oid=1&identity=1", 231 + "query": "rid=1196&oid=1&identity=1&sid=80",
232 "scene": "1001" 232 "scene": "1001"
233 }, 233 },
234 { 234 {