绿满眶商城微信小程序-uniapp
peng
12 小时以前 a6c950ba797dffec842cf7e923fc439868645766
pages.json
@@ -2,20 +2,20 @@
   "easycom": {
      "autoscan": true,
      "custom": {
         "^u-(.*)": "@/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": {
      "pages/tabbar/index/home": // 页面路径
      // 页面的预下载配置
      {
         "network": "all", // all(不限网络) wifi(仅wifi下预下载)
         "packages": [
            "uview-components"
         ] // 预下载分包的 root 或 name。__APP__ 表示主包
      }
   },
   // "preloadRule": {
   //    "pages/tabbar/index/home": // 页面路径
   //    // 页面的预下载配置
   //    {
   //       "network": "all", // all(不限网络) wifi(仅wifi下预下载)
   //       "packages": [
   //          "components/uview-components"
   //       ] // 预下载分包的 root 或 name。__APP__ 表示主包
   //    }
   // },
   "pages": [
      // 第一个就是首页
      {
@@ -26,12 +26,6 @@
            "navigationStyle": "custom" // 隐藏顶部导航栏
         }
      },
      // {
      //    "path": "pages/tabbar/index/home1",
      //    "style": {
      //       "navigationBarTitleText": ""
      //    }
      // },
      {
         "path": "pages/tabbar/home/index",
         "style": {
@@ -69,12 +63,14 @@
         }
      },
      {
         "path": "pages/tabbar/category/category",
         // "path": "pages/tabbar/category/category",
         "path": "pages/commodity-square/commoditySquare",
         "style": {
            "navigationBarTitleText": "分类",
            "navigationStyle": "custom", // 隐藏系统导航栏
            "navigationBarTitleText": "商品广场",
            // "navigationStyle": "custom", // 隐藏系统导航栏
            "navigationBarTextStyle": "black",
            "disableScroll": true,
            // "disableScroll": true,
            "bounce": "none",
            "scrollIndicator": "none",
            "componentPlaceholder": {
@@ -254,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": "用户权限",
@@ -315,19 +326,19 @@
      }
   ],
   "subPackages": [
      {
         "root": "uview-components", // 必须与preloadRule中的名称完全一致
         "name": "uview-components",
         "pages": [
            {
               "path": "pages/empty-page/empty-page",
               "style": {
                  "navigationBarTitleText": "",
                  "disableScroll": true
               }
            }
         ]
      },
      // {
      //    "root": "components/uview-components", // 必须与preloadRule中的名称完全一致
      //    "name": "uview-components",
      //    "pages": [
      //       {
      //          "path": "pages/empty-page/empty-page",
      //          "style": {
      //             "navigationBarTitleText": "",
      //             "disableScroll": true
      //          }
      //       }
      //    ]
      // },
      {
         "root": "pages/mine",
         "pages": [
@@ -492,7 +503,12 @@
               "path": "address/address",
               "style": {
                  "enablePullDownRefresh": true,
                  "navigationBarTitleText": "地址管理"
                  "navigationBarTitleText": "地址管理",
                  "componentPlaceholder": {
                     "u-empty": "view",
                     "u-icon": "view",
                     "u-action-sheet": "view"
                  }
               }
            },
            {
@@ -968,6 +984,16 @@
               "style": {
                  "navigationBarTitleText": "视频编辑"
               }
            },
            {
               "path" : "video-goods-detail",
               "style" :
               {
                  "navigationBarTitleText" : "视频推荐商品",
                  "componentPlaceholder": {
                     "u-button": "view"
                  }
               }
            }
         ]
      },
@@ -1237,6 +1263,17 @@
               }
            },
            {
               "path": "invoice/setInvoice",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-popup": "view",
                     "u-input": "view"
                  }
               }
            },
            {
               "path": "complain/complainList",
               "style": {
                  "navigationBarTitleText": "投诉列表",
@@ -1379,11 +1416,49 @@
            {
               "path": "fillorder",
               "style": {
                  "navigationBarTitleText": "填写订单"
                  "navigationBarTitleText": "填写订单",
                  "componentPlaceholder": {
                     "u-image": "view",
                     "u-row": "view",
                     "u-col": "view",
                     "u-input": "view",
                     "u-icon": "view",
                     "u-select": "view",
                     "u-notice-bar": "view"
                  }
               }
            }
         ]
      },
      {
         "root": "pages/health",
         "pages": [{
            "path": "healthVideo",
            "style": {
               "navigationBarTitleText": "大健康"
            }
         }]
      },
      {
         "root": "pages/kitchen",
         "pages": [{
            "path": "KitchenVideo",
            "style": {
               "navigationBarTitleText": "厨神"
            }
         }]
      }
      // ,
      // {
      //    "root": "pages/commodity-square",
      //    "pages": [{
      //       "path" : "commoditySquare",
      //       "style" :
      //       {
      //          "navigationBarTitleText" : "商品广场"
      //       }
      //    }]
      // }
   ],
   "globalStyle": {
      "navigationBarTextStyle": "black",
@@ -1411,7 +1486,8 @@
            "text": "首页"
         },
         {
            "pagePath": "pages/tabbar/category/category",
            // "pagePath": "pages/tabbar/category/category",
            "pagePath": "pages/commodity-square/commoditySquare",
            "iconPath": "static/tabbar/category.png",
            "selectedIconPath": "static/tabbar/category-s.png",
            "text": "商城"