Commit af4a241d by yanju

修复userCard1

parent 0f0871ca
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="user-card1"> <div class="user-card1">
<yun-avatar :userId="userId1" style="margin:40px auto 0;" :src="userAvatar" size="84px"></yun-avatar> <yun-avatar :userId="userId1" style="margin:40px auto 0;" :src="userAvatar" size="84px"></yun-avatar>
<div class="info1"> <div class="info1">
<p class="name">{{nickName}}</p> <p class="name" @click="$router.push('/u/'+userId+'/project')">{{nickName}}</p>
<yun-icon name="sex_man" size="12px" color="#00AAE6" v-if="gender===1"></yun-icon> <yun-icon name="sex_man" size="12px" color="#00AAE6" v-if="gender===1"></yun-icon>
<yun-icon name="sex_woman" size="12px" color="#F08E8E" v-if="gender===2"></yun-icon> <yun-icon name="sex_woman" size="12px" color="#F08E8E" v-if="gender===2"></yun-icon>
</div> </div>
...@@ -255,6 +255,7 @@ ...@@ -255,6 +255,7 @@
@extend %flex-row-center; @extend %flex-row-center;
margin-top: 20*$length; margin-top: 20*$length;
.name{ .name{
@extend %cursorPointer;
@include fontStyle(14,19,500,#000,center); @include fontStyle(14,19,500,#000,center);
margin-right:8*$length; margin-right:8*$length;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment