Vux: popup的zIndex可以变,但是如何改变mask的zIndex

Created on 23 Sep 2017  ·  4Comments  ·  Source: airyland/vux

一个页面有两个popup,一个弹出来时需要漏出标题,一个弹出时则要遮住标题,popup-style只能改变popup的zIndex,mask的zIndex不会跟着涨。
"vuex": "^2.4.0"

componenpopup

Most helpful comment

所有popup共享一个mask倒是没什么问题。不过如果弹出新的popup的时候设置了zIndex,mask的zIndex能跟跟着popup的zIndex减1,感觉能更灵活点。

All 4 comments

你的标题指的是什么?
最好给个示意图

目前 mask 是共享模式,听起来你是想一个 popup 带一个 mask 遮住已经弹出来的 popup

所有popup共享一个mask倒是没什么问题。不过如果弹出新的popup的时候设置了zIndex,mask的zIndex能跟跟着popup的zIndex减1,感觉能更灵活点。

怎么解决???popup嵌套popup mack盖住某一个popup 能解决吗

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prettybot picture prettybot  ·  3Comments

hezhiwen940420 picture hezhiwen940420  ·  4Comments

GloriaCHL picture GloriaCHL  ·  4Comments

wonghoman picture wonghoman  ·  4Comments

iqiuye picture iqiuye  ·  4Comments