Commit 3838517b by 陈玉桐

fix

parent 4783fdc2
......@@ -357,8 +357,17 @@ export default {
this.$router.push({name: 'index'})
},
selectPic() {
if(this.status==2){
this.tipDialogText = '活动已结束'
this.tipDialogShow = true
return
}
if(this.status==3){
this.tipDialogText = '活动暂未开始'
this.tipDialogShow = true
return
}
let me = this
if(me.enrollStatus==1){//已报名
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
......@@ -367,9 +376,6 @@ export default {
me.uploadPic = res.localIds[0] // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
}
})
}else{
this.applyDialogShow = true
}
},
inputBlur(){
var u = navigator.userAgent, app = navigator.appVersion
......
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