From e67e2fe70105a9e59eb14612e5efd5d4056cb7cb Mon Sep 17 00:00:00 2001
From: cmxdd <86407334@qq.com>
Date: Thu, 6 Aug 2020 10:04:38 +0800
Subject: [PATCH] update code adout order
---
components/order-item/index.vue | 4 +-
pages/index/details.vue | 48 +++++++-----
pages/index/index.vue | 1 +
pages/index/otherdetails.vue | 125 +++++++++++++++++++++-----------
4 files changed, 116 insertions(+), 62 deletions(-)
diff --git a/components/order-item/index.vue b/components/order-item/index.vue
index 2192fd1..78bc509 100644
--- a/components/order-item/index.vue
+++ b/components/order-item/index.vue
@@ -10,9 +10,9 @@
待处理订单
已发货订单
已完成订单
- 申请退款订单
+ 申请退款
已退款订单
- 拒绝退款订单
+ 拒绝退款
{{info.extend_order_goods[0].goods_name}}
diff --git a/pages/index/details.vue b/pages/index/details.vue
index e9d40da..a73bfca 100644
--- a/pages/index/details.vue
+++ b/pages/index/details.vue
@@ -13,20 +13,7 @@
-
-
-
- {{ info.extend_order_common.reciver_name }}
-
-
-
- {{ info.extend_order_common.reciver_info.mob_phone }}
-
-
-
- {{ info.extend_order_common.reciver_info.address }}
-
-
+
收件人信息
@@ -44,6 +31,22 @@
+
+
+
+
+ {{ info.extend_order_common.reciver_name }}
+
+
+
+ {{ info.extend_order_common.reciver_info.mob_phone }}
+
+
+
+ {{ info.extend_order_common.reciver_info.address }}
+
+
+
派送方式
@@ -52,6 +55,7 @@
确认
+
物流信息
订单单号:{{ info.order_sn }}
@@ -60,11 +64,14 @@
{{list.kd_time}}
+
+
不处理
确定处理
- 退款状态:{{ type == 5 ? '同意退款,请注意查收' : '拒绝退款,请等待客服联系' }}
+
+ 退款状态:{{ type == 5 ? '同意退款,请注意查收!' : '拒绝退款,请等待客服联系!' }}
-->
+
+
+ 配送信息
+ 提示信息
+
+
+
+ {{ info.takeawayer_name }}
+
+
+
+ {{ info.takeawayer_mobile }}
+
+
+
+
+
+
+
+ 抱歉,商家正忙无法接单,期待下次为您服务!
+
+
+
+
+
+ 订单配送完成,期待下次为您服务!
+
+
-
-
@@ -135,6 +153,13 @@ export default {
type: 'error'
});
} else {
+ this.$refs.uToast.show({
+ title: res.message,
+ type: 'success'
+ });
+ uni.navigateBack({
+ delta: 1
+ });
}
});
} else {
@@ -150,6 +175,13 @@ export default {
type: 'error'
});
} else {
+ this.$refs.uToast.show({
+ title: res.message,
+ type: 'success'
+ });
+ uni.navigateBack({
+ delta: 1
+ });
}
});
}
@@ -234,6 +266,13 @@ export default {
}
}
}
+ .refunds-title{
+ padding: 25rpx 30rpx;
+ font-weight: 500;
+ color: #333333;
+ background-color: #ffffff;
+ border-bottom: 2rpx solid #ececec;
+ }
.refunds-user {
padding: 25rpx 30rpx;
background-color: #ffffff;
@@ -290,7 +329,7 @@ export default {
border-bottom: 2rpx solid #ececec;
}
.title {
- width: 150rpx;
+ width: 170rpx;
font-size: 30rpx;
margin-right: 10rpx;
}