9***@qq.com
9***@qq.com
  • 发布:2023-02-20 11:25
  • 更新:2023-02-20 11:25
  • 阅读:153

ios,固定定位 会在弹出层上边

分类:uni-app


h5,在ios中,使用u-select
弹出层会在固定定位下边,
给弹出层设置固定定位也不行

/deep/.u-mask{  
    z-index: 1073 !important;  
}  
/deep/.u-drawer-content{  
    position: fixed !important;  
    z-index: 1999;  
}

固定按钮:

.buttonBox{  
    width: 100%;  
    height: 140rpx;  
    position: fixed;  
    bottom: -6rpx;  
    left: 0;  
    background: #FFFFFF;  
    padding-top: 20rpx;  
    z-index: 9;  
    .btn{  
        width: 492rpx;  
        height: 92rpx;  
        text-align: center;  
        margin: 0 auto;  
        background: #1F77FF;  
        box-shadow: 0px 1px 12rpx #1F77FF;  
        border-radius: 8rpx;  
    }  
}
2023-02-20 11:25 负责人:无 分享
已邀请:

要回复问题请先登录注册