首页客服修改
parent
f11ba12bf7
commit
6d0017c322
|
@ -84,7 +84,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if(uni.getStorageSync('phone_active')==0) this.isKef = false
|
if(uni.getStorageSync('authorization')==1){
|
||||||
|
if(uni.getStorageSync('phone_active')==0) this.isKef = false
|
||||||
|
}else{
|
||||||
|
this.isKef = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
cancleEv(e){
|
cancleEv(e){
|
||||||
|
@ -106,18 +110,26 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
if(existMobile!==0){
|
if(uni.getStorageSync('authorization')==1){
|
||||||
// wx.openCustomerServiceChat({
|
if(existMobile!==0){
|
||||||
// extInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},
|
// wx.openCustomerServiceChat({
|
||||||
// corpId: 'ww1f86f258d4ff5817',
|
// extInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},
|
||||||
// success(res) {}
|
// corpId: 'ww1f86f258d4ff5817',
|
||||||
// })
|
// success(res) {}
|
||||||
this.$requst.post('user/rand-bind-service').then(res=>{})
|
// })
|
||||||
this.$toolAll.tools.closeTimer()//清空埋点倒计时
|
this.$requst.post('user/rand-bind-service').then(res=>{})
|
||||||
this.$requst.post('user/record',{type:'other',action:'ask',id:0}).then(res=>{},error=>{})
|
this.$toolAll.tools.closeTimer()//清空埋点倒计时
|
||||||
// 调用tools.js中的种植埋点事件
|
this.$requst.post('user/record',{type:'other',action:'ask',id:0}).then(res=>{},error=>{})
|
||||||
this.$toolAll.tools.plantPoint(5);
|
// 调用tools.js中的种植埋点事件
|
||||||
} else this.goLogin()
|
this.$toolAll.tools.plantPoint(5);
|
||||||
|
} else this.goLogin()
|
||||||
|
}else{
|
||||||
|
this.$requst.post('user/rand-bind-service').then(res=>{})
|
||||||
|
this.$toolAll.tools.closeTimer()//清空埋点倒计时
|
||||||
|
this.$requst.post('user/record',{type:'other',action:'ask',id:0}).then(res=>{},error=>{})
|
||||||
|
// 调用tools.js中的种植埋点事件
|
||||||
|
this.$toolAll.tools.plantPoint(5);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
if(uni.getStorageSync('authorization')==1){
|
if(uni.getStorageSync('authorization')==1){
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue