mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
perf: 优化添加任务样式
This commit is contained in:
parent
39211297e2
commit
a19ee35ca4
@ -35,8 +35,8 @@
|
|||||||
:placeholderFull="$L('详细描述...')"
|
:placeholderFull="$L('详细描述...')"
|
||||||
inline/>
|
inline/>
|
||||||
</div>
|
</div>
|
||||||
<div class="advanced-option">
|
<div class="advanced-option" :class="{'advanced-open': advanced}">
|
||||||
<Button :class="{advanced: advanced}" @click="advanced=!advanced">{{$L('高级选项')}}</Button>
|
<Button @click="advanced=!advanced">{{$L('高级选项')}}</Button>
|
||||||
<ul class="advanced-priority">
|
<ul class="advanced-priority">
|
||||||
<li v-for="(item, key) in taskPriority" :key="key">
|
<li v-for="(item, key) in taskPriority" :key="key">
|
||||||
<ETooltip :disabled="$isEEUiApp || windowTouch" :content="taskPriorityContent(item)">
|
<ETooltip :disabled="$isEEUiApp || windowTouch" :content="taskPriorityContent(item)">
|
||||||
|
|||||||
@ -94,11 +94,13 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
> button {
|
&.advanced-open {
|
||||||
transition: margin 0.2s;
|
> button {
|
||||||
&.advanced {
|
|
||||||
margin-left: 24px;
|
margin-left: 24px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
> button {
|
||||||
|
transition: margin 0.2s;
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
@ -128,6 +130,7 @@
|
|||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: margin 0.2s;
|
||||||
.ivu-icon {
|
.ivu-icon {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
@ -224,9 +227,12 @@ body.window-portrait {
|
|||||||
width: calc(100% + 8px);
|
width: calc(100% + 8px);
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
> button {
|
&.advanced-open {
|
||||||
&.advanced {
|
> button {
|
||||||
margin-left: 0;
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
.advanced-time {
|
||||||
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.advanced-priority {
|
.advanced-priority {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user