Authored by yyq

fix

... ... @@ -120,7 +120,11 @@ Page({
});
},
cancelOrder() {
orderHandle.cancelOrder(this.orderCode);
orderHandle.cancelOrder(this.orderCode, res => {
if (res && res.code === 200) {
wx.navigateBack({delta: 1});
}
});
},
payNow() {
orderHandle.payNow({
... ... @@ -129,13 +133,21 @@ Page({
});
},
deleteOrder() {
orderHandle.deleteOrder(this.orderCode);
orderHandle.deleteOrder(this.orderCode, res => {
if (res && res.code === 200) {
wx.navigateBack({delta: 1});
}
});
},
viewExpress() {
orderHandle.expressDetail(this.orderCode);
},
confirmOrder() {
orderHandle.confirmReceive(this.orderCode);
orderHandle.confirmReceive(this.orderCode, res => {
if (res && res.code === 200) {
wx.navigateBack({delta: 1});
}
});
},
refundOrder() {
let that = this;
... ...
... ... @@ -16,6 +16,10 @@ page {
padding-bottom: 100rpx;
}
button:after{
border: none;
}
.address-wrap {
border-top: 1rpx solid #e0e0e0;
margin-bottom: 20rpx;
... ...
@import "./template/item/item.wxss";
@import "./template/reason/reason.wxss";
button:after{
border: none;
}
.page-container {
background-color: #f2f2f2;
box-sizing: border-box;
... ...