| | |
| | | isShowCode:false, |
| | | inviteCode:'', |
| | | appInfo:'', |
| | | inviterShow:false |
| | | inviterShow:false, |
| | | platform:'' |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.appInfo = uni.getStorageSync('appInfo') |
| | | this.appInfo = uni.getStorageSync('appInfo'); |
| | | this.platform = uni.getSystemInfoSync().platform |
| | | }, |
| | | methods: { |
| | | useCode() |
| | |
| | | confirmText:'联系推荐人', |
| | | success:function(res) |
| | | { |
| | | that.isShowCode=res.cancel; |
| | | console.log(that.isShowCode) |
| | | console.log(that.platform); |
| | | console.log(res); |
| | | if (res.confirm) { |
| | | that.isShowCode=false; |
| | | } else if (res.cancel) { |
| | | that.isShowCode=true; |
| | | } |
| | | }, |
| | | fail:function(res) |
| | | { |
| | | that.isShowCode=true; |
| | | } |
| | | }); |
| | | }, |