android 绝对布局会不会覆盖,【报Bug】在安卓下,video会覆盖其他nvue组件

详细问题描述

一份相同的代码,在安卓下是video会遮挡其他组件,而在ios不会,

video使用的是绝对布局。

[内容]

重现步骤

在播放的时候安卓与ios都不会遮挡

播放以后,安卓会遮挡而ios不会

[步骤]

css布局如下

.live-player {

width: 750px;

top: 0;

bottom: 0;

position: absolute;

background-color: rgba(0, 0, 0, 0.3);

z-index: -1;

}

.live-post {

width: 750px;

position: absolute;

left: 0;

top: 0;

bottom: 0;

transition: opacity 0.5s ease-in-out;

z-index: 200;

}

.live-action-mask {

width: 750px;

left: 0;

top: 0;

bottom: 0;

padding: 20rpx 16px 0 16px;

position: absolute;

justify-content: space-between;

flex-direction: column;

z-index: 10;

}

[结果]

896546f6debcce8098bc67e3d4ac119b.png

[期望]

安卓应该和ios一样,不会遮挡其他元素。

IDE运行环境说明

HBuilderX

最新版本

uni-app运行环境说明

运行app端

安卓为自定义基座,ios为默认基座

HBuilderX创建

自定义组件

App运行环境说明

安卓最新版本

ios13

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值