| | |
| | | 店铺:{{items.shopName}} |
| | | </view> --> |
| | | </view> |
| | | <view class="shopname">{{items.shopName}}</view> |
| | | |
| | | <!-- <view class="shopname">{{items.shopName}}</view> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | |
| | | console.log(plug); |
| | | plug.login({}, result => { |
| | | console.log(result); |
| | | var nick = result.userinfo.nick |
| | | if (result.code == 0) { |
| | | plug.taobaoOauth({ |
| | |
| | | "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" |
| | | ], |
| | | "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], |
| | | "schemes" : "dafanguanapp" |
| | | "schemes" : "" |
| | | }, |
| | | /* ios打包配置 */ |
| | | "ios" : { |
| | | "idfa" : true, |
| | | "urltypes" : [ |
| | | { |
| | | "urlschemes" : [ "tbopen34348719", "dafanguanapp" ] //tbopen+您应用的AppKey |
| | | "urlschemes" : [ "tbopen34348719" ] //tbopen+您应用的AppKey |
| | | } |
| | | ], |
| | | "urlschemewhitelist" : "tbopen,tmall", |
| | |
| | | var that = this; |
| | | if (goods.faction == 't') { |
| | | this.$u.api.getPrivilegeLink({type:0,goodsId:goods.goodsId}).then(e => { |
| | | console.log(e) |
| | | if(e.code == 1)return that.$alert(e.msg); |
| | | var res = e.data.info; |
| | | //that.Jumpurl = res.kuaiZhanUrl |
| | | that.tpwd = res.tpwd |
| | | var long = res.longTpwd |
| | | that.url = res.shortUrl; |
| | | if(that.url){ |
| | | that.makeQRcode() |
| | | }else{ |
| | | uni.showToast({ |
| | | title:'制作海报失败!', |
| | | icon:'none' |
| | | }) |
| | | } |
| | | //获取转链接 |
| | | that.$u.api.getPrivilegeShareLink({type:0,goodsId:goods.goodsId}).then(ed=>{ |
| | | /* that.$u.api.getPrivilegeShareLink({type:0,goodsId:goods.goodsId}).then(ed=>{ |
| | | console.log(ed) |
| | | if(ed.code == 1)return that.$alert(ed.msg); |
| | | var re = ed.data.list; |
| | | that.url = re.link; |
| | |
| | | }) |
| | | } |
| | | }).catch(function (er) { |
| | | }) |
| | | }) */ |
| | | |
| | | }).catch(function (err) { |
| | | }) |
| | |
| | | } |
| | | // APP下载地址+邀请码 |
| | | if (e === 3) { |
| | | console.log(this.user) |
| | | data = '【下载链接】' + this.appInfo.appAndroidDownUrl + |
| | | '\n【邀请码】' + this.user.invitation_code |
| | | data = this.appInfo.invite_url +"?code="+this.user.invitation_code |
| | | } |
| | | uni.setClipboardData({ |
| | | data, |
| | |
| | | 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) |
| | | { |
| | | console.log(that.platform); |
| | | console.log(res); |
| | | if (res.confirm) { |
| | | that.isShowCode=true; |
| | | that.isShowCode=false; |
| | | } else if (res.cancel) { |
| | | that.isShowCode=false; |
| | | that.isShowCode=true; |
| | | } |
| | | }, |
| | | fail:function(res) |
| | | { |
| | | that.isShowCode=true; |
| | | } |
| | | }); |
| | | }, |
| | |
| | | univerifyManager.close(); |
| | | }).catch(err=>{ |
| | | // 处理错误 |
| | | console.log(err) |
| | | that.isother=true; |
| | | that.$alert('获取手机号码失败,请使用其他方式登录') |
| | | setTimeout(function(){ |
| | | univerifyManager.close(); |
| | |
| | | <image class="miniCodeImg" :src="wxQrcodeUrl" mode="aspectFit"></image> |
| | | |
| | | <view class="getBtn-container rowCenCen" @tap="jumpMini()"> |
| | | <view>领红包点外卖①</view> |
| | | <view>领红包点外卖</view> |
| | | </view> |
| | | |
| | | <view class="getBtn-container rowCenCen" @tap="jumpShangJinMini()"> |
| | | <!-- <view class="getBtn-container rowCenCen" @tap="jumpShangJinMini()"> |
| | | <view>领加餐红包②</view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | var that = this; |
| | | this.$u.api.eleShangjin({}).then(e => { |
| | | if(e.code != 0) return that.$alert(e.msg) |
| | | console.log(e) |
| | | uni.hideLoading() |
| | | uni.stopPullDownRefresh() |
| | | var res = e.data; |
| | |
| | | }else{ |
| | | this.storeCurrent = 0; |
| | | } |
| | | if(options.searchText) |
| | | { |
| | | this.searchText=options.searchText; |
| | | this.searchInput(null); |
| | | } |
| | | this.appinfo = getApp().globalData.appinfo.iosExamine; |
| | | this.platform = getApp().globalData.platform |
| | | this.getSearchFind(); |