Commit 28078816 authored by youjie's avatar youjie

no message

parent d1cb8431
......@@ -264,13 +264,6 @@
@cancel="cancelModal"
:orderNo="OrderNo"
:CancelPolicy="CancelPolicy"></cancelPrompt>
<u-modal :border-radius="16"
@confirm="nativageToOrderHandle"
title="订单提醒"
content="订单创建成功,请您在5分钟内完成付款,否则将会被取消."
@cancel="navigatorToHomeHandle"
v-model="successVisible" confirm-text='查看订单' cancel-text='返回首页'
confirm-color='#DEBF7B' cancel-color='#080A09' :show-cancel-button="true"></u-modal>
</view>
</template>
......@@ -372,7 +365,6 @@
showModal: false,
OrderNo: '',
CancelPolicy: '',
successVisible: false,
};
},
created() {
......@@ -398,23 +390,6 @@
if (this.id) this.getOrderDetail();
},
methods: {
navigatorToHomeHandle() {
uni.redirectTo({
url: '/pages/index/index'
})
},
nativageToOrderHandle(){
let OrderTypeStr = ''
// #ifdef MP-DI
OrderTypeStr = '12,13,14'
// #endif
// #ifdef MP-AG
OrderTypeStr = '5'
// #endif
uni.redirectTo({
url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`,
});
},
cancelModal(){
this.showModal = false
},
......@@ -468,11 +443,10 @@
},
fail: function(err) {
that.submit = false;
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
uni.showToast({
title: "支付失败",
icon: "none",
});
},
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment