Commit c4657cb86940a12f867fb68607e0a63c87acb2b3

Authored by yvan.ni
1 parent 69c76d3c

1. 要有门店的跳转

2.  首页如果是自定义模板,就要用默认的
app.json
1 1 {
2   - "pages": [
  2 + "pages": [
3 3 "pages/index/index/index",
4 4 "pages/goods/categoryList/categoryList",
5 5 "pages/cart/cart/cart",
... ... @@ -83,9 +83,13 @@
83 83 "pages/user/assistance/assistance_success",
84 84 "pages/user/assistance/assistance",
85 85 "pages/video/index",
86   - "pages/template/index"
87   -
  86 + "pages/template/index",
  87 + "pages/store/index"
  88 +
88 89 ],
  90 +
  91 +
  92 +
89 93 "permission": {
90 94 "scope.userLocation": {
91 95 "desc": "获取你的位置信息"
... ... @@ -96,7 +100,7 @@
96 100 "navigationBarTextStyle": "black",
97 101 "navigationBarTitleText": "加载中...",
98 102 "navigationBarBackgroundColor": "#ffffff",
99   - "backgroundColor": "#eeeeee",
  103 + "backgroundColor": "#ffffff",
100 104 "enablePullDownRefresh": true
101 105 },
102 106 "tabBar": {
... ...
pages/index/index/index.js
... ... @@ -122,6 +122,10 @@ Page({
122 122 });
123 123 } else {
124 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 3 "usingComponents": {
5 4 "goods_recommend":"/components/goods_list/goods_list",
6 5 "nav": "/components/diy_nav/diy_nav",
... ...