|
|
@@ -3,9 +3,13 @@
|
|
|
<view class="m_left">
|
|
|
<view class="m_hander">
|
|
|
<view class="m_teacher">
|
|
|
- <image src="../../assets/login/loginPic2.png" class="m_head_portrait"></image>
|
|
|
- <view class="m_teacher_name" v-text="name"></view>
|
|
|
- <view class="m_teacher_position" v-text="position"></view>
|
|
|
+
|
|
|
+ <view class="user-left-avatar df">
|
|
|
+ <img :src="userInfo.avatarSrc"></img>
|
|
|
+ </view>
|
|
|
+ <!-- <image src="../../assets/login/loginPic2.png" class="m_head_portrait"></image> -->
|
|
|
+ <view class="m_teacher_name" v-text="userInfo.Name+userInfo.role"></view>
|
|
|
+ <view class="m_teacher_position" v-text="userInfo.Position"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="m_menu">
|
|
|
@@ -75,6 +79,7 @@
|
|
|
}],
|
|
|
scrollTop: 0,
|
|
|
oldScrollTop: 0,
|
|
|
+ userInfo: mydata_userInfo,
|
|
|
|
|
|
}
|
|
|
},
|
|
|
@@ -390,4 +395,8 @@
|
|
|
.m_menu-item-checked .cact {
|
|
|
color: #EA252C;
|
|
|
}
|
|
|
+ .user-left-avatar img {
|
|
|
+ width: px2vw(120);
|
|
|
+ margin-top: px2vw(74);
|
|
|
+ }
|
|
|
</style>
|