diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue
index 79dd301..33a07bc 100644
--- a/components/mine/order-item/index.vue
+++ b/components/mine/order-item/index.vue
@@ -67,7 +67,6 @@ export default {
}
},
methods: {
-
cancelOrder() {
this.$u.api.cancelOrder({
order_id: this.order.order_id,
diff --git a/components/mine/order-item/try.vue b/components/mine/order-item/try.vue
index fe7f10b..bb95790 100644
--- a/components/mine/order-item/try.vue
+++ b/components/mine/order-item/try.vue
@@ -12,9 +12,7 @@
{{ order.goods_name }}
-
+ {{ order.goods_spec | concatSpec }}
@@ -38,7 +36,18 @@ export default {
created() {
this.viewState();
},
- filters: {},
+ filters: {
+ concatSpec(value) {
+ let spec = '';
+ for (const key in value) {
+ if (value.hasOwnProperty(key)) {
+ const element = value[key];
+ spec = spec + element + ';'
+ }
+ }
+ return spec;
+ }
+ },
methods: {
// "goods_try_order_status": 0, 试穿订单状态 0:待处理订单 20:同意 40:拒绝此订单 50:完成
viewState() {
@@ -131,6 +140,7 @@ export default {
line-height: 38rpx;
}
.goods-sku {
+ align-self: baseline;
max-width: 230rpx;
background: rgba(236,236,236,1);
border-radius: 6rpx;