quanyawei
2024-07-04 1e71dd86f6d0c4fc7e5143600d4bc4b50992a2a7
uni_modules/uview-ui/libs/config/zIndex.js
New file
@@ -0,0 +1,20 @@
// uniapp在H5中各API的z-index值如下:
/**
 * actionsheet: 999
 * modal: 999
 * navigate: 998
 * tabbar: 998
 * toast: 999
 */
export default {
    toast: 10090,
    noNetwork: 10080,
    // popup包含popup,actionsheet,keyboard,picker的值
    popup: 10075,
    mask: 10070,
    navbar: 980,
    topTips: 975,
    sticky: 970,
    indexListSticky: 965
}