Commit 7aa23222 by 陈玉桐

add请联系客服弹窗

parent f195ff1c
...@@ -363,6 +363,11 @@ export default { ...@@ -363,6 +363,11 @@ export default {
create() { create() {
// 使input失去焦点 // 使input失去焦点
document.getElementById("currentDayInput").blur() document.getElementById("currentDayInput").blur()
if(this.enrollStatus==2){//您已完成当前活动,请联系客服
this.tipDialogText = '您已完成当前活动,请联系客服'
this.tipDialogShow = true
return
}
if(this.enrollStatus==1){//已报名 if(this.enrollStatus==1){//已报名
if(this.status==2){ if(this.status==2){
this.tipDialogText = '活动已结束' this.tipDialogText = '活动已结束'
...@@ -405,6 +410,11 @@ export default { ...@@ -405,6 +410,11 @@ export default {
}, },
upload() { upload() {
if(this.enrollStatus==2){//您已完成当前活动,请联系客服
this.tipDialogText = '您已完成当前活动,请联系客服'
this.tipDialogShow = true
return
}
if(this.enrollStatus==1){//已报名 if(this.enrollStatus==1){//已报名
if(this.status==2){ if(this.status==2){
this.tipDialogText = '活动已结束' this.tipDialogText = '活动已结束'
...@@ -463,6 +473,11 @@ export default { ...@@ -463,6 +473,11 @@ export default {
this.$router.push({name: 'index'}) this.$router.push({name: 'index'})
}, },
selectPic() { selectPic() {
if(this.enrollStatus==2){//您已完成当前活动,请联系客服
this.tipDialogText = '您已完成当前活动,请联系客服'
this.tipDialogShow = true
return
}
if(this.enrollStatus==1){//已报名 if(this.enrollStatus==1){//已报名
if(this.status==2){ if(this.status==2){
this.tipDialogText = '活动已结束' this.tipDialogText = '活动已结束'
......
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