| | |
| | | |
| | | |
| | | common.goUrl = function(info, _this) { |
| | | console.log(info) |
| | | var userinfo = common.getCacheSync('userInfo') |
| | | var that = _this; |
| | | if (userinfo) { |
| | |
| | | // #ifdef APP-PLUS |
| | | var userinfo = common.getCacheSync('userInfo'); |
| | | var appInfo = common.getCacheSync('appInfo'); |
| | | var txtdata |
| | | if (plus.os.name == 'Android') { |
| | | var txtdata=appInfo.invite_url + "?code="+userinfo.invitation_code |
| | | /* if (plus.os.name == 'Android') { |
| | | txtdata = appInfo.appName + '的下载链接为:' + appInfo.appAndroidDownUrl + |
| | | '\n邀请码:' + userinfo.invitation_code |
| | | } else { |
| | | txtdata = appInfo.appName + '的下载链接为:' + appInfo.appIosDownUrl + '\n邀请码:' + |
| | | userinfo.invitation_code |
| | | } |
| | | } */ |
| | | uni.setClipboardData({ |
| | | data: txtdata, |
| | | success: res => { |