绿满眶商城微信小程序-uniapp
xiangpei
2025-06-25 df4dd9f030ac4e830d93f2f64e2379a9b7dad278
pages.json
@@ -2,8 +2,8 @@
   "easycom": {
      "autoscan": true,
      "custom": {
         "^u-(.*)": "@/components/uview-components/uview-ui/components/u-$1/u-$1.vue", //uview,
         "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp组件
         "^u-(.*)": "@/components/uview-components/uview-ui/components/u-$1/u-$1.vue" //uview,
         // "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp组件
      }
   },
   // "preloadRule": {
@@ -63,12 +63,14 @@
         }
      },
      {
         "path": "pages/tabbar/category/category",
         // "path": "pages/tabbar/category/category",
         "path": "pages/commodity-square/commoditySquare",
         "style": {
            "navigationBarTitleText": "分类",
            "navigationBarTitleText": "商品广场",
            "navigationStyle": "custom", // 隐藏系统导航栏
            "navigationBarTextStyle": "black",
            "disableScroll": true,
            // "disableScroll": true,
            "bounce": "none",
            "scrollIndicator": "none",
            "componentPlaceholder": {
@@ -132,16 +134,6 @@
            }
         }
      },
      // {
      //    "path": "components/popups/popups",
      //    "style": {
      //       "navigationBarTitleText": "",
      //       "navigationStyle": "custom",
      //       "componentPlaceholder": {
      //          "u-icon": "view"
      //       }
      //    }
      // },
      {
         "path": "components/m-buy/goods",
         "style": {
@@ -258,6 +250,21 @@
         }
      },
      {
         "path": "pages/goods-manager/updateSkus/updateSkus",
         "style": {
            "enablePullDownRefresh": true,
            "navigationBarTitleText": "调整库存",
            "componentPlaceholder": {
               "u-icon": "view",
               "u-button": "view",
               "u-form": "view",
               "u-form-item": "view",
               "u-input": "view",
               "u-popup": "view"
            }
         }
      },
      {
         "path": "pages/userPermissions/userPermissions",
         "style": {
            "navigationBarTitleText": "用户权限",
@@ -270,29 +277,31 @@
               "u-popup": "view",
               "u-search": "view",
               "u-loading": "view",
               "u-navbar": "view"
               "u-navbar": "view",
               "u-loadmore":"view"
            }
         }
      },
      {
         "path": "pages/customerManager/customerManager",
         "style": {
            "navigationBarTitleText": "客户管理",
            "componentPlaceholder": {
               "u-icon": "view",
               "u-button": "view",
               "u-form": "view",
               "u-form-item": "view",
               "u-input": "view",
               "u-popup": "view",
               "u-search": "view",
               "u-loading": "view",
               "u-checkbox": "view",
               "u-checkbox-group": "view",
               "u-navbar": "view"
            }
         }
      },
      // {
      //    "path": "pages/customerManager/customerManager",
      //    "style": {
      //       "navigationBarTitleText": "客户管理",
      //       "componentPlaceholder": {
      //          "u-icon": "view",
      //          "u-button": "view",
      //          "u-form": "view",
      //          "u-form-item": "view",
      //          "u-input": "view",
      //          "u-popup": "view",
      //          "u-search": "view",
      //          "u-loading": "view",
      //          "u-checkbox": "view",
      //          "u-checkbox-group": "view",
      //          "u-navbar": "view",
      //          "u-loadmore":"view"
      //       }
      //    }
      // },
      {
         "path": "pages/userPermissions/addStoreMember",
         "style": {
@@ -309,7 +318,9 @@
               "u-loading": "view",
               "u-checkbox": "view",
               "u-checkbox-group": "view",
               "u-navbar": "view"
               "u-navbar": "view",
               "u-loadmore":"view",
               "u-switch": "view"
            }
         }
      }
@@ -738,6 +749,7 @@
               "style": {
                  "navigationBarTitleText": "活动",
                  "enablePullDownRefresh": true, //下拉刷新
                  "navigationStyle": "custom", // 隐藏顶部导航栏
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
@@ -976,7 +988,7 @@
            },
            {
               "path" : "video-goods-detail",
               "style" :
               "style" :
               {
                  "navigationBarTitleText" : "视频推荐商品",
                  "componentPlaceholder": {
@@ -1418,7 +1430,48 @@
               }
            }
         ]
      },
      {
         "root": "pages/health",
         "pages": [{
            "path": "healthVideo",
            "style": {
               "navigationBarTitleText": "大健康",
               "navigationStyle": "custom"
            }
         }]
      },
      {
         "root": "pages/kitchen",
         "pages": [{
            "path": "KitchenVideo",
            "style": {
               "navigationBarTitleText": "厨神"
            }
         }]
      },
      {
         "root": "pages/supplier",
         "pages": [{
            "path" : "suppler-order/suppler-order",
            "style" :
            {
               "navigationBarTitleText" : ""
            }
         }]
      }
      // ,
      // {
      //    "root": "pages/commodity-square",
      //    "pages": [{
      //       "path" : "commoditySquare",
      //       "style" :
      //       {
      //          "navigationBarTitleText" : "商品广场"
      //       }
      //    }]
      // }
   ],
   "globalStyle": {
      "navigationBarTextStyle": "black",
@@ -1445,12 +1498,13 @@
            "selectedIconPath": "static/tabbar/home-s.png",
            "text": "首页"
         },
         {
            "pagePath": "pages/tabbar/category/category",
            "iconPath": "static/tabbar/category.png",
            "selectedIconPath": "static/tabbar/category-s.png",
            "text": "商城"
         },
         // {
         //    // "pagePath": "pages/tabbar/category/category",
         //    "pagePath": "pages/commodity-square/commoditySquare",
         //    "iconPath": "static/tabbar/category.png",
         //    "selectedIconPath": "static/tabbar/category-s.png",
         //    "text": "商城"
         // },
         {
            "pagePath": "pages/tabbar/video/video",
            "iconPath": "static/tabbar/video.png",
@@ -1470,11 +1524,11 @@
         }
      ]
   },
   // #todo 为什么要注释condition下代码?
   // #todo 为什么要注释condition下代码?
   // IOS plus.runtime.arguments 添加 condition节点后, 框架会修改 runtime.arguments
   // 会影响什么功能?
   //    -在h5中唤醒app会一直返回默认值 {"name":"","path":"","query":"","id":0}
   "condition": { //模式配置,仅开发期间生效
   "condition": { //模式配置,仅开发期间生效
      // "current": 0, //当前激活的模式(list 的索引项)
      // "list": [{
      //    "name": "", //模式名称
@@ -1482,4 +1536,4 @@
      //    "query": "" //启动参数,在页面的onLoad函数里面得到
      // }]
   }
}
}