perf: 取消置顶标签

This commit is contained in:
kuaifan 2022-06-16 23:32:38 +08:00
parent bacbf2e3cb
commit 4c163a8092
5 changed files with 0 additions and 35 deletions

View File

@ -36,7 +36,6 @@
</template>
<h2>{{dialogData.name}}</h2>
<em v-if="peopleNum > 0">({{peopleNum}})</em>
<label v-if="dialogData.top_at" class="top-text">{{$L('置顶')}}</label>
</div>
<template v-if="dialogData.type === 'group'">
<div v-if="dialogData.group_type === 'project'" class="sub-title pointer" @click="openProject">

View File

@ -7,7 +7,6 @@
<i class="taskfont">&#xe72d;</i>
</div>
<h1>{{projectData.name}}</h1>
<label v-if="projectData.top_at" class="top-text">{{$L('置顶')}}</label>
<div v-if="loading" class="project-load"><Loading/></div>
</div>
<ul class="project-icons">

View File

@ -86,11 +86,6 @@ body.dark-mode-reverse {
.project-panel {
.project-titbox {
.project-title {
.top-text {
color: #000000;
}
}
.project-icons {
> li {
&.project-icon {
@ -159,9 +154,6 @@ body.dark-mode-reverse {
> h2 {
color: #555;
}
.top-text {
color: #000000;
}
}
}
}

View File

@ -143,19 +143,6 @@
font-weight: 500;
padding-left: 6px;
}
.top-text {
flex-shrink: 0;
height: 24px;
line-height: 24px;
padding: 0 6px;
border-radius: 4px;
margin-left: 10px;
background-color: $primary-color;
color: #FFFFFF;
text-align: center;
white-space: nowrap;
}
}
.sub-title {

View File

@ -26,18 +26,6 @@
height: 22px;
}
}
.top-text {
height: 24px;
line-height: 24px;
border-radius:4px;
padding: 0 6px;
margin-top: 3px;
margin-left: 10px;
background-color: $primary-color;
color:#FFFFFF;
text-align: center;
white-space: nowrap;
}
}
.project-icons {
float: right;