feat(遮罩层组件): ,加上了阻止触摸的事件,解决后面主页跟着滑动的问题
This commit is contained in:
parent
92dbb014fd
commit
fe87ac9010
@ -9,8 +9,9 @@
|
|||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
"
|
"
|
||||||
|
@touchmove.prevent
|
||||||
>
|
>
|
||||||
<div style="position: absolute; inset: 0; overflow-y: auto">
|
<div style="position: absolute; inset: 0; overflow-y: auto" @touchmove.stop>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user