update:修改客服IM为拨打电话
This commit is contained in:
parent
0632e36723
commit
de710e5a7c
@ -15,7 +15,7 @@
|
||||
@input="searchOrder()"
|
||||
></u-search>
|
||||
<u-icon
|
||||
@click="toServices"
|
||||
@click="openPhoneDial"
|
||||
class="icon-shezhi"
|
||||
custom-prefix="custom-icon-kefu custom-icon"
|
||||
size="24"
|
||||
@ -1050,6 +1050,7 @@ export default {
|
||||
}
|
||||
this.showOrderPickingPopup = false;
|
||||
},
|
||||
//IM发送 之前客服的位置方法 暂时不用了
|
||||
toServices() {
|
||||
let item = {
|
||||
user_friend_id: 36,
|
||||
@ -1077,7 +1078,17 @@ export default {
|
||||
url: `/pages/IM/IMmsgContent?item=${JSON.stringify(item)}`,
|
||||
});
|
||||
},
|
||||
},
|
||||
openPhoneDial(){
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: '17777525395',
|
||||
// 可选:添加拨号失败回调
|
||||
fail: (err) => {
|
||||
console.log('拨号失败', err);
|
||||
this.$refs.uToast.show({ title: '拨号失败,请稍后重试' });
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user