index.wxml 730 B

123456789101112131415
  1. <!--pages/teacher/index/index.wxml-->
  2. <view class="container">
  3. <!-- 根据选项卡选择的index显示界面 -->
  4. <view style="width: 100%; height: 100%;">
  5. <teacherMonitor wx:if="{{currPageIndex==0}}" bind:canChangeIndex="canChangeIndex"></teacherMonitor>
  6. <teacherFile wx:if="{{currPageIndex==1}}"></teacherFile>
  7. <teacherFault wx:if="{{currPageIndex==2}}"></teacherFault>
  8. <myInfo wx:if="{{currPageIndex==3}}"></myInfo>
  9. </view>
  10. <!-- 根据选项卡选择的index显示界面 -->
  11. <!-- 选项卡tab -->
  12. <tabBar bind:selectItemIndex="selectItemIndex" tabItemJson="{{tabJson}}" initTabIndex="{{0}}" canChangeIndex="{{canChangeIndex}}"></tabBar>
  13. <!-- 选项卡tab -->
  14. </view>