You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
898 B

<template>
<view class="main">
<!-- 考场模拟 之前的版本可以删除了-->
<!-- <coachIdentity v-if="identity=='实操教练'"/> -->
<!-- 预约记录 -->
<simulation v-if="identity=='考场模拟教练'"/>
<!-- 学员评价 -->
<studentComment v-if="identity=='模拟器老师'" ref="studentCommentRef"/>
</view>
</template>
<script>
import coachIdentity from './comp/coach.vue'
import simulation from './comp/simulation.vue'
import studentComment from './comp/studentComment.vue'
export default {
components: { coachIdentity,simulation, studentComment },
data() {
return {
}
},
onShow() {
uni.hideTabBar();
},
onPullDownRefresh() {
this.$refs.studentCommentRef.initList()
},
onReachBottom() {
if(identity=='模拟器老师') {
this.$refs.studentCommentRef.loadMore()
}
},
}
</script>
<style lang="scss" scoped>
</style>