详细问题描述
自定义扫码控件扫码条颜色,使用rgba值,无论设置Alpha为多少都无效。
重现步骤
设置风格为
{
frameColor:'#55a4fb',
scanbarColor:'rgba(255, 0, 0, 0)',
background:'rgba(0, 0, 0, 0.2)'
}
结果是frameColor和background设置Alpha均有效,而scanbarColor无效。
运行环境
IOS 11.1.2
HBuilder 8.8.6