mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 03:52:50 +00:00
no msg
This commit is contained in:
parent
b3e9b1c2be
commit
8e9ba7a2d2
@ -3,8 +3,8 @@
|
|||||||
<li v-if="ready && taskDetail.parent_id > 0">
|
<li v-if="ready && taskDetail.parent_id > 0">
|
||||||
<div class="subtask-icon">
|
<div class="subtask-icon">
|
||||||
<TaskMenu
|
<TaskMenu
|
||||||
v-if="taskId > 0"
|
|
||||||
:ref="`taskMenu_${taskDetail.id}`"
|
:ref="`taskMenu_${taskDetail.id}`"
|
||||||
|
:disabled="taskId === 0"
|
||||||
:task="taskDetail"
|
:task="taskDetail"
|
||||||
:load-status="taskDetail.loading === true"
|
:load-status="taskDetail.loading === true"
|
||||||
@on-update="getLogLists"/>
|
@on-update="getLogLists"/>
|
||||||
@ -73,8 +73,8 @@
|
|||||||
<div v-show="taskDetail.id > 0" class="task-info">
|
<div v-show="taskDetail.id > 0" class="task-info">
|
||||||
<div class="head">
|
<div class="head">
|
||||||
<TaskMenu
|
<TaskMenu
|
||||||
v-if="taskId > 0"
|
|
||||||
:ref="`taskMenu_${taskDetail.id}`"
|
:ref="`taskMenu_${taskDetail.id}`"
|
||||||
|
:disabled="taskId === 0"
|
||||||
:task="taskDetail"
|
:task="taskDetail"
|
||||||
class="icon"
|
class="icon"
|
||||||
size="medium"
|
size="medium"
|
||||||
@ -123,7 +123,7 @@
|
|||||||
</ETooltip>
|
</ETooltip>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<TaskMenu
|
<TaskMenu
|
||||||
v-if="taskId > 0"
|
:disabled="taskId === 0"
|
||||||
:task="taskDetail"
|
:task="taskDetail"
|
||||||
icon="ios-more"
|
icon="ios-more"
|
||||||
completed-icon="ios-more"
|
completed-icon="ios-more"
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
<EDropdown
|
<EDropdown
|
||||||
ref="dropdown"
|
ref="dropdown"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
|
:disabled="disabled"
|
||||||
:size="size"
|
:size="size"
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
@command="dropTask"
|
@command="dropTask"
|
||||||
@ -99,6 +100,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
disabled: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
size: {
|
size: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'small'
|
default: 'small'
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
v-if="column.list.length > 0"
|
v-if="column.list.length > 0"
|
||||||
:key="index">
|
:key="index">
|
||||||
<div class="dashboard-title">{{column.title}}</div>
|
<div class="dashboard-title">{{column.title}}</div>
|
||||||
<ul class="dashboard-li">
|
<ul class="dashboard-ul">
|
||||||
<li
|
<li
|
||||||
v-for="(item, index) in column.list"
|
v-for="(item, index) in column.list"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
|||||||
26
resources/assets/sass/pages/page-dashboard.scss
vendored
26
resources/assets/sass/pages/page-dashboard.scss
vendored
@ -16,7 +16,7 @@
|
|||||||
.dashboard-desc ,
|
.dashboard-desc ,
|
||||||
.dashboard-block ,
|
.dashboard-block ,
|
||||||
.dashboard-list .dashboard-title,
|
.dashboard-list .dashboard-title,
|
||||||
.dashboard-list .dashboard-li {
|
.dashboard-list .dashboard-ul {
|
||||||
width: 660px;
|
width: 660px;
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -50,7 +50,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 0.5s ease-out 0s, box-shadow 0.3s ease-out 0s;
|
transition: transform 0.3s ease-out 0s, box-shadow 0.3s ease-out 0s;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
background-color: #6f9ef6;
|
background-color: #6f9ef6;
|
||||||
}
|
}
|
||||||
@ -106,8 +106,8 @@
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
.dashboard-li {
|
.dashboard-ul {
|
||||||
margin: 0 auto;
|
margin: 0 auto 18px;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
> li {
|
> li {
|
||||||
@ -117,8 +117,8 @@
|
|||||||
background: #F9FAFB;
|
background: #F9FAFB;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: box-shadow 0.3s,transform 0.2s;
|
transition: transform 0.3s ease-out 0s;
|
||||||
border-bottom: 1px solid #f1f2f4;
|
border-bottom: 1px solid #f1f2f3;
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: translateX(-2px);
|
transform: translateX(-2px);
|
||||||
}
|
}
|
||||||
@ -162,6 +162,9 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
padding-left: 6px;
|
padding-left: 6px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
> span {
|
> span {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
@ -254,7 +257,7 @@
|
|||||||
.dashboard-desc ,
|
.dashboard-desc ,
|
||||||
.dashboard-block ,
|
.dashboard-block ,
|
||||||
.dashboard-list .dashboard-title,
|
.dashboard-list .dashboard-title,
|
||||||
.dashboard-list .dashboard-li {
|
.dashboard-list .dashboard-ul {
|
||||||
max-width: 86%;
|
max-width: 86%;
|
||||||
}
|
}
|
||||||
.dashboard-block {
|
.dashboard-block {
|
||||||
@ -268,15 +271,8 @@
|
|||||||
.dashboard-list {
|
.dashboard-list {
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
> ul {
|
.dashboard-ul {
|
||||||
margin-bottom: 36px;
|
margin-bottom: 36px;
|
||||||
> li {
|
|
||||||
.item-title {
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user