1234567891011121314151617181920212223 |
- <view class="menu">
- <block wx:for='{{userInfo.roleType==10001?menuTeacher:menuStudent}}' wx:key='{{index}}'>
- <navigator url="/pages/{{userInfo.roleType==10001?'teacher':'student'}}/{{item.imagename}}/{{item.imagename}}">
- <view class="menu-list" style="background-image: linear-gradient(to right, {{item.left}} , {{item.right}});">
- <image class="menu-icon" src='/images/{{item.imagename}}.png'></image>
- <view class='menu-title'>{{item.title}}</view>
- </view>
- </navigator>
- </block>
- </view>
- <view class="list">
- <block wx:for='{{userInfo.roleType==10001?listTeacher:listStudent}}' wx:key='{{index}}'>
- <navigator url="/pages/{{userInfo.roleType==10001?'teacher':'student'}}/{{item.url}}/{{item.Url}}">
- <view catchtap="{{item.url?'':'check'}}" data-status="{{item.status}}" data-url="{{item.url}}" class="line">
- <view class="list-title">
- <image src='/images/{{item.nav}}.png'></image>
- <view>{{item.title}}</view>
- </view>
- <image src='/images/jiantou.png'></image>
- </view>
- </navigator>
- </block>
- </view>
|