diff --git a/src/views/order/list/index.vue b/src/views/order/list/index.vue index 51a3742..b5bccd6 100644 --- a/src/views/order/list/index.vue +++ b/src/views/order/list/index.vue @@ -50,7 +50,7 @@ :key="goodsIndex" :title="goods.goodsName" :num="goods.number" - :price="goods.price" + :price="goods.price | yuan" :thumb="goods.picUrl" >
diff --git a/src/views/order/pay/index.vue b/src/views/order/pay/index.vue index f653ea2..db865d2 100644 --- a/src/views/order/pay/index.vue +++ b/src/views/order/pay/index.vue @@ -169,7 +169,8 @@ export default { forbidClick: true, message: '支付中,请稍后' }) - orderH5pay({ orderSn: this.orderSn, payType: 2 }) + const returnUrl = window.location.origin + window.location.pathname + '#/order/payStatus?status=success' + orderH5pay({ orderSn: this.orderSn, payType: 2, returnUrl }) .then((res) => { this.alipayClientCall(res.map.form) })