diff --git a/template/uni-app/components/orderGoods/index.vue b/template/uni-app/components/orderGoods/index.vue index 6a3687446..2fb249a21 100644 --- a/template/uni-app/components/orderGoods/index.vue +++ b/template/uni-app/components/orderGoods/index.vue @@ -29,7 +29,7 @@ - {{item.productInfo.store_name}} + {{item.productInfo.store_name}} x {{item.cart_num}} {{item.productInfo.attrInfo.suk}} diff --git a/template/uni-app/pages/activity/goods_seckill/index.vue b/template/uni-app/pages/activity/goods_seckill/index.vue index f1c199f26..728f33d63 100644 --- a/template/uni-app/pages/activity/goods_seckill/index.vue +++ b/template/uni-app/pages/activity/goods_seckill/index.vue @@ -29,7 +29,7 @@ - {{item.title}} + {{item.title}} {{$t(`¥`)}} {{item.price}} {{$t(`¥`)}}{{item.ot_price}} diff --git a/template/uni-app/pages/goods/order_details/index.vue b/template/uni-app/pages/goods/order_details/index.vue index 09625e51b..850fd9c48 100644 --- a/template/uni-app/pages/goods/order_details/index.vue +++ b/template/uni-app/pages/goods/order_details/index.vue @@ -1166,32 +1166,24 @@ }, cancelOrder() { let self = this - uni.showModal({ - title: this.$t(`提示`), - content: this.$t(`确认取消该订单`), - success: function(res) { - if (res.confirm) { - orderCancel(self.orderInfo.order_id) - .then((data) => { - // #ifndef MP - self.$util.Tips({ - title: data.msg - }, { - tab: 3 - }) - // #endif - // #ifdef MP - self.$util.Tips({ - title: data.msg - }, '/pages/goods/order_list/index'); - // #endif - }) - .catch(() => { - self.getOrderInfo(); - }); - } else if (res.cancel) {} - } - }); + orderCancel(self.orderInfo.order_id) + .then((data) => { + // #ifndef MP + self.$util.Tips({ + title: data.msg + }, { + tab: 3 + }) + // #endif + // #ifdef MP + self.$util.Tips({ + title: data.msg + }, '/pages/goods/order_list/index'); + // #endif + }) + .catch(() => { + self.getOrderInfo(); + }); }, } }