mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 12:42:51 +00:00
no message
This commit is contained in:
parent
acac93bbd1
commit
534ed6ae6c
@ -15,10 +15,11 @@
|
|||||||
<UserAvatar :userid="projectData.owner_userid" :size="36" :borderWitdh="2" :openDelay="0">
|
<UserAvatar :userid="projectData.owner_userid" :size="36" :borderWitdh="2" :openDelay="0">
|
||||||
<p>{{$L('项目负责人')}}</p>
|
<p>{{$L('项目负责人')}}</p>
|
||||||
</UserAvatar>
|
</UserAvatar>
|
||||||
|
<Badge v-if="windowWidth <= 980 && projectUser.length > 0" type="normal" :count="projectData.project_user.length"/>
|
||||||
</li>
|
</li>
|
||||||
<template v-if="windowWidth > 980 && projectUser.length > 0" v-for="item in projectUser">
|
<template v-if="windowWidth > 980 && projectUser.length > 0" v-for="item in projectUser">
|
||||||
<li v-if="item.userid === -1" class="more">
|
<li v-if="item.userid === -1" class="more">
|
||||||
<ETooltip :content="$L('共' + (item.count + 1) + '个成员')">
|
<ETooltip :content="$L('共' + (projectData.project_user.length) + '个成员')">
|
||||||
<Icon type="ios-more"/>
|
<Icon type="ios-more"/>
|
||||||
</ETooltip>
|
</ETooltip>
|
||||||
</li>
|
</li>
|
||||||
@ -636,10 +637,7 @@ export default {
|
|||||||
return list
|
return list
|
||||||
}
|
}
|
||||||
let array = list.slice(0, max - 1);
|
let array = list.slice(0, max - 1);
|
||||||
array.push({
|
array.push({userid: -1})
|
||||||
userid: -1,
|
|
||||||
count: list.length
|
|
||||||
})
|
|
||||||
array.push(list[list.length - 1])
|
array.push(list[list.length - 1])
|
||||||
return array;
|
return array;
|
||||||
},
|
},
|
||||||
|
|||||||
@ -74,6 +74,12 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
margin-left: -6px;
|
margin-left: -6px;
|
||||||
transition: transform 0.2s;
|
transition: transform 0.2s;
|
||||||
|
.ivu-badge {
|
||||||
|
position: absolute;
|
||||||
|
top: -5px;
|
||||||
|
left: 23px;
|
||||||
|
transform: scale(0.8);
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user