index.wxml 1.0 KB

123456789101112131415161718192021222324252627282930
  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}}" bind:showWindow="showWindow" id="teacherFile" bind:hideWindow="hideWindow"></teacherFile>
  7. <teacherFault wx:if="{{currPageIndex==2}}"></teacherFault>
  8. <myInfo wx:if="{{currPageIndex==3}}"></myInfo>
  9. </view>
  10. <view>
  11. <!-- 根据选项卡选择的index显示界面 -->
  12. <!-- 选项卡tab -->
  13. <tabBar bind:selectItemIndex="selectItemIndex" tabItemJson="{{tabJson}}" initTabIndex="{{0}}" canChangeIndex="{{canChangeIndex}}"></tabBar>
  14. <!-- 选项卡tab -->
  15. </view>
  16. </view>
  17. <!--文件夹弹出框-->
  18. <fileBottomPop id="popupwindow" style="position: absolute; left: 0;" bind:fileDel="fileDel" bind:hideWindow="hideWindow"></fileBottomPop>
  19. <!--文件夹弹出框-->