mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
perf: iOS打开键盘时看不见通知的情况
This commit is contained in:
parent
aa666a9662
commit
a142f52113
@ -3,6 +3,7 @@
|
||||
<div
|
||||
class="mobile-notification"
|
||||
:class="{show}"
|
||||
:style="notifyStyle"
|
||||
@click.stop="onClick"
|
||||
@touchstart="onTouchstart"
|
||||
@touchmove="onTouchmove">
|
||||
@ -35,6 +36,14 @@ export default {
|
||||
this.show = false;
|
||||
},
|
||||
|
||||
computed: {
|
||||
notifyStyle() {
|
||||
return {
|
||||
marginTop: this.$store.state.windowScrollY + 'px',
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
open(config) {
|
||||
if (!$A.isJson(config)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user