|
|
@ -187,6 +187,11 @@ function serverOrderCancel({ brand_id, order_no, reason }){ |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
function imError(e){ |
|
|
|
console.warn('imError', e); |
|
|
|
showNone(e?.detail?.errMsg ?? '客服功能异常,请稍后重试'); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
@ -279,9 +284,14 @@ function serverOrderCancel({ brand_id, order_no, reason }){ |
|
|
|
:imgUrl="orderInfo?.image" |
|
|
|
></detail-goods> |
|
|
|
</view> |
|
|
|
<view class="od-fixed" v-if="orderInfo.pay_status == 1&&orderInfo.is_refundable"> |
|
|
|
<view class="od-fixed"> |
|
|
|
<!-- <view class="od-fixed"> --> |
|
|
|
<view class="of-refund" @click="refundBtn">申请退款</view> |
|
|
|
<button class="of-im-btn" open-type="lifeIm" @error="imError"> |
|
|
|
<view class="oib-icon"></view> |
|
|
|
<view class="oib-txt">客服</view> |
|
|
|
</button> |
|
|
|
<view class="of-refund" @click="refundBtn" v-if="orderInfo.pay_status == 1&&orderInfo.is_refundable">申请退款</view> |
|
|
|
<!-- <view class="of-refund">申请退款</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<cancel-modal ref="cancelModalRef"></cancel-modal> |
|
|
@ -416,6 +426,7 @@ function serverOrderCancel({ brand_id, order_no, reason }){ |
|
|
|
padding: 18upx 24upx; |
|
|
|
background: #fff; |
|
|
|
@include isPd(18upx); |
|
|
|
display: flex; |
|
|
|
.of-refund{ |
|
|
|
margin-left: auto; |
|
|
|
margin-right: 0; |
|
|
@ -425,6 +436,16 @@ function serverOrderCancel({ brand_id, order_no, reason }){ |
|
|
|
border: 2upx solid $mColor; |
|
|
|
@include flcw(28upx, 68upx, $mColor); |
|
|
|
} |
|
|
|
.of-im-btn{ |
|
|
|
@include clearBtn; |
|
|
|
padding: 0 10upx; |
|
|
|
@include flcw(28upx, 40upx, #333); |
|
|
|
@include customerService; |
|
|
|
text-align: center; |
|
|
|
.oib-icon{ |
|
|
|
font-family: 'customerService'; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |