绿满眶商城微信小程序-uniapp
peng
2025-07-09 c22e91296d532873b70cb51bf5510bf7738f3f1a
pages.json
@@ -36,6 +36,13 @@
         }
      },
      {
         "path": "pages/kitchen/KitchenVideo",
         "style": {
            "navigationBarTitleText": "神厨",
            "navigationStyle": "custom" // 隐藏系统导航栏
         }
      },
      {
         "path": "pages/tabbar/home/title",
         "style": {
            "navigationBarTitleText": "消息"
@@ -65,7 +72,7 @@
      {
         // "path": "pages/tabbar/category/category",
         "path": "pages/commodity-square/commoditySquare",
         "style": {
            "navigationBarTitleText": "商品广场",
            "navigationStyle": "custom", // 隐藏系统导航栏
@@ -268,6 +275,42 @@
         "path": "pages/userPermissions/userPermissions",
         "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-navbar": "view",
               "u-loadmore":"view"
            }
         }
      },
      {
         "path": "pages/news/news",
         "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-navbar": "view",
               "u-loadmore":"view"
            }
         }
      },
      {
         "path": "pages/news/detail",
         "style": {
            "navigationBarTitleText": "新闻详情",
            "componentPlaceholder": {
               "u-icon": "view",
               "u-button": "view",
@@ -784,6 +827,14 @@
                     "u-loadmore": "view"
                  }
               }
            },
            {
               "path" : "myAttention",
               "style" :
               {
                  "navigationBarTitleText" : "关注列表",
                  "enablePullDownRefresh": true
               }
            }
         ]
      },
@@ -793,8 +844,7 @@
            {
               "path": "shopPage",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom"
                  "navigationBarTitleText": ""
               }
            },
            {
@@ -988,12 +1038,19 @@
            },
            {
               "path" : "video-goods-detail",
               "style" :
               "style" :
               {
                  "navigationBarTitleText" : "视频推荐商品",
                  "componentPlaceholder": {
                     "u-button": "view"
                  }
               }
            },
            {
               "path" : "video-search",
               "style" :
               {
                  "navigationBarTitleText" : ""
               }
            }
         ]
@@ -1442,25 +1499,21 @@
         }]
      },
      {
         "root": "pages/kitchen",
         "root": "pages/supplier/suppler-order",
         "pages": [{
            "path": "KitchenVideo",
            "path": "suppler-order",
            "style": {
               "navigationBarTitleText": "厨神"
               "navigationBarTitleText": "供应商端"
               // "navigationStyle": "custom"
            }
         }]
      },
      {
         "root": "pages/supplier",
         "pages": [{
            "path" : "suppler-order/suppler-order",
            "style" :
            {
               "navigationBarTitleText" : ""
         },{
            "path": "order-detail",
            "style": {
               "navigationBarTitleText": "订单详情"
               // "navigationStyle": "custom"
            }
         }]
      }
      // ,
      // {
      //    "root": "pages/commodity-square",
@@ -1498,13 +1551,13 @@
            "selectedIconPath": "static/tabbar/home-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/category/category",
            "pagePath": "pages/kitchen/KitchenVideo",
            "iconPath": "static/tabbar/category.png",
            "selectedIconPath": "static/tabbar/category-s.png",
            "text": "神厨"
         },
         {
            "pagePath": "pages/tabbar/video/video",
            "iconPath": "static/tabbar/video.png",
@@ -1524,11 +1577,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": "", //模式名称
@@ -1536,4 +1589,4 @@
      //    "query": "" //启动参数,在页面的onLoad函数里面得到
      // }]
   }
}
}