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