订单详情增加拨号
This commit is contained in:
parent
4c618d9814
commit
a0e78d2bd2
|
@ -256,6 +256,12 @@ function chooseImage(count) {
|
|||
});
|
||||
}
|
||||
|
||||
function callPhone(phoneNumber) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: phoneNumber
|
||||
});
|
||||
}
|
||||
|
||||
export default {
|
||||
time,
|
||||
datetime,
|
||||
|
@ -270,4 +276,5 @@ export default {
|
|||
toast,
|
||||
formatNumber,
|
||||
chooseImage,
|
||||
callPhone,
|
||||
}
|
||||
|
|
|
@ -376,6 +376,9 @@ export default {
|
|||
color: #000000;
|
||||
line-height: 26rpx;
|
||||
margin-bottom: 16rpx;
|
||||
.mobile {
|
||||
margin: 0 10rpx;
|
||||
}
|
||||
}
|
||||
.detail {
|
||||
color: #2d2d2d;
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
{{ order.address.name }}({{ order.address.sex == "男" ? "先生" : "女士" }})
|
||||
</text>
|
||||
<text class="mobile">{{ order.address.mobile }}</text>
|
||||
<text class="call" @click="utils.callPhone(order.address.mobile)">拨号</text>
|
||||
</view>
|
||||
<view class="detail">
|
||||
<text>{{ order.address.address }}{{ order.address.detail }}</text>
|
||||
|
@ -383,6 +384,12 @@ export default {
|
|||
.contact {
|
||||
color: #000000;
|
||||
line-height: 26rpx;
|
||||
.mobile {
|
||||
margin: 0 10rpx;
|
||||
}
|
||||
.call {
|
||||
color: #8194f2;
|
||||
}
|
||||
}
|
||||
.detail {
|
||||
color: #2d2d2d;
|
||||
|
|
Loading…
Reference in New Issue