首页客服修改
parent
f11ba12bf7
commit
6d0017c322
|
@ -84,7 +84,11 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
if(uni.getStorageSync('authorization')==1){
|
||||||
if(uni.getStorageSync('phone_active')==0) this.isKef = false
|
if(uni.getStorageSync('phone_active')==0) this.isKef = false
|
||||||
|
}else{
|
||||||
|
this.isKef = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
cancleEv(e){
|
cancleEv(e){
|
||||||
|
@ -106,6 +110,7 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
if(uni.getStorageSync('authorization')==1){
|
||||||
if(existMobile!==0){
|
if(existMobile!==0){
|
||||||
// wx.openCustomerServiceChat({
|
// wx.openCustomerServiceChat({
|
||||||
// extInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},
|
// extInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},
|
||||||
|
@ -118,6 +123,13 @@
|
||||||
// 调用tools.js中的种植埋点事件
|
// 调用tools.js中的种植埋点事件
|
||||||
this.$toolAll.tools.plantPoint(5);
|
this.$toolAll.tools.plantPoint(5);
|
||||||
} else this.goLogin()
|
} 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