Commit 6aa5380c2c71a0a784b2df54162404941a1ae629

Authored by wangfan
1 parent 26fb8fd0

快速预定

@@ -76,7 +76,9 @@ @@ -76,7 +76,9 @@
76 <view style="height: 150rpx;width: 100%;"></view> 76 <view style="height: 150rpx;width: 100%;"></view>
77 <view class="optx flex-vc" wx:if="{{options.hasSuccess!=1}}"> 77 <view class="optx flex-vc" wx:if="{{options.hasSuccess!=1}}">
78 <view class="opt-view flex-ll"> 78 <view class="opt-view flex-ll">
79 - <view class="but editor">修改菜品</view>  
80 - <view class="but share">分享</view> 79 + <formids bindclick="gotoEditor" class="width:50%;">
  80 + <view class="but editor" style="width: 100%;">修改菜品</view>
  81 + </formids>
  82 + <button class="but share button-none" open-type="share">分享</button>
81 </view> 83 </view>
82 </view> 84 </view>
@@ -129,7 +129,7 @@ Page({ @@ -129,7 +129,7 @@ Page({
129 cookbook(){ 129 cookbook(){
130 if(this.data.detail.order && this.data.detail.order.cookbooklist.length>0){ 130 if(this.data.detail.order && this.data.detail.order.cookbooklist.length>0){
131 wx.navigateTo({ 131 wx.navigateTo({
132 - url:util.http_build_query({rid:this.id,oid:res.data.id,identity:1},'/pack-cookbook/pages/success') 132 + url:util.http_build_query({rid:this.id,oid:this.data.detail.order.id,identity:1},'/pack-cookbook/pages/success')
133 }); 133 });
134 }else{ 134 }else{
135 App.Advance.CreateOrder({ 135 App.Advance.CreateOrder({