makePhoneCall

This commit is contained in:
shijingjing
2022-03-24 17:25:19 +08:00
parent cee2946842
commit 0bfbc9c49a

View File

@@ -9,7 +9,7 @@
<span>李白</span>
<span>待走访</span>
</div>
<div class="phone">
<div class="phone" @click="callPhone">
<img src="./img/user.png" alt="">
<span>拨打电话</span>
</div>
@@ -139,7 +139,10 @@ export default {
methods: {
toResult() {
uni.navigateTo({url: './result'})
}
},
callPhone(phone) {
uni.makePhoneCall({phoneNumber: phone})
},
},
onShow() {
document.title = "风险预警"