xujing 5 years ago
parent
commit
f3967fe90c

+ 4
- 2
src/app.js View File

@@ -66,14 +66,16 @@ class App extends Component {
66 66
     `,
67 67
     window: {
68 68
       backgroundTextStyle: 'light',
69
+      // navigationBarBackgroundColor: '#E31F05',
69 70
       navigationBarBackgroundColor: '#BB9C79',
70 71
       navigationBarTitleText: '',
71 72
       navigationBarTextStyle: 'white',
72
-      // navigationStyle:'custom'
73
+
73 74
     },
74 75
     tabBar: {
75 76
       color: '#666',
76
-      selectedColor: '#BB9C79',
77
+      selectedColor: '#E6380C',
78
+      // selectedColor: '#BB9C79',
77 79
 
78 80
       list: [
79 81
         {

BIN
src/assets/tabbar/activity1.png View File


BIN
src/assets/tabbar/activity2.png View File


BIN
src/assets/tabbar/index1.png View File


BIN
src/assets/tabbar/index2.png View File


BIN
src/assets/tabbar/mine1.png View File


BIN
src/assets/tabbar/mine2.png View File


BIN
src/assets/tabbar/shop1.png View File


BIN
src/assets/tabbar/shop2.png View File


+ 9
- 0
src/pages/project/index.js View File

@@ -54,6 +54,15 @@ export default class Index extends Component {
54 54
 
55 55
   componentWillMount() {
56 56
 
57
+
58
+    wx.setNavigationBarColor({
59
+      frontColor: '#ffffff',
60
+      backgroundColor: '#E31F05',
61
+      animation: {
62
+        duration: 400,
63
+        timingFunc: 'easeIn'
64
+      }
65
+    })
57 66
     Taro.hideTabBar()
58 67
 
59 68
     ready.queue(() => {