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 在 权限提示弹窗下面, 有办法提升层级吗, 各位大神

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