diff --git a/common/api/order.js b/common/api/order.js
index cf4085d..f67f408 100644
--- a/common/api/order.js
+++ b/common/api/order.js
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-29 17:38:17
* @LastEditors: ch
- * @LastEditTime: 2022-04-18 11:04:14
+ * @LastEditTime: 2022-04-18 15:37:05
* @Description: file content
*/
import {ToAsyncAwait, MsbRequestTk} from '@/common/utils';
@@ -41,6 +41,13 @@ export const ApiGetOrderDetail = (id) =>
*/
export const ApiGetOrderProductDetail = ({orderProductId}) =>
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/tradeOrder/product/${orderProductId}`));
+
+/**
+ * 获取物流信息
+ * @param {*} orderProductId
+ */
+export const ApiGetOrderLogistics = ({orderId}) =>
+ ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/tradeOrder/logistics/${orderId}`));
/**
* 提交订单
* @param {*} data
diff --git a/pages.json b/pages.json
index 933101c..ae74b09 100644
--- a/pages.json
+++ b/pages.json
@@ -154,6 +154,14 @@
"navigationBarBackgroundColor" : "#F8F8F8"
}
},
+ {
+ "path": "pages/order/logisitcsInfo",
+ "aliasPath" : "/logisitcsInfo",
+ "style": {
+ "navigationBarTitleText": "物流详情",
+ "navigationBarBackgroundColor" : "#F8F8F8"
+ }
+ },
{
"path": "pages/order/paySuccess",
"aliasPath" : "/paySuccess",
diff --git a/pages/order/detail/components/LogisitcsInfo.vue b/pages/order/detail/components/LogisitcsInfo.vue
index c099b21..6fe1dac 100644
--- a/pages/order/detail/components/LogisitcsInfo.vue
+++ b/pages/order/detail/components/LogisitcsInfo.vue
@@ -2,14 +2,28 @@
* @Author: ch
* @Date: 2022-04-15 16:36:02
* @LastEditors: ch
- * @LastEditTime: 2022-04-15 17:00:16
+ * @LastEditTime: 2022-04-18 16:31:12
* @Description: file content
-->
-
-
+
+ {{lastLogisitcs.context}}
+
+
+ {{lastLogisitcs.time}}
+
+
+
+
+ {{logisitcsInfo.recipientAddress}}
+
+
+
+
+ {{logisitcsInfo.recipientName}}
+ {{logisitcsInfo.recipientPhone}}
+
@@ -22,15 +36,47 @@ export default {
type : Object,
defalut : () => ({})
}
+ },
+ computed : {
+ lastLogisitcs (){
+ const list = this.logisitcsInfo && this.logisitcsInfo.logisticsDataList
+ if(list && list.length > 0){
+ return list[0]
+ }else{
+ return null
+ }
+
+ }
}
}
\ No newline at end of file
diff --git a/pages/order/detail/components/Operation.vue b/pages/order/detail/components/Operation.vue
index 8231321..4d2419a 100644
--- a/pages/order/detail/components/Operation.vue
+++ b/pages/order/detail/components/Operation.vue
@@ -2,15 +2,23 @@
* @Author: ch
* @Date: 2022-04-15 17:46:10
* @LastEditors: ch
- * @LastEditTime: 2022-04-15 18:02:18
+ * @LastEditTime: 2022-04-18 16:16:26
* @Description: file content
-->
@@ -69,4 +73,16 @@ export default {
font-size: $font-size-sm;
}
}
+.amount-box{
+ text-align: right;
+ margin-top: 30rpx;
+}
+
+.amount-label{
+ font-size: $font-size-sm;
+}
+.amount{
+ color: $color-yellow4;
+ font-size: $font-size-lg;
+}
\ No newline at end of file
diff --git a/pages/order/detail/index.vue b/pages/order/detail/index.vue
index efc6d53..f4f3b85 100644
--- a/pages/order/detail/index.vue
+++ b/pages/order/detail/index.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-31 14:26:09
* @LastEditors: ch
- * @LastEditTime: 2022-04-18 11:00:17
+ * @LastEditTime: 2022-04-18 16:16:44
* @Description: file content
-->
@@ -12,7 +12,7 @@
-
+
申请售后
@@ -27,7 +27,7 @@
-
+
+
\ No newline at end of file
diff --git a/pages/order/saleAfter/saleAfterSelect.vue b/pages/order/saleAfter/saleAfterSelect.vue
index bb0e7e3..0f0a627 100644
--- a/pages/order/saleAfter/saleAfterSelect.vue
+++ b/pages/order/saleAfter/saleAfterSelect.vue
@@ -2,13 +2,12 @@
* @Author: ch
* @Date: 2022-04-14 16:50:37
* @LastEditors: ch
- * @LastEditTime: 2022-04-15 11:33:42
+ * @LastEditTime: 2022-04-18 15:33:42
* @Description: file content
-->
-
diff --git a/static/order/dw2.png b/static/order/dw2.png
new file mode 100644
index 0000000..31dd176
Binary files /dev/null and b/static/order/dw2.png differ
diff --git a/static/order/fj.png b/static/order/fj.png
new file mode 100644
index 0000000..911b195
Binary files /dev/null and b/static/order/fj.png differ