diff --git a/manifest.json b/manifest.json index 540de4d..8cb7e40 100644 --- a/manifest.json +++ b/manifest.json @@ -62,7 +62,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxb35ef055a4dd8ad4", + "appid" : "wx1031981885c80917", "setting" : { "urlCheck" : false, "postcss" : true, diff --git a/pages/contactService/index.vue b/pages/contactService/index.vue index c052867..f232551 100644 --- a/pages/contactService/index.vue +++ b/pages/contactService/index.vue @@ -10,7 +10,7 @@ 客服电话 - {{ info.phone }} + {{ info.phone }} 联系地址 diff --git a/pages/index/index.vue b/pages/index/index.vue index 4599688..8a8a05b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -6,7 +6,7 @@ - + {{ item.name }} diff --git a/pages/order/confirm-atonce.vue b/pages/order/confirm-atonce.vue index c451850..0e00d7a 100644 --- a/pages/order/confirm-atonce.vue +++ b/pages/order/confirm-atonce.vue @@ -111,9 +111,8 @@ this.order_id = e.order_id; this.goods_specs_id = e.goods_specs_id this.num = e.order_number - if(this.goods_id && this.goods_specs_id) { + if(this.goods_id && this.goods_specs_id && this.order_id) { this.getConfirmOrder() - this.submit() } }, @@ -189,7 +188,6 @@ }); }, pay(){ - console.log("this.order_id", this.order_id) this.$http(this.API.API_PAYMENT_DIRECT, {order_id: this.order_id}).then(res => { this.order_id = res.data.order_id uni.requestPayment({ diff --git a/pages/order/confirm-order.vue b/pages/order/confirm-order.vue index f60c81b..0910dc6 100644 --- a/pages/order/confirm-order.vue +++ b/pages/order/confirm-order.vue @@ -8,7 +8,7 @@ - + {{orderDetails.goods.name}} @@ -66,7 +66,8 @@ {{ total(num, orderDetails.goods.specs[0].selling_price) }} --> - @@ -132,7 +133,7 @@ methods: { changeNum(num) { if(num > this.limit) { - this.$msg('该商品限购数量'+this.limit) + this.$msg('该商品限购'+this.limit+'件') this.num = this.limit return }else if(num < 1) { @@ -155,7 +156,7 @@ if(this.num < this.limit) { this.num++ }else { - this.$msg('该商品限购数量'+this.limit) + this.$msg('该商品限购'+this.limit+'件') this.num = this.limit return } @@ -229,7 +230,6 @@ } }, pay(){ - console.log("this.order_id", this.order_id) this.$http(this.API.API_PAYMENT_DIRECT, {order_id: this.order_id}).then(res => { this.order_id = res.data.order_id uni.requestPayment({ @@ -267,6 +267,17 @@