Commit c4657cb86940a12f867fb68607e0a63c87acb2b3
1 parent
69c76d3c
1. 要有门店的跳转
2. 首页如果是自定义模板,就要用默认的
Showing
3 changed files
with
13 additions
and
6 deletions
app.json
1 | { | 1 | { |
2 | - "pages": [ | 2 | + "pages": [ |
3 | "pages/index/index/index", | 3 | "pages/index/index/index", |
4 | "pages/goods/categoryList/categoryList", | 4 | "pages/goods/categoryList/categoryList", |
5 | "pages/cart/cart/cart", | 5 | "pages/cart/cart/cart", |
@@ -83,9 +83,13 @@ | @@ -83,9 +83,13 @@ | ||
83 | "pages/user/assistance/assistance_success", | 83 | "pages/user/assistance/assistance_success", |
84 | "pages/user/assistance/assistance", | 84 | "pages/user/assistance/assistance", |
85 | "pages/video/index", | 85 | "pages/video/index", |
86 | - "pages/template/index" | ||
87 | - | 86 | + "pages/template/index", |
87 | + "pages/store/index" | ||
88 | + | ||
88 | ], | 89 | ], |
90 | + | ||
91 | + | ||
92 | + | ||
89 | "permission": { | 93 | "permission": { |
90 | "scope.userLocation": { | 94 | "scope.userLocation": { |
91 | "desc": "获取你的位置信息" | 95 | "desc": "获取你的位置信息" |
@@ -96,7 +100,7 @@ | @@ -96,7 +100,7 @@ | ||
96 | "navigationBarTextStyle": "black", | 100 | "navigationBarTextStyle": "black", |
97 | "navigationBarTitleText": "加载中...", | 101 | "navigationBarTitleText": "加载中...", |
98 | "navigationBarBackgroundColor": "#ffffff", | 102 | "navigationBarBackgroundColor": "#ffffff", |
99 | - "backgroundColor": "#eeeeee", | 103 | + "backgroundColor": "#ffffff", |
100 | "enablePullDownRefresh": true | 104 | "enablePullDownRefresh": true |
101 | }, | 105 | }, |
102 | "tabBar": { | 106 | "tabBar": { |
pages/index/index/index.js
@@ -122,6 +122,10 @@ Page({ | @@ -122,6 +122,10 @@ Page({ | ||
122 | }); | 122 | }); |
123 | } else { | 123 | } else { |
124 | await this.init_fir(); | 124 | await this.init_fir(); |
125 | + wx.setNavigationBarColor({ | ||
126 | + frontColor: '#ffffff', // 必写项 | ||
127 | + backgroundColor: '#ff7295', // 必写项 | ||
128 | + }) | ||
125 | } | 129 | } |
126 | 130 | ||
127 | //--正再拼团中的处理-- | 131 | //--正再拼团中的处理-- |
pages/index/index/index.json
1 | { | 1 | { |
2 | - "navigationBarBackgroundColor": "#ff7295", | ||
3 | - "navigationBarTextStyle": "white", | 2 | + |
4 | "usingComponents": { | 3 | "usingComponents": { |
5 | "goods_recommend":"/components/goods_list/goods_list", | 4 | "goods_recommend":"/components/goods_list/goods_list", |
6 | "nav": "/components/diy_nav/diy_nav", | 5 | "nav": "/components/diy_nav/diy_nav", |