

官方资讯
+

如有特殊需求请联系【客服】
+如有特殊需求请联系【客服】
@@ -84,12 +84,8 @@
-
-
-
+
-
-
-
- 联系客服
+
+
联系客服
+
@@ -163,16 +164,25 @@ export default {
// 点击联系方式
handleContact() {
let mobile = this.detailData.mobile[0]
+
if (mobile) {
- // window.location.href = `tel:${mobile}`
- ZWJSBridge.phoneCall({
- corpId: mobile,
+ this.$dialog.confirm({
+ title: '提示',
+ message: '是否拨打客服电话',
})
- .then((res) => {
- console.log(res)
+ .then(() => {
+ ZWJSBridge.phoneCall({
+ corpId: mobile,
+ })
+ .then((res) => {
+ console.log(res)
+ })
+ .catch((err) => {
+ console.log(err)
+ })
})
- .catch((err) => {
- console.log(err)
+ .catch(() => {
+ // on cancel
})
} else {
this.$toast('暂无联系方式')
@@ -187,9 +197,14 @@ export default {
\ No newline at end of file
+
--
libgit2 0.21.0