/** * 小程序全局配置 */ const mainColor = { backendColor: '#ededed', /* F8F8F8 ededed */ fontColor: '#000000' }; function setNavBackend() { return; uni.setNavigationBarColor({ frontColor: '#000000', backgroundColor: mainColor.backendColor, animation: {}, success: function (res) {}, fail: function (res) {}, complete: function (res) {} }); } module.exports = { mainColor: mainColor, setNavBackend: setNavBackend };