江西小程序管理端
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.

38 lines
858 B

1 year ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
12 months ago
1 year ago
1 year ago
  1. <template>
  2. <view class="main">
  3. <!-- 考场模拟 -->
  4. <coachIdentity v-if="identity=='实操教练'"/>
  5. <!-- 预约记录 -->
  6. <simulation v-if="identity=='考场模拟教练'"/>
  7. <!-- 学员评价 -->
  8. <studentComment v-if="identity=='模拟器老师'" ref="studentCommentRef"/>
  9. </view>
  10. </template>
  11. <script>
  12. import coachIdentity from './comp/coach.vue'
  13. import simulation from './comp/simulation.vue'
  14. import studentComment from './comp/studentComment.vue'
  15. export default {
  16. components: { coachIdentity,simulation, studentComment },
  17. data() {
  18. return {
  19. }
  20. },
  21. onShow() {
  22. uni.hideTabBar();
  23. },
  24. onPullDownRefresh() {
  25. this.$refs.studentCommentRef.initList()
  26. },
  27. onReachBottom() {
  28. if(identity=='模拟器老师') {
  29. this.$refs.studentCommentRef.loadMore()
  30. }
  31. },
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. </style>