|
@@ -25,7 +25,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="time flex align_center justify_between">
|
|
<view class="time flex align_center justify_between">
|
|
<text>{{orderInfo.contactName}}</text>
|
|
<text>{{orderInfo.contactName}}</text>
|
|
- <view class="flex align_center">
|
|
|
|
|
|
+ <view @click="callPhone(orderInfo.contactMobile)" class="flex align_center">
|
|
<u-icon class="phone" name="icon_phone" custom-prefix="custom-icon" size="28" color="#999999"></u-icon>
|
|
<u-icon class="phone" name="icon_phone" custom-prefix="custom-icon" size="28" color="#999999"></u-icon>
|
|
<text>{{orderInfo.contactMobile}}</text>
|
|
<text>{{orderInfo.contactMobile}}</text>
|
|
</view>
|
|
</view>
|
|
@@ -165,7 +165,12 @@
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ // 打电话
|
|
|
|
+ callPhone(phone) {
|
|
|
|
+ uni.makePhoneCall({
|
|
|
|
+ phoneNumber: phone
|
|
|
|
+ });
|
|
|
|
+ },
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|