Commit 898592a3 by 陈玉桐

fix 报名弹窗

parent 2d534bc5
......@@ -36,6 +36,12 @@
<span @click="tipDialogShow=false">知道了</span>
</div>
</div>
<div class="tipDialog" v-show="overDialogShow">
<div class="tipDialogCon">
<p>报名成功</p>
<span @click="overBack">返回</span>
</div>
</div>
<loading :loadingShow="loadingShow"></loading>
</div>
</template>
......@@ -53,6 +59,7 @@ export default {
loadingShow: false,//加载
tipDialogShow: false,
tipDialogText: '',
overDialogShow: false,
}
},
components: {
......@@ -102,9 +109,15 @@ export default {
}
}).then(response => {
this.loadingShow = false
this.$router.push({name: 'index'})
this.overDialogShow = true
// this.$router.go(-1)
// this.$router.push({name: 'activityDetail',params:{id: this.$route.params.id}})
})
}
},
overBack() {
this.$router.go(-1)
}
}
}
......
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