update:修改客服IM为拨打电话

This commit is contained in:
lihaoyuan 2025-11-07 10:58:57 +08:00
parent 0632e36723
commit de710e5a7c

View File

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