diff --git a/public/assets/newtrain/model2_0.jpg b/public/assets/newtrain/model2_0.jpg index 0c8a9cb..b4d8848 100644 Binary files a/public/assets/newtrain/model2_0.jpg and b/public/assets/newtrain/model2_0.jpg differ diff --git a/public/assets/newtrain/model2_00.jpg b/public/assets/newtrain/model2_00.jpg new file mode 100644 index 0000000..0c8a9cb Binary files /dev/null and b/public/assets/newtrain/model2_00.jpg differ diff --git a/src/page/homepage/traininstitute/train.vue b/src/page/homepage/traininstitute/train.vue index 64221b0..40dac71 100644 --- a/src/page/homepage/traininstitute/train.vue +++ b/src/page/homepage/traininstitute/train.vue @@ -450,7 +450,7 @@
* - +
@@ -481,7 +481,8 @@ import { getTeacherList, getSwiperImages, } from '@/api/train/index.js' -import { mapGetters } from 'vuex' +import { mapGetters, mapState } from 'vuex' + import { getCodeUserLogin } from '@/api/system/login' export default { data() { @@ -524,6 +525,7 @@ export default { activeVal: 0, calltext: '', timetext: '', + inpDisable:false, teacherShow:true, userId: '', isshowSubmitDialog: false, @@ -1014,7 +1016,7 @@ export default { this.indexbanner = res.data console.log(this.indexbanner); const toggle = this.indexbanner.some(item=>{ - return item.sort == '3' + return item.classType == '3' }) this.teacherShow = toggle // console.log(toggle); @@ -1237,6 +1239,7 @@ export default { this.$message.warning(res.data.msg) this.isshowSubmitDialog = false } + this.inpDisable = false }) } else { console.log('error submit!!') @@ -1314,6 +1317,8 @@ export default { coloeDialog1() { this.$refs['formjj1'].resetFields() this.isPcshow = false + this.inpDisable = false + console.log(this.inpDisable); }, // 评测报名 pcBaoming(item) { @@ -1334,6 +1339,13 @@ export default { // this.isPcshow = true // this.classInfo = item // } + const phone = this.userinform.phonenumber + if(phone && this.token){ + this.inpDisable = true + this.formjj.mobile = phone + }else{ + this.formjj.mobile = "" + } this.isPcshow = true if (item) { this.classInfo = item diff --git a/src/page/personalpage/course/index.vue b/src/page/personalpage/course/index.vue index a908d12..7a0e58b 100644 --- a/src/page/personalpage/course/index.vue +++ b/src/page/personalpage/course/index.vue @@ -59,13 +59,6 @@ export default {