lioe
lioe
  • 发布:2023-11-27 11:04
  • 更新:2023-11-27 14:23
  • 阅读:180

plus.nativeObj.View 无法覆盖的问题

分类:HTML5+

export function initCameraView() {
const popView = new plus.nativeObj.View('pop', {
width: '80%',
height: '100px',
backgroundColor: '#fff',
left: '10%',
top: '50px'
})
popView.drawText('相机权限使用说明', {
top: '20px',
left: '20px',
height: '20px'
}, {
size: '16px',
align: 'left',
color: '#333333'
})
popView.drawText('用于拍照、扫码等场景', {
top: '48px',
left: '20px',
height: '40px',
width: '85%'
}, {
size: '14px',
align: 'left',
verticalAlign: 'top',
color: '#333333'
})
return popView
}
代码如上, 实际效果创建的view 在 权限提示弹窗下面, 有办法提升层级吗, 各位大神

2023-11-27 11:04 负责人:无 分享
已邀请:
喜欢技术的前端

喜欢技术的前端 - QQ---445849201

这个是覆盖不了的,给你的弹框加边框阴影,让明显点

要回复问题请先登录注册