diff --git a/App.vue b/App.vue index c730b223..c80c806b 100644 --- a/App.vue +++ b/App.vue @@ -2859,11 +2859,10 @@ // 设置导航背景色和颜色 set_navigation_bar_color(is_white = null) { - var color = '#000'; - var bg_color = '#fff'; + var color = '#000000'; + var bg_color = '#ffffff'; var arr = [ 'pages/index/index', - 'pages/diy/diy', ]; var page = this.current_page(false); if(is_white === true || (is_white === null && arr.indexOf(page) != -1)) { diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 4cd7f9fe..07ed9760 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -285,7 +285,7 @@ }); // 设置顶部导航的默认颜色 - app.globalData.set_navigation_bar_color(parseInt(this.propValue.header.com_data.style.function_buttons_type || 0) == 1); + app.globalData.set_navigation_bar_color(parseInt(this.propValue.header.com_data.style.function_buttons_type) == 1); // 缓存数据 uni.setStorageSync(this.cache_key + this.tabs_home_id, this.propValue.diy_data); diff --git a/components/diy/float-window.vue b/components/diy/float-window.vue index 271b8c65..2bf18773 100644 --- a/components/diy/float-window.vue +++ b/components/diy/float-window.vue @@ -1,12 +1,17 @@