首页客服修改

master
Lee 2023-01-04 18:22:14 +08:00
parent f11ba12bf7
commit 6d0017c322
20 changed files with 44 additions and 32 deletions

View File

@ -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