no message

This commit is contained in:
kuaifan 2025-04-13 09:10:54 +08:00
parent d8872f215b
commit e1a2d90382
4 changed files with 109 additions and 83 deletions

View File

@ -43,7 +43,13 @@
<Icon type="ios-loading" class="icon-loading"></Icon> <Icon type="ios-loading" class="icon-loading"></Icon>
<div>{{$L('正在上传文件...')}}</div> <div>{{$L('正在上传文件...')}}</div>
</Spin> </Spin>
<Modal v-model="transfer" class="teditor-transfer" @on-visible-change="transferChange" footer-hide fullscreen transfer> <Modal
v-model="transfer"
class="teditor-transfer"
@on-visible-change="transferChange"
footer-hide
fullscreen
transfer>
<div slot="close"> <div slot="close">
<Button type="primary" size="small">{{$L('完成')}}</Button> <Button type="primary" size="small">{{$L('完成')}}</Button>
</div> </div>

View File

@ -1312,6 +1312,7 @@ export default {
}, },
onCancel: () => { onCancel: () => {
this.$refs.desc.updateContent(this.taskContent); this.$refs.desc.updateContent(this.taskContent);
this.$refs.desc.updateTouchContent();
} }
}); });
return; return;

View File

@ -1,95 +1,38 @@
.teditor-box, body {
.teditor-transfer { .teditor-box,
.tox { .teditor-transfer {
&.tox-silver-sink { .tox {
z-index: 13000; &.tox-silver-sink {
} z-index: 13000;
}
}
.teditor-box {
position: relative;
min-height: 22px;
.icon-inline {
color: #bbbbbb;
position: absolute;
left: 0;
top: 0;
}
textarea {
opacity: 0;
}
.tox-checklist {
padding-inline-start: 26px;
}
.tox-tinymce {
box-shadow: none;
box-sizing: border-box;
border-color: #dddee1;
border-radius: 4px;
overflow: hidden;
.tox-statusbar {
span.tox-statusbar__branding {
a {
display: none;
}
}
}
.tox-tbtn__select-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tox-tbtn--bespoke {
.tox-tbtn__select-label {
width: auto;
}
}
}
}
.teditor-transfer {
background-color: #ffffff;
.tox-toolbar {
> div:last-child {
> button:last-child {
margin-right: 64px;
} }
} }
} }
.ivu-modal-header { .teditor-box {
display: none; position: relative;
} min-height: 22px;
.ivu-modal-close { .icon-inline {
top: 7px; color: #bbbbbb;
z-index: 2; position: absolute;
} left: 0;
top: 0;
.teditor-transfer-body { }
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
textarea { textarea {
opacity: 0; opacity: 0;
} }
.tox-checklist {
padding-inline-start: 26px;
}
.tox-tinymce { .tox-tinymce {
border: 0; box-shadow: none;
box-sizing: border-box;
border-color: #dddee1;
border-radius: 4px;
overflow: hidden;
.tox-statusbar { .tox-statusbar {
span.tox-statusbar__branding { span.tox-statusbar__branding {
@ -112,6 +55,76 @@
} }
} }
} }
.teditor-transfer {
background-color: #ffffff;
.ivu-modal-wrap {
.ivu-modal {
&.ivu-modal-fullscreen {
.ivu-modal-content {
margin-top: 0;
margin-bottom: 0;
}
}
}
}
.tox-toolbar {
> div:last-child {
> button:last-child {
margin-right: 64px;
}
}
}
.ivu-modal-header {
display: none;
}
.ivu-modal-close {
top: calc(var(--status-bar-height) + 7px);
z-index: 2;
}
.teditor-transfer-body {
position: absolute;
top: var(--status-bar-height);
bottom: var(--navigation-bar-height);
left: 0;
right: 0;
padding: 0;
margin: 0;
textarea {
opacity: 0;
}
.tox-tinymce {
border: 0;
.tox-statusbar {
span.tox-statusbar__branding {
a {
display: none;
}
}
}
.tox-tbtn__select-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tox-tbtn--bespoke {
.tox-tbtn__select-label {
width: auto;
}
}
}
}
}
} }
.teditor-loadstyle { .teditor-loadstyle {

View File

@ -41,9 +41,15 @@
} }
} }
.task-info {
.scroller {
margin-bottom: 4px;
}
}
.task-dialog { .task-dialog {
padding-bottom: calc(var(--navigation-bar-height) + 20px); padding-bottom: calc(var(--navigation-bar-height) + 20px);
margin-top: 4px; margin-top: 0;
} }
} }
} }