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)
}
},
keyboardShow(val) {
if (!val && this.isFocus) {
this.isFocus = false
this.quill?.blur()
}
},
},
methods: {
init() {

View File

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

View File

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

View File

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

View File

@ -922,17 +922,19 @@
&.completed {
.task-info {
&:before {
content: "\f373";
font-family: Ionicons, serif;
pointer-events: none;
position: absolute;
top: 0;
right: 13%;
font-size: 72px;
color: #19be6b;
opacity: .2;
z-index: 1;
.head {
&:after {
content: "\f373";
font-family: Ionicons, serif;
pointer-events: none;
position: absolute;
top: 0;
right: 13%;
font-size: 72px;
color: #19be6b;
opacity: .2;
z-index: 2;
}
}
}
}

View File

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