diff --git a/src/components/page/Hoster/myOrder.vue b/src/components/page/Hoster/myOrder.vue index f165880..1f14e4c 100644 --- a/src/components/page/Hoster/myOrder.vue +++ b/src/components/page/Hoster/myOrder.vue @@ -267,5 +267,6 @@ export default { } .order_item_info_content_operation p{ margin-bottom: 5px; + cursor: pointer; } diff --git a/src/components/page/Order/index.vue b/src/components/page/Order/index.vue index 35fc758..d1bc50a 100644 --- a/src/components/page/Order/index.vue +++ b/src/components/page/Order/index.vue @@ -24,6 +24,7 @@ export default{ }, created(){ this.step= parseInt(this.$route.query.step) + console.info(this.$route) this.type=this.$route.query.type }, methods:{ @@ -33,7 +34,9 @@ export default{ if (val.status==8 || val.status==2 || val.status==3) { this.step=2 if (val.status==8) { - this.$router.push({path:'/order/orderDetails',query:{batchcode:val.batchcode,type:2}}) + if (this.$route.path!='/order/orderDetails') { + this.$router.push({path:'/order/orderDetails',query:{batchcode:val.batchcode,type:2}}) + } this.type=2 } }else if (val.status==0 ||val.status==1) { @@ -44,7 +47,9 @@ export default{ this.step=4 }else if (val.status==7 ) { this.step=5 - this.$router.push({path:'/order/orderDetails',query:{batchcode:val.batchcode,type:this.$route.query.type}}) + if (this.$route.path!='/order/orderDetails') { + this.$router.push({path:'/order/orderDetails',query:{batchcode:val.batchcode,type:this.$route.query.type}}) + } } } } diff --git a/src/components/page/Purchaser/Purchaser.vue b/src/components/page/Purchaser/Purchaser.vue index 8e1266f..dbfc648 100644 --- a/src/components/page/Purchaser/Purchaser.vue +++ b/src/components/page/Purchaser/Purchaser.vue @@ -15,8 +15,8 @@ export default { headerList:[ {name:'我的订单',url:'/Purchaser'}, {name:'我的收藏',url:'/Purchaser/myCollection'}, - {name:'在线学习',url:'/Purchaser/study'}, - {name:'学习成果',url:'/Purchaser/achievements'} + // {name:'在线学习',url:'/Purchaser/study'}, + // {name:'学习成果',url:'/Purchaser/achievements'} ], header_active:0 } diff --git a/src/components/page/Purchaser/myOrder.vue b/src/components/page/Purchaser/myOrder.vue index e762b9c..3f72932 100644 --- a/src/components/page/Purchaser/myOrder.vue +++ b/src/components/page/Purchaser/myOrder.vue @@ -265,5 +265,6 @@ export default { } .order_item_info_content_operation p{ margin-bottom: 5px; + cursor: pointer; }