feat: 订单详情展示联系客服

master
chc 2023-03-29 16:44:15 +08:00
parent b0447eec3a
commit a403a7d432
1 changed files with 7 additions and 2 deletions

View File

@ -124,8 +124,7 @@
</view>
</view>
<!-- 客户服务 售后取消订单查看物流投诉等 -->
<view class="info-view"
v-if="orderDetail.allowOperationVO && orderDetail.allowOperationVO.cancel == true || order.orderStatus == 'DELIVERED' || order.orderStatus != 'UNPAID' && order.orderPromotionType == 'PINTUAN'">
<view class="info-view">
<view style="width: 100%">
<view class="order-info-view">
<view class="title">服务</view>
@ -137,6 +136,8 @@
<view class="customer-service" v-if="order.orderStatus == 'DELIVERED'" @click="onLogistics(order)"></view>
<view class="customer-service" v-if="order.orderStatus != 'UNPAID' && order.orderPromotionType == 'PINTUAN'"
@click="ByUserMessage(order)">查看拼团信息</view>
<view class="customer-service"
@click="contact(order.storeId)">联系客服</view>
</view>
</view>
</view>
@ -310,6 +311,10 @@ export default {
callPhone(){
this.$options.filters.callPhone(this.order.storeAddressMobile )
},
//
contact(storeId){
this.$options.filters.talkIm(storeId)
},
goToShopPage(val) {
uni.navigateTo({
url: "/pages/product/shopPage?id=" + val.storeId,