mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
no message
This commit is contained in:
parent
a8b798b00c
commit
add23934ca
@ -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() {
|
||||||
|
|||||||
@ -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; // 输入框未聚焦
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
@ -922,17 +922,19 @@
|
|||||||
|
|
||||||
&.completed {
|
&.completed {
|
||||||
.task-info {
|
.task-info {
|
||||||
&:before {
|
.head {
|
||||||
content: "\f373";
|
&:after {
|
||||||
font-family: Ionicons, serif;
|
content: "\f373";
|
||||||
pointer-events: none;
|
font-family: Ionicons, serif;
|
||||||
position: absolute;
|
pointer-events: none;
|
||||||
top: 0;
|
position: absolute;
|
||||||
right: 13%;
|
top: 0;
|
||||||
font-size: 72px;
|
right: 13%;
|
||||||
color: #19be6b;
|
font-size: 72px;
|
||||||
opacity: .2;
|
color: #19be6b;
|
||||||
z-index: 1;
|
opacity: .2;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user