mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-02 19:08:12 +00:00
perf: 优化显示
This commit is contained in:
parent
dce48bd0cb
commit
b976f294f9
@ -117,7 +117,7 @@ class ComplaintController extends AbstractController
|
|||||||
'type' => 'content',
|
'type' => 'content',
|
||||||
'title' => '收到新的举报信息',
|
'title' => '收到新的举报信息',
|
||||||
'content' => "收到新的举报信息:{$reason} (请前往应用查看详情)"
|
'content' => "收到新的举报信息:{$reason} (请前往应用查看详情)"
|
||||||
], $botUser->userid); // todo 未能在任务end事件来发送任务
|
], $botUser->userid);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//
|
//
|
||||||
|
|||||||
@ -501,7 +501,7 @@
|
|||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-wrapper-forward-footer" :class="{selected: !forwardSource}" @click="forwardSource = !forwardSource">
|
<div class="dialog-wrapper-forward-footer" :class="{selected: !forwardSource}" @click="forwardSource = !forwardSource">
|
||||||
<Icon class="user-modal-icon" :type="forwardSource ? 'ios-radio-button-off' : 'ios-checkmark-circle'" />
|
<Icon class="user-modal-icon" :type="forwardSource ? 'ios-radio-button-off' : 'ios-checkmark-circle'" />
|
||||||
{{$L('不显示原发送者信息')}}
|
<span class="forward-text-tip">{{$L('不显示原发送者信息')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<Button type="primary" :loading="forwardLoad > 0" @click="onForwardAffirm">
|
<Button type="primary" :loading="forwardLoad > 0" @click="onForwardAffirm">
|
||||||
{{$L('确定')}}
|
{{$L('确定')}}
|
||||||
|
|||||||
@ -80,9 +80,27 @@
|
|||||||
<p v-if="taskDetail.id"><span>{{taskDetail.id}}</span></p>
|
<p v-if="taskDetail.id"><span>{{taskDetail.id}}</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="function">
|
<div class="function">
|
||||||
|
<ETooltip v-if="$Electron" :disabled="$isEEUiApp || windowTouch" :content="$L('新窗口打开')">
|
||||||
|
<i class="taskfont open" @click="openNewWin"></i>
|
||||||
|
</ETooltip>
|
||||||
|
<div class="menu">
|
||||||
|
<TaskMenu
|
||||||
|
:disabled="taskId === 0"
|
||||||
|
:task="taskDetail"
|
||||||
|
icon="ios-more"
|
||||||
|
completed-icon="ios-more"
|
||||||
|
size="medium"
|
||||||
|
:color-show="false"
|
||||||
|
@on-update="getLogLists"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Scrollbar ref="scroller" class="scroller">
|
||||||
|
<Alert v-if="getOwner.length === 0" class="receive-box" type="warning">
|
||||||
|
<span class="receive-text">{{$L('该任务尚未被领取,点击这里')}}</span>
|
||||||
<EPopover
|
<EPopover
|
||||||
v-if="getOwner.length === 0"
|
|
||||||
v-model="receiveShow"
|
v-model="receiveShow"
|
||||||
|
class="receive-button"
|
||||||
placement="bottom">
|
placement="bottom">
|
||||||
<div class="task-detail-receive">
|
<div class="task-detail-receive">
|
||||||
<div class="receive-title">
|
<div class="receive-title">
|
||||||
@ -101,28 +119,13 @@
|
|||||||
@on-change="taskTimeChange"/>
|
@on-change="taskTimeChange"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="receive-bottom">
|
<div class="receive-bottom">
|
||||||
<Button size="small" type="text" @click="receiveShow=false">取消</Button>
|
<Button size="small" type="text" @click="receiveShow=false">{{$L('取消')}}</Button>
|
||||||
<Button :loading="ownerLoad > 0" size="small" type="primary" @click="onOwner(true)">确定</Button>
|
<Button :loading="ownerLoad > 0" size="small" type="primary" @click="onOwner(true)">{{$L('确定')}}</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Button slot="reference" :loading="ownerLoad > 0" class="pick" type="primary">{{$L('我要领取任务')}}</Button>
|
<Button slot="reference" :loading="ownerLoad > 0" size="small" type="primary">{{$L('领取任务')}}</Button>
|
||||||
</EPopover>
|
</EPopover>
|
||||||
<ETooltip v-if="$Electron" :disabled="$isEEUiApp || windowTouch" :content="$L('新窗口打开')">
|
</Alert>
|
||||||
<i class="taskfont open" @click="openNewWin"></i>
|
|
||||||
</ETooltip>
|
|
||||||
<div class="menu">
|
|
||||||
<TaskMenu
|
|
||||||
:disabled="taskId === 0"
|
|
||||||
:task="taskDetail"
|
|
||||||
icon="ios-more"
|
|
||||||
completed-icon="ios-more"
|
|
||||||
size="medium"
|
|
||||||
:color-show="false"
|
|
||||||
@on-update="getLogLists"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<Scrollbar ref="scroller" class="scroller">
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<Input
|
<Input
|
||||||
v-model="taskDetail.name"
|
v-model="taskDetail.name"
|
||||||
|
|||||||
@ -49,6 +49,16 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
|
.user-modal-close,
|
||||||
|
.user-modal-title,
|
||||||
|
.user-modal-submit {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.user-modal-close {
|
.user-modal-close {
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
@ -60,10 +70,8 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 100px;
|
left: 100px;
|
||||||
right: 100px;
|
right: 100px;
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
> span {
|
> span {
|
||||||
|
text-align: center;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: $primary-title-color;
|
color: $primary-title-color;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -75,8 +83,6 @@
|
|||||||
.user-modal-submit {
|
.user-modal-submit {
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.submit-loading {
|
.submit-loading {
|
||||||
width: 14px;
|
width: 14px;
|
||||||
|
|||||||
@ -2099,6 +2099,8 @@ body:not(.window-touch) {
|
|||||||
gap: 20px;
|
gap: 20px;
|
||||||
|
|
||||||
.dialog-wrapper-forward-footer {
|
.dialog-wrapper-forward-footer {
|
||||||
|
flex: 1;
|
||||||
|
width: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -2111,6 +2113,12 @@ body:not(.window-touch) {
|
|||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.forward-text-tip {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
.user-modal-icon {
|
.user-modal-icon {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
|
|||||||
@ -149,12 +149,36 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 320px) {
|
||||||
|
.nav {
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.function {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.scroller {
|
.scroller {
|
||||||
margin-right: -5px;
|
margin-right: -5px;
|
||||||
.scrollbar-content {
|
.scrollbar-content {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
.receive-box {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 18px;
|
||||||
|
padding: 8px 16px;
|
||||||
|
line-height: 18px;
|
||||||
|
.receive-text {
|
||||||
|
padding-right: 8px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.receive-button {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 4px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
.title {
|
.title {
|
||||||
margin-top: 18px;
|
margin-top: 18px;
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user