diff --git a/api/trade/order.js b/api/trade/order.js
index dc48a271..4f362975 100644
--- a/api/trade/order.js
+++ b/api/trade/order.js
@@ -49,3 +49,7 @@ export function getOrderItem(id) {
id
});
}
+
+export function createOrderItemComment(data) {
+ return request.post("app-api/trade/order/item/create-comment", data);
+}
diff --git a/components/orderGoods/index.vue b/components/orderGoods/index.vue
index fd58293f..8c7b81dd 100644
--- a/components/orderGoods/index.vue
+++ b/components/orderGoods/index.vue
@@ -19,7 +19,7 @@
¥{{ fen2yuan(item.price) }}
-
+
评价
已评价
@@ -72,10 +72,9 @@
}
},
methods: {
- // TODO 芋艿:评价
evaluateTap(item) {
uni.navigateTo({
- url: "/pages/users/goods_comment_con/index?unique=" + item.attrId + "&orderId=" + this.orderId + '&id=' + item.id
+ url: "/pages/users/goods_comment_con/index?orderItemId=" + item.id
})
},
jumpCon: function(id) {
diff --git a/pages/users/goods_comment_con/index.vue b/pages/users/goods_comment_con/index.vue
index 5a277703..c17bba0a 100644
--- a/pages/users/goods_comment_con/index.vue
+++ b/pages/users/goods_comment_con/index.vue
@@ -4,16 +4,20 @@
-
+
- {{productInfo.storeName}}
- {{productInfo.sku}}
+ {{ orderItem.spuName }}
+
+
+ {{ property.valueName }}
+
+
- ¥{{productInfo.truePrice}}
- x{{productInfo.cartNum}}
+ ¥{{ fen2yuan(orderItem.price) }}
+ x{{ orderItem.count }}
@@ -21,7 +25,8 @@
{{item.name}}
-
+
{{item.index === -1 ? "" : item.index + 1 + "分"}}
@@ -32,7 +37,7 @@
-
+
上传图片
@@ -42,56 +47,31 @@
-
-
-
-