|
|
@@ -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">
|
|
|
@@ -77,6 +81,7 @@
|
|
|
}],
|
|
|
scrollTop: 0,
|
|
|
oldScrollTop: 0,
|
|
|
+ userInfo: mydata_userInfo,
|
|
|
|
|
|
}
|
|
|
},
|
|
|
@@ -128,7 +133,7 @@
|
|
|
viewProject(obj, index) {
|
|
|
console.log("查看项目", obj, index);
|
|
|
this.menu[1].list[0].title = '项目' + (index + 1);
|
|
|
- this.checkMenu(this.menu[1].list[0],1);
|
|
|
+ this.checkMenu(this.menu[1].list[0], 1);
|
|
|
this.$refs.project.viewProject(obj);
|
|
|
},
|
|
|
onBackCreateInfo(){
|
|
|
@@ -396,4 +401,9 @@
|
|
|
.m_menu-item-checked .cact {
|
|
|
color: #EA252C;
|
|
|
}
|
|
|
+
|
|
|
+ .user-left-avatar img {
|
|
|
+ width: px2vw(120);
|
|
|
+ margin-top: px2vw(74);
|
|
|
+ }
|
|
|
</style>
|