蒋俊杰 4 years ago
parent fac48b5d85
commit 6d683d39d8

@ -895,13 +895,13 @@
imageUrl: this.IMAGE_URL + this.goodsDetail.mainPhotos[0].url
}
if (res.from === 'button') { //
console.log(this.$store.state.invitationNo)
shareObj = {
title: "阿库网络公司正在邀请您加入瑞库客0成本带您玩转副业",
path: '/pages/login/login?type=share',
path: '/pages/login/login?type=share&invite=' + this.$store.state.invitationNo,
imageUrl: this.STATIC_URL + 'invite.jpg'
}
} else {
console.log(this.$store.state.invitationNo)
if (!this.isLogin) {
shareObj = {
title: "阿库网络公司正在邀请您加入瑞库客0成本带您玩转副业",

@ -29,6 +29,19 @@
if (options.type) {
this.type = options.type
}
// id
console.log(options)
console.log(options.invite)
if(options.invite){
this.$store.commit('setinvite', options.invite);
}
console.log(uni.getStorageSync("auth").token)
if (uni.getStorageSync("auth").token) {
console.log(12345)
uni.reLaunch({
url:"../index/index"
})
}
},
methods: {
toMobileLogin() {

@ -487,7 +487,7 @@
}
return {
title: '阿库网络公司正在邀请您加入瑞库客0成本带您玩转副业',
path: '/pages/mobileLogin/mobileLogin?invitationNo=' + this.invitationNo,
path: '/pages/login/login?type=share&invite=' + this.$store.state.invitationNo,
imageUrl: this.STATIC_URL + 'invite.jpg'
}
}

Loading…
Cancel
Save