|
|
@ -841,7 +841,10 @@ |
|
|
|
// 评测班弹窗 |
|
|
|
// 评测班弹窗 |
|
|
|
tips: '', |
|
|
|
tips: '', |
|
|
|
isPCshow: false, |
|
|
|
isPCshow: false, |
|
|
|
classInfo: {}, |
|
|
|
classInfo: { |
|
|
|
|
|
|
|
classId:"", |
|
|
|
|
|
|
|
classType:"" |
|
|
|
|
|
|
|
}, |
|
|
|
jjrules: { |
|
|
|
jjrules: { |
|
|
|
studentName: [{ |
|
|
|
studentName: [{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
@ -1008,9 +1011,13 @@ |
|
|
|
getSwiperImages(){ |
|
|
|
getSwiperImages(){ |
|
|
|
this.http.quickGet(`/train/banners?type=app`).then(res => { |
|
|
|
this.http.quickGet(`/train/banners?type=app`).then(res => { |
|
|
|
this.swipelist = res.data.data.map(item=>{ |
|
|
|
this.swipelist = res.data.data.map(item=>{ |
|
|
|
|
|
|
|
console.log(item); |
|
|
|
return { |
|
|
|
return { |
|
|
|
'classType':item.classType, |
|
|
|
'classType':item.classType, |
|
|
|
'image':this.http.baseUrl + item.filePath |
|
|
|
'image':this.http.baseUrl + item.filePath, |
|
|
|
|
|
|
|
'classId':item.entityId, |
|
|
|
|
|
|
|
'classType':item.classType, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
console.log(this.swipelist); |
|
|
|
console.log(this.swipelist); |
|
|
@ -1018,6 +1025,7 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
bgClick(e) { |
|
|
|
bgClick(e) { |
|
|
|
const type = this.swipelist[e].classType |
|
|
|
const type = this.swipelist[e].classType |
|
|
|
|
|
|
|
const item = this.swipelist[e] |
|
|
|
console.log(e); |
|
|
|
console.log(e); |
|
|
|
console.log(this.swipelist); |
|
|
|
console.log(this.swipelist); |
|
|
|
console.log(type); |
|
|
|
console.log(type); |
|
|
@ -1029,6 +1037,16 @@ |
|
|
|
url: '/pages/index/testtraining/teacherDetail' |
|
|
|
url: '/pages/index/testtraining/teacherDetail' |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(type == 1){ |
|
|
|
|
|
|
|
this.classInfo.classId = item.entityId |
|
|
|
|
|
|
|
this.classInfo.classType = item.classType |
|
|
|
|
|
|
|
this.jjOpen() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(type == 2){ |
|
|
|
|
|
|
|
this.classInfo.classId = item.entityId |
|
|
|
|
|
|
|
this.classInfo.classType = item.classType |
|
|
|
|
|
|
|
this.jjOpen() |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onKeyboardHeightChange(res) { |
|
|
|
onKeyboardHeightChange(res) { |
|
|
|
const { |
|
|
|
const { |
|
|
@ -1210,8 +1228,10 @@ |
|
|
|
// this.isPCshow = true |
|
|
|
// this.isPCshow = true |
|
|
|
// this.classInfo = it |
|
|
|
// this.classInfo = it |
|
|
|
// } |
|
|
|
// } |
|
|
|
this.isPCshow = true |
|
|
|
if(it){ |
|
|
|
this.classInfo = it |
|
|
|
this.classInfo = it |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.isPCshow = true |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 新报名提交 |
|
|
|
// 新报名提交 |
|
|
|
jjbaoming() { |
|
|
|
jjbaoming() { |
|
|
|