From 89cf7b96dbcfcd1a0e697edc3ede2dad978725dc Mon Sep 17 00:00:00 2001
From: ghusermoon <2673031505@qq.com>
Date: Tue, 1 Sep 2020 10:39:59 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=87=AA=E6=8F=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/api/shop.js | 3 +-
components/comment/index.vue | 13 +++---
components/mine/order-item/index.vue | 2 +-
pageB/sdetails/index.vue | 2 +-
pageC/cart/ConfirmOrder.vue | 67 +++++++++++++++++++---------
pageE/order/Details.vue | 6 ++-
pages.json | 2 +-
7 files changed, 63 insertions(+), 32 deletions(-)
diff --git a/common/api/shop.js b/common/api/shop.js
index 369489e..18abda3 100644
--- a/common/api/shop.js
+++ b/common/api/shop.js
@@ -139,7 +139,7 @@ export default {
});
},
// 订单步骤2:发起订单,返回订单信息
- sendOrder({ ifcart, cart_id, address_id, buy_city_id, pintuan_id, pintuangroup_id, voucher_id }) {
+ sendOrder({ ifcart, cart_id, address_id, buy_city_id, pintuan_id, pintuangroup_id, voucher_id, is_selfraising }) {
return vm.$u.post('buy/buy_step2', {
ifcart: ifcart,
cart_id: cart_id,
@@ -148,6 +148,7 @@ export default {
pintuan_id: pintuan_id,
pintuangroup_id: pintuangroup_id,
voucher_id: voucher_id, // 优惠券信息
+ is_selfraising: is_selfraising, // 是否自提
});
},
// 订单步骤3:发起支付(第三方统一下单)
diff --git a/components/comment/index.vue b/components/comment/index.vue
index 41ff22f..12b0ed1 100644
--- a/components/comment/index.vue
+++ b/components/comment/index.vue
@@ -9,7 +9,7 @@
{{ content.geval_content }}
-
+
掌柜回复:
@@ -41,11 +41,12 @@ export default {
if(this.content.hasOwnProperty('scores_two')) this.rate = this.content.scores_two;
},
methods: {
- previewImage(urls) {
- console.log(urls);
- // uni.previewImage({
- // urls: urls,
- // });
+ previewImage(urls, index) {
+ // console.log(urls);
+ uni.previewImage({
+ urls: urls,
+ current: urls[index]
+ });
},
}
};
diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue
index f68890c..75fac3d 100644
--- a/components/mine/order-item/index.vue
+++ b/components/mine/order-item/index.vue
@@ -25,7 +25,7 @@
申请退款
- 查看物流
+ 查看物流
确认收货
取消支付
diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue
index 75d9f4c..68c4e95 100644
--- a/pageB/sdetails/index.vue
+++ b/pageB/sdetails/index.vue
@@ -49,7 +49,7 @@