123456789101112131415161718192021222324252627 |
- <view class='top'>
- <view class='top-bg'>
- <image src='../../images/bg.png'></image>
- </view>
- <view class='heardimg'>
- <image wx:if="{{photo}}" bindtap="updateimage" class='heard-img' src='{{photo}}'></image>
- <image wx:else catchtap='goLogin' class='heard-img' src='/images/no_login.png'></image>
- </view>
- <!-- 未登陆状态下同样显示未实名(领导说) - -! -->
- <view class='nickName'>{{viewName||'未授权'}}</view>
- <view class='top-nav'>
- <view wx:for="{{topList}}" catchtap='navigate_auth_native' data-url='{{item.url}}'>
- <image src='../../images/{{item.icon}}.png'></image>
- <text>{{item.title}}</text>
- </view>
- </view>
- </view>
- <!-- <list template="nav" templateList="{{list}}"></list> -->
- <block wx:for='{{list}}' wx:for-key='{{index}}'>
- <view class='nav' catchtap='navigate_auth' data-url='{{roleType==10001?item.teacherurl:item.studenturl}}'>
- <image class='nav-icon' src='/images/{{item.icon}}.png' mode="widthFix" />
- <view class='nav-content'>
- <text>{{item.title}}</text>
- <image src='/images/jiantou.png'></image>
- </view>
- </view>
- </block>
|