|
@@ -107,7 +107,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<view class="detail-info" v-if="(status.value == 2 || status.value == 4) && deliverList.length == 1">
|
|
|
<view class="detail-info-title">发货信息</view>
|
|
|
<view class="detail-info-content" v-for="(item, index) in deliverList" :key="index">
|
|
@@ -129,23 +129,18 @@
|
|
|
<view>{{ $parseTime(item.deliveryTime) }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <view class="footer-fixed">
|
|
|
- <view class="flex btn">
|
|
|
- <view class="btn-right">
|
|
|
- <!-- <text class="logistics" @click="getLogistics">查看物流</text> -->
|
|
|
- </view>
|
|
|
- <view class="btn-right">
|
|
|
- <text class="confirm" @click="confirmOne">确认收货</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
</view>
|
|
|
-
|
|
|
</view>
|
|
|
- <view class="detail-btn" v-if="status.value == 0">
|
|
|
- <text @click="cancelOrder">取消订单</text>
|
|
|
- <text @click="payOrder">去支付</text>
|
|
|
+
|
|
|
+ <view class="footer-fixed" v-if="status.value == 2 || status.value == 4">
|
|
|
+ <view class="flex btn">
|
|
|
+ <view class="btn-right">
|
|
|
+ <!-- <text class="logistics" @click="getLogistics">查看物流</text> -->
|
|
|
+ </view>
|
|
|
+ <view class="btn-right">
|
|
|
+ <text class="confirm" @click="confirmOne">确认收货</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -267,22 +262,22 @@
|
|
|
uni.hideLoading();
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
copyOrderId() {
|
|
|
uni.setClipboardData({
|
|
|
data: this.info.orderId,
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
copyDeliveryFlowId(id) {
|
|
|
uni.setClipboardData({
|
|
|
data: id,
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 确认收货
|
|
|
confirmOne() {
|
|
|
- let orderId = this.orderId
|
|
|
+ let orderId = this.orderId
|
|
|
uni.showModal({
|
|
|
title: '提示',
|
|
|
content: '确定已经收到货了吗?',
|
|
@@ -376,7 +371,7 @@
|
|
|
font-weight: bold;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
&-time {
|
|
|
line-height: 40rpx;
|
|
|
color: #b1b1b1;
|
|
@@ -477,7 +472,7 @@
|
|
|
view:last-child {
|
|
|
width: calc(100% - 150rpx)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.copy {
|
|
|
position: absolute;
|
|
|
right: 0;
|