Commit a55bb750 by 陈玉桐

fix

parent 3cfec564
...@@ -248,8 +248,8 @@ export default { ...@@ -248,8 +248,8 @@ export default {
// pic.style.height = '266px' // pic.style.height = '266px'
// } // }
else if(deviceW >= 393 && deviceH >= 667){ else if(deviceW >= 393 && deviceH >= 667){
pic.style.width = '266px' pic.style.width = '230px'
pic.style.height = '266px' pic.style.height = '230px'
} }
}) })
...@@ -279,6 +279,7 @@ export default { ...@@ -279,6 +279,7 @@ export default {
methods: { methods: {
create() { create() {
// 使input失去焦点 // 使input失去焦点
this.loadingShow = true
document.getElementById("currentDayInput").blur() document.getElementById("currentDayInput").blur()
if(this.enrollStatus==1){//已报名 if(this.enrollStatus==1){//已报名
if(this.status==2){ if(this.status==2){
...@@ -301,16 +302,19 @@ export default { ...@@ -301,16 +302,19 @@ export default {
this.tipDialogShow = true this.tipDialogShow = true
return return
} }
// document.documentElement.scrollTop = document.body.scrollTop = 0 document.documentElement.scrollTop = document.body.scrollTop = 0
// html2canvas(document.getElementById('posterOut'), { html2canvas(document.getElementById('posterOut'), {
// useCORS: true, useCORS: true,
// backgroundColor:null, backgroundColor:null,
// allowTaint: false allowTaint: false
// }).then(canvas => { }).then(canvas => {
// this.posterUrl = canvas.toDataURL('image/png') this.posterUrl = canvas.toDataURL('image/png')
// this.showPoster = true setTimeout(function(){
// this.createDialogShow = true this.loadingShow = false
// }) this.showPoster = true
this.createDialogShow = true
},300)
})
}else{ }else{
this.applyDialogShow = true this.applyDialogShow = true
} }
......
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