Commit 84a665ae authored by Xuguangxing's avatar Xuguangxing

fix

parent 0d2a0c32
......@@ -72,6 +72,9 @@
height=""
:src="item.avatar"
/>
<div v-if="item.userTag && item.userTag.toLowerCase() == 'new'" class="is-new">
<cr-image width="25px" src="@/assets/images/new-user.png" />
</div>
<div v-if="item.userTag && item.userTag == '团长'" class="is-leader">
<cr-image class="crown" width="" height="" src="@/assets/images/leaderIcon.png" />
</div>
......@@ -211,6 +214,11 @@ export default {
}
.placeholder.leader {
position: relative;
.is-new {
position: absolute;
top: 0;
right: -@padding-unit + 2;
}
.is-leader {
position: absolute;
right: 4px;
......
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