From 2aca3ae15326866982ebc138effa8f7cfb518e19 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Fri, 14 Aug 2020 17:57:13 +0800 Subject: [PATCH] update uview 8.14 --- components/mine/order-item/index.vue | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue index 7c84ec7..7307dc4 100644 --- a/components/mine/order-item/index.vue +++ b/components/mine/order-item/index.vue @@ -25,11 +25,15 @@ 申请退款 - 查看物流 + 查看物流 确认收货 立即评价 取消支付 + + + 联系骑手 + 立即支付 联系官方客服 @@ -136,6 +140,11 @@ export default { order_id: id }); }, + makePhone(phone) { + uni.makePhoneCall({ + phoneNumber: phone + }); + } }, }; @@ -225,7 +234,7 @@ export default { display: flex; justify-content: flex-end; @mixin btn-class($width, $color) { - width: $width; + // width: $width; height: 60rpx; border: 2rpx solid $color; color: $color; @@ -248,6 +257,15 @@ export default { .submit { @include btn-class($width: 216rpx, $color: rgba(255,119,15,1)); } + .phone { + @include btn-class($width: 206rpx, $color: rgba(255,119,15,1)); + display: flex; + align-items: center; + justify-content: center; + .u-icon { + margin-right: 10rpx; + } + } } } \ No newline at end of file