Commit 74d7ebadac6781fc72e07ad77cce7bac0dce337d

Authored by taiyuan
1 parent 72137b2c

增加分销入口

Showing 1 changed file with 10 additions and 2 deletions
... ... @@ -20,6 +20,12 @@ App({
20 20 "src_sele": t.imghost+"/miniapp/images/bar/fl_on.png"
21 21 },
22 22 {
  23 + "weappurl": "packageA/pages/distribution/main/main",
  24 + "nav_name": "分销",
  25 + "src": t.imghost+"/miniapp/images/bar/fx.png",
  26 + "src_sele": t.imghost+"/miniapp/images/bar/fx_on.png"
  27 + },
  28 + {
23 29 "weappurl": "pages/cart/cart/cart",
24 30 "nav_name": "购物车",
25 31 "src": t.imghost+"/miniapp/images/bar/car.png",
... ... @@ -358,10 +364,12 @@ App({
358 364 if(arr.length>8){
359 365 arr.splice(0, 2);
360 366 }
361   - var arr_tabbar=["/pages/index/index/index","/pages/goods/categoryList/categoryList",
  367 + var arr_tabbar=["/pages/index/index/index",
  368 + "/pages/goods/categoryList/categoryList",
362 369 "/pages/goods/categoryList/categoryList?type=2",
363 370 "/pages/goods/categoryList/categoryList?type=1",
364   - "/pages/cart/cart/cart","/pages/user/index/index"];
  371 + "/pages/cart/cart/cart","/pages/user/index/index",
  372 + "/packageA/pages/distribution/main/main"];
365 373 if(arr_tabbar.indexOf(url)!=-1){
366 374 if(url.indexOf("categoryList?type=1")!=-1) this.globalData.cat_type=1;
367 375 if(url.indexOf("categoryList?type=2")!=-1) this.globalData.cat_type=2;
... ...