Showing
3 changed files
with
5 additions
and
4 deletions
| @@ -157,6 +157,9 @@ Page({ | @@ -157,6 +157,9 @@ Page({ | ||
| 157 | // }); | 157 | // }); |
| 158 | } | 158 | } |
| 159 | }, | 159 | }, |
| 160 | + setUserInfoSuccess(){ | ||
| 161 | + util.toast('授权成功,可以继续转发','none'); | ||
| 162 | + }, | ||
| 160 | reserveCancel(){ | 163 | reserveCancel(){ |
| 161 | let userInfo = util.cache('userInfo'); | 164 | let userInfo = util.cache('userInfo'); |
| 162 | if (userInfo) { | 165 | if (userInfo) { |
| @@ -4,9 +4,7 @@ | @@ -4,9 +4,7 @@ | ||
| 4 | "navigationBarTitleText":"订座详情", | 4 | "navigationBarTitleText":"订座详情", |
| 5 | "usingComponents": { | 5 | "usingComponents": { |
| 6 | "userinfo": "/components/userinfo/userinfo", | 6 | "userinfo": "/components/userinfo/userinfo", |
| 7 | - "manager": "/components/manager/manager", | ||
| 8 | "nav":"/components/nav/nav", | 7 | "nav":"/components/nav/nav", |
| 9 | - "card":"/components/seller-card/seller-card", | ||
| 10 | "formids":"/components/formids/formids", | 8 | "formids":"/components/formids/formids", |
| 11 | "userinfo-share": "/components/userinfo/share" | 9 | "userinfo-share": "/components/userinfo/share" |
| 12 | } | 10 | } |
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | </view> | 32 | </view> |
| 33 | <view class="opt-view"> | 33 | <view class="opt-view"> |
| 34 | <view class="opt flex-cc"> | 34 | <view class="opt flex-cc"> |
| 35 | - <button class="but button-none flex-vc" bindtap="lookLocation">一键导航</button> | ||
| 36 | - <button class="but button-none flex-vc" open-type="share">转发好友</button> | 35 | + <formids class="but button-none flex-vc" bindclick="lookLocation">一键导航</formids> |
| 36 | + <userinfo-share class="but button-none flex-vc" binduserinfo="setUserInfoSuccess">转发好友</userinfo-share> | ||
| 37 | </view> | 37 | </view> |
| 38 | </view> | 38 | </view> |
-
Please register or login to post a comment