Skip to content

Commit

Permalink
优化样式
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Mar 31, 2022
1 parent 9364cfe commit 6371046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/assets/js/pages/manage/components/ProjectList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<UserAvatar :userid="projectData.owner_userid" :size="36" :borderWitdh="2" :openDelay="0">
<p>{{$L('项目负责人')}}</p>
</UserAvatar>
<Badge v-if="windowWidth <= 980 && projectUser.length > 0" type="normal" :count="projectData.project_user.length"/>
<Badge v-if="(windowWidth <= 980 || projectParameter('chat')) && projectUser.length > 0" type="normal" :count="projectData.project_user.length"/>
</li>
<template v-if="windowWidth > 980 && projectUser.length > 0" v-for="item in projectUser">
<template v-if="!(windowWidth <= 980 || projectParameter('chat')) && projectUser.length > 0" v-for="item in projectUser">
<li v-if="item.userid === -1" class="more">
<ETooltip :content="$L('' + (projectData.project_user.length) + '个成员')">
<Icon type="ios-more"/>
Expand Down
4 changes: 2 additions & 2 deletions resources/assets/sass/pages/components/project-dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
.member-list {
display: flex;
align-items: center;
margin-top: 14px;
margin-top: 12px;
overflow: auto;

&::-webkit-scrollbar {
Expand All @@ -52,7 +52,7 @@
> li {
position: relative;
list-style: none;
margin-right: 14px;
margin-right: 10px;
margin-bottom: 8px;
}
&.member-all {
Expand Down

0 comments on commit 6371046

Please sign in to comment.