makePhoneCall
This commit is contained in:
@@ -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 = "风险预警"
|
||||
|
||||
Reference in New Issue
Block a user