Commit c480ed59 by yuzhenWang

加海报存储信息,发布测试

parent 2414cd4b
......@@ -61,7 +61,7 @@ export default {
if(!this.loginType || this.loginType == 'visitor'){
this.codeUrl = `${this.baseURL}/pages/index/index`
} else {
this.codeUrl = `${this.baseURL}/pages/index/index?invitationCode=${this.userInfo.invitationCode}&inviteUserId=${this.userInfo.userId}`
this.codeUrl = `${this.baseURL}/pages/index/index?invitationCode=${this.userInfo.invitationCode}&inviteUserId=${this.userInfo.userId}&sharePoster=1`
}
// 1. 首先检查是否有缓存的图片
const cachedImage = uni.getStorageSync('savedShareImage');
......@@ -288,7 +288,7 @@ export default {
.bottomBox {
// flex: 1;
border-radius: 20rpx 20rpx 0 0;
height: 300rpx;
height: 150rpx;
width: 100%;
display: flex;
align-items: center;
......
......@@ -314,7 +314,16 @@
this.initShare();
},
onLoad(options) {
if(options.sharePoster){
dataHandling.pocessTracking(
'进入',
`用户通过分享海报进入系统,邀请码为${options.invitationCode},邀请人userId为${options.inviteUserId}`,
'进入',
2,
'首页',
'pages/index/index'
)
}
//如果用户在其他的地方快捷登录,没有返回到首页,执行此监听方法
uni.$on('loginUpdate',()=>{
this.queryAreaCenterInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment