定时界面的UI配置timerConfig设置无效

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
xww
Posts: 52

openTimerPage跳转定时界面(ray框架)

xww
Posts: 52

Re: 定时界面的UI配置timerConfig设置无效

/**

  • timerConfig
  • UI配置
    */
    timerConfig: {
    background: '#131222',
    backgroundColor:'#131222'
    },定时页面UI界面无变化
智能小程序开发者
Posts: 200

Re: 定时界面的UI配置timerConfig设置无效

定时界面的跳转代码贴一下我们看看

xww
Posts: 52

Re: 定时界面的UI配置timerConfig设置无效

openTimerPage({
deviceId: devInfo.devId,
category: 'schedule',
data: [
{
dpId: '20',
dpName: ${Strings.getLang('switch')},
selected: 0,
rangeKeys: [true, false],
rangeValues: [${Strings.getLang('dps_open')}, ${Strings.getLang('dps_close')}],
},
],
timerConfig: {
background: '#131222',
backgroundColor: '#131222'
},
success: info => console.log('=== openTimerPage success', info),
fail: error => console.warn('=== openTimerPage fail', error),
});

User avatar
Muzzzhi
Posts: 82

Re: 定时界面的UI配置timerConfig设置无效

哪端没效果呢?是Android还是IOS

:geek: :ugeek: :mrgreen: :roll: :lol: :idea: :arrow: LGTM

xww
Posts: 52

Re: 定时界面的UI配置timerConfig设置无效

timerConfig: {
background: '#131222',
backgroundColor: '#131222'
},设置后,Android端,navigationBar的背景颜色会改变,但是内容区的背景颜色不会改变;ios端navigationBar的背景颜色以及内容区的背景颜色都不会改变

Post Reply