|
|
|
@ -83,7 +83,7 @@ |
|
|
|
|
@click="onPay(item.order_id)">立即支付</view> |
|
|
|
|
<view class="n" |
|
|
|
|
v-if="item.delivery_type == DeliveryTypeEnum.EXPRESS.value&&item.delivery_status == DeliveryStatusEnum.DELIVERED.value" |
|
|
|
|
@click="onLogistics(item.order_id)">查看物流 |
|
|
|
|
@click="onLogistics(item.order_id,item)">查看物流 |
|
|
|
|
</view> |
|
|
|
|
<view class="n n-1" |
|
|
|
|
v-if="item.delivery_type == DeliveryTypeEnum.EXPRESS.value&&item.delivery_status == DeliveryStatusEnum.DELIVERED.value && item.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value" |
|
|
|
@ -97,7 +97,7 @@ |
|
|
|
|
<!-- <view class="n" |
|
|
|
|
v-if="item.pay_status == PayStatusEnum.SUCCESS.value && item.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value" |
|
|
|
|
@click="onAdress(order.goods_id)">修改地址</view> --> |
|
|
|
|
<!-- <view class="n n-1" @click="onInvoicing(item.order_id,item)">评价</view> --> |
|
|
|
|
<!-- <view class="n n-1" @click="handleTargetComment(item.order_id,item)">评价</view> --> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -411,6 +411,7 @@ |
|
|
|
|
app.showQRCodePopup = true |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 跳转到订单评价页 |
|
|
|
|
handleTargetComment(orderId) { |
|
|
|
|
this.$navTo('pages/order/comment/index', { |
|
|
|
@ -436,11 +437,28 @@ |
|
|
|
|
orderId |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
containsLetterMix(str, mix) { |
|
|
|
|
return new RegExp(mix.split('').join('\\w*')).test(str) |
|
|
|
|
}, |
|
|
|
|
// |
|
|
|
|
// 点击去物流 |
|
|
|
|
onLogistics(orderId) { |
|
|
|
|
onLogistics(orderId, item) { |
|
|
|
|
if (item.delivery) { |
|
|
|
|
let url = item.delivery.express_no |
|
|
|
|
if (this.containsLetterMix(url, 'jd.com')) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/order/express/webView?src=' + encodeURIComponent(url) //url是h5的展示地址pageB |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
this.$navTo('pages/order/express/index', { |
|
|
|
|
orderId |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
this.$navTo('pages/order/express/index', { |
|
|
|
|
orderId |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 点击去支付 |
|
|
|
|
onPay(orderId) { |
|
|
|
@ -471,12 +489,6 @@ |
|
|
|
|
goodsId |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 跳转到订单评价页 |
|
|
|
|
handleTargetComment(orderId) { |
|
|
|
|
this.$navTo('pages/order/comment/index', { |
|
|
|
|
orderId |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -685,7 +697,7 @@ |
|
|
|
|
display: flex; |
|
|
|
|
align-items: flex-start; |
|
|
|
|
overflow: hidden; |
|
|
|
|
margin-bottom: 30rpx; |
|
|
|
|
margin-bottom: 15rpx; |
|
|
|
|
|
|
|
|
|
.pic { |
|
|
|
|
width: 162rpx; |
|
|
|
@ -752,13 +764,15 @@ |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
padding: 30rpx 0; |
|
|
|
|
margin-top: 15rpx; |
|
|
|
|
padding: 20rpx 0; |
|
|
|
|
overflow: hidden; |
|
|
|
|
border-top: 2rpx dashed #F2F2F2; |
|
|
|
|
|
|
|
|
|
.a { |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #A59E9E; |
|
|
|
|
color: #666; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.b { |
|
|
|
@ -775,9 +789,9 @@ |
|
|
|
|
border-radius: 56rpx; |
|
|
|
|
opacity: 1; |
|
|
|
|
border: 1px solid #DFDFDF; |
|
|
|
|
margin-left: 6rpx; |
|
|
|
|
margin-left: 15rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
font-size: 26rpx; |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #1E1E1E; |
|
|
|
|
|
|
|
|
|