|
@@ -316,12 +316,17 @@
|
|
|
if(data.code === '1'){
|
|
|
this.submitState ='success'
|
|
|
this.isSubLoading = false;
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.isSubLoading = false;
|
|
|
+ },2000)
|
|
|
let data = {orderID:response.data.orderID}
|
|
|
this.$api.navigateTo(`/pages/user/order/success?data=${JSON.stringify({data:data})}`)
|
|
|
}else{
|
|
|
this.submitState ='confirm'
|
|
|
- this.isSubLoading = false;
|
|
|
this.$util.msg('订单提交成功',3000,true,'success')
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.isSubLoading = false;
|
|
|
+ },2000)
|
|
|
setTimeout(()=>{
|
|
|
this.$api.redirectTo(`/pages/user/order/order-payment?type=${this.submitState}&orderID=${response.data.orderID}`)
|
|
|
},3000)
|
|
@@ -551,7 +556,7 @@
|
|
|
line-height: 80rpx;
|
|
|
border-radius: 40rpx;
|
|
|
&.disabled{
|
|
|
- background: #F7F7F7;
|
|
|
+ background: #e4e8eb;
|
|
|
color: #999999;
|
|
|
}
|
|
|
}
|