HomeDocs
跳到主要内容

dlt.setNavigationBarBackgroundColor

简介​

设置导航栏背景颜色

参数​

Object object​

属性类型默认值必填描述
colorstring否仅支持 #000000、#ffffff 格式数据
successfunction否接口调用成功的回调函数
failfunction否接口调用失败的回调函数
completefunction否接口调用结束的回调函数(调用成功、失败都会执行)

示例代码​

dlt.setNavigationBarBackgroundColor({
color: '#000000',
});
Privacy agreementDeveloper agreementcontact us: developer_private.mi@dlightek.com © 2024 MiniApp. All Rights Reserved.