no message

This commit is contained in:
kuaifan 2025-04-13 12:09:18 +08:00
parent a8b798b00c
commit add23934ca
6 changed files with 29 additions and 22 deletions

View File

@ -918,6 +918,13 @@ export default {
window.scrollTo(0, 0) window.scrollTo(0, 0)
} }
}, },
keyboardShow(val) {
if (!val && this.isFocus) {
this.isFocus = false
this.quill?.blur()
}
},
}, },
methods: { methods: {
init() { init() {

View File

@ -4395,9 +4395,6 @@ export default {
} }
this.keepIntoTimer && clearTimeout(this.keepIntoTimer) this.keepIntoTimer && clearTimeout(this.keepIntoTimer)
this.keepIntoTimer = setTimeout(_ => { this.keepIntoTimer = setTimeout(_ => {
if (!this.keyboardShow) {
return true; //
}
if (!this.$refs.input?.isFocus) { if (!this.$refs.input?.isFocus) {
return true; // return true; //
} }

View File

@ -746,7 +746,7 @@ export default {
mounted() { mounted() {
this.keepInterval = setInterval(() => { this.keepInterval = setInterval(() => {
this.keepUnix = $A.dayjs().unix(); this.keepUnix = $A.dayjs().unix();
this.keepIntoInput(); this.keepIntoInput(500);
}, 1000); }, 1000);
// //
emitter.on('receiveTask', this.onReceiveShow); emitter.on('receiveTask', this.onReceiveShow);
@ -1131,6 +1131,10 @@ export default {
} }
$A.setStorage('task.dialogWidth', w); $A.setStorage('task.dialogWidth', w);
}, },
taskContent(v) {
v && this.keepIntoInput(10)
}
}, },
methods: { methods: {
@ -2143,15 +2147,12 @@ export default {
} }
}, },
keepIntoInput() { keepIntoInput(delay) {
if (!this.$isEEUiApp) { if (!this.$isEEUiApp) {
return return
} }
this.keepIntoTimer && clearTimeout(this.keepIntoTimer) this.keepIntoTimer && clearTimeout(this.keepIntoTimer)
this.keepIntoTimer = setTimeout(_ => { this.keepIntoTimer = setTimeout(_ => {
if (!this.keyboardShow) {
return true; //
}
if (!this.$refs.chatInput?.isFocus) { if (!this.$refs.chatInput?.isFocus) {
return true; // return true; //
} }
@ -2159,7 +2160,7 @@ export default {
block: 'end', block: 'end',
behavior: 'smooth' behavior: 'smooth'
}) })
}, 500) }, delay)
} }
} }
} }

View File

@ -105,7 +105,7 @@
font-size: 40px; font-size: 40px;
color: #19be6b; color: #19be6b;
opacity: .2; opacity: .2;
z-index: 1; z-index: 2;
} }
.dialog-title { .dialog-title {

View File

@ -922,7 +922,8 @@
&.completed { &.completed {
.task-info { .task-info {
&:before { .head {
&:after {
content: "\f373"; content: "\f373";
font-family: Ionicons, serif; font-family: Ionicons, serif;
pointer-events: none; pointer-events: none;
@ -932,7 +933,8 @@
font-size: 72px; font-size: 72px;
color: #19be6b; color: #19be6b;
opacity: .2; opacity: .2;
z-index: 1; z-index: 2;
}
} }
} }
} }

View File

@ -401,7 +401,7 @@
font-size: 28px; font-size: 28px;
color: #19be6b; color: #19be6b;
opacity: .2; opacity: .2;
z-index: 1; z-index: 2;
} }
.dialog-box { .dialog-box {
.dialog-text { .dialog-text {