Commit faf7a280123495110a1e165aaa6dd22a90b20cc4

Authored by wangfan
1 parent 5478ff79

预约安排

@@ -142,6 +142,9 @@ Page({ @@ -142,6 +142,9 @@ Page({
142 is_agree:1, 142 is_agree:1,
143 userinfo:userInfo 143 userinfo:userInfo
144 }).then(res=>{ 144 }).then(res=>{
  145 + this.setData({
  146 + [`detail.hasCanSuccess`]:true
  147 + })
145 App.Reserve.Detail({ 148 App.Reserve.Detail({
146 openid: getApp().openid, 149 openid: getApp().openid,
147 rid: this.id 150 rid: this.id
@@ -32,6 +32,6 @@ @@ -32,6 +32,6 @@
32 </view> 32 </view>
33 <view class="opt-view" wx:if="{{!detail.hasCanSuccess}}"> 33 <view class="opt-view" wx:if="{{!detail.hasCanSuccess}}">
34 <userinfo class="button-none flex-vc" binduserinfo="userinfo"> 34 <userinfo class="button-none flex-vc" binduserinfo="userinfo">
35 - <view class="buts-share animation"></view> 35 + <view class="buts-share"></view>
36 </userinfo> 36 </userinfo>
37 </view> 37 </view>
@@ -109,8 +109,6 @@ image{ @@ -109,8 +109,6 @@ image{
109 background-size: 100%; 109 background-size: 100%;
110 background-repeat: no-repeat; 110 background-repeat: no-repeat;
111 background-position: center center; 111 background-position: center center;
112 -}  
113 -.animation{  
114 animation-name: butAnimation; 112 animation-name: butAnimation;
115 animation-duration: 0.7s; 113 animation-duration: 0.7s;
116 animation-iteration-count:9999; 114 animation-iteration-count:9999;
@@ -96,6 +96,7 @@ Page({ @@ -96,6 +96,7 @@ Page({
96 }, 96 },
97 userinfo(e){ 97 userinfo(e){
98 console.log('userinfo',e) 98 console.log('userinfo',e)
  99 + util.toast('授权成功,可以继续转发','none');
99 // wx.navigateTo({ 100 // wx.navigateTo({
100 // url:'invite?id='+this.id, 101 // url:'invite?id='+this.id,
101 // }); 102 // });
@@ -145,4 +146,7 @@ Page({ @@ -145,4 +146,7 @@ Page({
145 } 146 }
146 147
147 }, 148 },
  149 + wineGo(){
  150 + util.toast('本区域暂无配送人员','none');
  151 + },
148 }) 152 })
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 </view> 36 </view>
37 <view class="flex-lr share-view-cookbook" > 37 <view class="flex-lr share-view-cookbook" >
38 <userinfo 38 <userinfo
39 - binduserinfo="userinfodemo" 39 + binduserinfo="wineGo"
40 bindshare="share" 40 bindshare="share"
41 share="{{detail}}" 41 share="{{detail}}"
42 share-act="invitation" 42 share-act="invitation"