首页客服修改

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() {
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:{
cancleEv(e){
@ -106,18 +110,26 @@
}
break;
case 2:
if(existMobile!==0){
// wx.openCustomerServiceChat({
// extInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},
// corpId: 'ww1f86f258d4ff5817',
// success(res) {}
// })
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);
} else this.goLogin()
if(uni.getStorageSync('authorization')==1){
if(existMobile!==0){
// wx.openCustomerServiceChat({
// extInfo: {url: `https://work.weixin.qq.com/kfid/kfcb3bba5b57d9a42ba?enc_scene=ENC616HXDjLYNcmsR49PBE75UERg8Ncv3dygpYjfnh3XVvA&scene_param=${uni.getStorageSync('openid')}`},
// corpId: 'ww1f86f258d4ff5817',
// success(res) {}
// })
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);
} 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;
case 3:
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