GFRS-615 问卷调查VUE 拨打电话 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-02-24 18:41:41 +08:00
parent 62d76c9265
commit abdbdebdb7

View File

@@ -53,7 +53,7 @@
<img src="@/assets/images/sharePeople.png" />
<div>{{ agentInfo.name }}</div>
</div>
<div class="fix_bottom_sub">
<div class="fix_bottom_sub" @click="callPhone">
<img src="@/assets/images/sharePhone.png" />
<div>{{ agentInfo.mobile }}</div>
</div>
@@ -219,6 +219,10 @@ export default {
}
}
return theRequest[name]
},
callPhone() {
console.log('callPhone')
window.location.href = 'tel://' + this.agentInfo.mobile
}
}
}