diff --git a/components/ProductWindow.vue b/components/ProductWindow.vue
index d0adbbe..89120f2 100644
--- a/components/ProductWindow.vue
+++ b/components/ProductWindow.vue
@@ -183,7 +183,7 @@ export default {
this.$emit("changeFun", { action: "changeattr", value: false })
},
CartNumDes() {
- if(this.cartNumber === 1) return
+ if(this.cartNumber <= 1) return
console.log(this.cartNumber, 'cartNumber');
this.cartNumber--
this.$emit("changeFun", { action: "ChangeCartNum", value: this.cartNumber })
diff --git a/pages/home/index.vue b/pages/home/index.vue
index ba9eea6..997a61b 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -1481,6 +1481,12 @@ export default {
success: () => {
}
})
+ } else {
+ uni.showToast({
+ title: res.msg + '',
+ icon: 'none',
+ duration: 3000
+ })
}
}).catch((err) => {
uni.showToast({
diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue
index c0efff7..8a1827e 100644
--- a/pages/order/MyOrder/index.vue
+++ b/pages/order/MyOrder/index.vue
@@ -186,6 +186,13 @@
入住时间: {{ order.travelGroupOrderInfo.orderStartDate }}
+
+
+ 等待商家确认时间,剩余
+
+ 订单将自动取消
+
+
{{ '申请退款' }}
{{ order.isTravelGroup === 0 ? '查看详情' : '查看券码' }}
@@ -276,7 +284,24 @@
@click="goOrderDetails(order)"
>立即核销
-
+
+ {{ '修改时间' }}
+ {{ '申请退款' }}
+ {{ order.isTravelGroup === 0 ? '查看详情' : '查看券码' }}
+
+
家
- {{ record.desc }}
+ {{ record.intro }}
{{ tag }}
- {{ record.intro }}
+ {{ record.desc }}
diff --git a/pkg_product/views/sojoumOrderDetails.vue b/pkg_product/views/sojoumOrderDetails.vue
index 18c4f48..30eaa7d 100644
--- a/pkg_product/views/sojoumOrderDetails.vue
+++ b/pkg_product/views/sojoumOrderDetails.vue
@@ -124,7 +124,7 @@
支付状态
- {{orderInfo._status._type !== '0' && orderInfo._status._type !== '9' ? '已支付' : '未支付'}}
+ {{ orderInfo.paid ? '已支付' : '未支付'}}
支付方式
diff --git a/pkg_product/views/sojoumStore.vue b/pkg_product/views/sojoumStore.vue
index d47c44a..90ca899 100644
--- a/pkg_product/views/sojoumStore.vue
+++ b/pkg_product/views/sojoumStore.vue
@@ -19,8 +19,8 @@
>
@@ -678,8 +678,17 @@ export default {
getFarmerData() {
getJiaLouDetail(this.id).then(res => {
this.store = res.data || {}
+ this.store.banner = res.data.banner.map(img => {
+ return {
+ type: 'img',
+ url: img
+ }
+ })
if(res.data.video) {
- this.store.banner.unshift(res.data.video)
+ this.store.banner.unshift({
+ type: 'video',
+ url: res.data.video
+ })
}
this.getNews()
this.getJiaLouProductList()
diff --git a/pkg_product/views/submitOrder.vue b/pkg_product/views/submitOrder.vue
index 72b37b3..bc354ed 100644
--- a/pkg_product/views/submitOrder.vue
+++ b/pkg_product/views/submitOrder.vue
@@ -206,7 +206,7 @@ export default {
contactMerchant() {
uni.showModal({
title: '商家电话',
- content: this.form.merPhone || '暂无电话',
+ content: this.orderInfo.merPhone || '暂无电话',
confirmText: '立即拨打',
cancelText: '取消',
success: (res) => {
diff --git a/pkg_user/views/gift/gift.vue b/pkg_user/views/gift/gift.vue
index a586aff..760de35 100644
--- a/pkg_user/views/gift/gift.vue
+++ b/pkg_user/views/gift/gift.vue
@@ -536,7 +536,7 @@ export default {
this.isPayOk = true;
}).catch(err => {
- this.makeAgain()
+ // this.makeAgain()
uni.showToast({
title: '支付取消,请在我的礼品卡中完成支付',
icon: "none",