绿满眶商城微信小程序-uniapp
zxl
2025-06-04 b62daf4aaca5fcb8eea7bfd4149dbb92b10f50de
pages.json
@@ -1,27 +1,26 @@
{
       "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组件
         }
      },
     "preloadRule": {
           "pages/tabbar/index/home": // 页面路径
           // 页面的预下载配置
           {
              "network": "all", // all(不限网络) wifi(仅wifi下预下载)
              "packages": ["uview-components"] // 预下载分包的 root 或 name。__APP__ 表示主包
           }
      },
   "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组件
      }
   },
   "preloadRule": {
      "pages/tabbar/index/home": // 页面路径
      // 页面的预下载配置
      {
         "network": "all", // all(不限网络) wifi(仅wifi下预下载)
         "packages": ["uview-components"] // 预下载分包的 root 或 name。__APP__ 表示主包
      }
   },
   "pages": [
      // 第一个就是首页
      {
         "path" : "pages/tabbar/index/home",
         "style" :
         {
         "path": "pages/tabbar/index/home",
         "style": {
            // "navigationBarTitleText" : "视频",
            "enablePullDownRefresh" : false,
            "enablePullDownRefresh": false,
            "navigationStyle": "custom" // 隐藏顶部导航栏
         }
      },
@@ -31,9 +30,9 @@
            "navigationBarTitleText": "首页",
            "navigationStyle": "custom", // 隐藏系统导航栏
            "navigationBarTextStyle": "black",
            "enablePullDownRefresh":true
            "enablePullDownRefresh": true
         }
      },
      },
      {
         "path": "pages/tabbar/home/title",
         "style": {
@@ -46,19 +45,19 @@
            "navigationBarTitleText": "购物车",
            "navigationStyle": "custom", // 隐藏系统导航栏
            "navigationBarBackgroundColor": "#fff",
            "enablePullDownRefresh":true,    //实现下拉刷新样式
            "enablePullDownRefresh": true, //实现下拉刷新样式
            "componentPlaceholder": {
                           "u-navbar": "view",
                           "u-checkbox-group": "view",
                           "u-checkbox": "view",
                           "u-swipe-action": "view",
                           "u-image": "view",
                           "u-icon": "view",
                           "u-count-down": "view",
                           "u-modal": "view",
                           "u-popup": "view",
                           "u-toast": "view"
                        }
               "u-navbar": "view",
               "u-checkbox-group": "view",
               "u-checkbox": "view",
               "u-swipe-action": "view",
               "u-image": "view",
               "u-icon": "view",
               "u-count-down": "view",
               "u-modal": "view",
               "u-popup": "view",
               "u-toast": "view"
            }
         }
      }, {
         "path": "pages/tabbar/category/category",
@@ -88,7 +87,7 @@
               "contentAdjust": "false",
               "bounce": "none",
               "safearea": {
               "bottom": "none"
                  "bottom": "none"
               }
            },
            "componentPlaceholder": {
@@ -108,7 +107,7 @@
               "contentAdjust": "false",
               "bounce": "none",
               "safearea": {
               "bottom": "none"
                  "bottom": "none"
               }
            },
            "componentPlaceholder": {
@@ -162,7 +161,7 @@
               "contentAdjust": "false",
               "bounce": "none",
               "safearea": {
               "bottom": "none"
                  "bottom": "none"
               }
            },
            "componentPlaceholder": {
@@ -185,25 +184,24 @@
            }
         }
      },
      {
         "path": "pages/tabbar/home/web-view",
         "style": {
         }
      },
            {
               "path": "pages/tabbar/special/special",
               "style": {
                     "navigationBarTitleText": "专题"
               }
      {
         "path": "pages/tabbar/special/special",
         "style": {
            "navigationBarTitleText": "专题"
         }
      },
      {
         "path" : "pages/tabbar/video/video",
         "style" :
         {
            "navigationBarTitleText" : "发布视频",
            "enablePullDownRefresh" : false,
         "path": "pages/tabbar/video/video",
         "style": {
            "navigationBarTitleText": "发布视频",
            "enablePullDownRefresh": false,
            "componentPlaceholder": {
               "u-icon": "view",
               "u-button": "view",
@@ -216,41 +214,91 @@
         }
      },
      {
         "path" : "pages/goods-manager/goodsList/goodsList",
         "style" :
         {
            "enablePullDownRefresh" : true,
            "navigationBarTitleText" : "商品列表"
         "path": "pages/goods-manager/goodsList/goodsList",
         "style": {
            "enablePullDownRefresh": true,
            "navigationBarTitleText": "商品列表"
         }
      },
      {
         "path" : "pages/goods-manager/addGoods/addGoods",
         "style" :
         {
            "navigationBarTitleText" : ""
         "path": "pages/goods-manager/addGoods/addGoods",
         "style": {
            "navigationBarTitleText": ""
         }
      },
      {
         "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"
            }
         }
      },
      {
         "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"
            }
         }
      },
      {
         "path": "pages/userPermissions/addStoreMember",
         "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom", // 隐藏顶部导航栏
            "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"
            }
         }
      }
   ],
   "subPackages": [
   {
      "root": "uview-components",  // 必须与preloadRule中的名称完全一致
            "name": "uview-components",
      "pages": [
        {
                  "path": "pages/empty-page/empty-page",
                  "style": {
                    "navigationBarTitleText": "",
                    "disableScroll": true
                  }
                }
     ]
    },
   "subPackages": [{
         "root": "uview-components", // 必须与preloadRule中的名称完全一致
         "name": "uview-components",
         "pages": [{
            "path": "pages/empty-page/empty-page",
            "style": {
               "navigationBarTitleText": "",
               "disableScroll": true
            }
         }]
      },
      {
         "root": "pages/mine",
         "pages": [
            {
               "path": "signIn",
               "style": {
@@ -404,15 +452,15 @@
               }
            },
         {
            "path": "deposit/info",
            "style": {
               "navigationBarTitleText": "预存款详情"
            }
         },
             {
            {
               "path": "deposit/info",
               "style": {
                  "navigationBarTitleText": "预存款详情"
               }
            },
            {
               "path": "address/address",
               "style": {
                  "enablePullDownRefresh": true,
@@ -471,8 +519,8 @@
                  "navigationBarTitleText": "面容登录"
               }
            },
            {
               "path": "set/securityCenter/editPassword",
               "style": {
@@ -482,13 +530,13 @@
                  }
               }
            },
            {
               "path": "set/securityCenter/bindMobile",
               "style": {
                  "navigationBarTitleText": "绑定手机号",
                  "app-plus": {
                  }
               }
            },
@@ -498,9 +546,8 @@
               "style": {
                  "navigationStyle": "custom", // 隐藏系统导航栏
                  "enablePullDownRefresh": true,
                  "app-plus": {
                  }
                  "app-plus": {}
               }
            },
            {
@@ -508,9 +555,8 @@
               "style": {
                  "navigationStyle": "custom", // 隐藏系统导航栏
                  "enablePullDownRefresh": true,
                  "app-plus": {
                  }
                  "app-plus": {}
               }
            },
            {
@@ -594,7 +640,7 @@
                  }
               }
            },
             {
            {
               "path": "msgTips/main",
               "style": {
                  "navigationBarTitleText": "消息中心"
@@ -623,6 +669,62 @@
               "style": {
                  "navigationBarTitleText": "订单跟踪"
               }
            }, {
               "path": "activity/detail",
               "style": {
                  "navigationBarTitleText": "活动详情"
               }
            }, {
               "path": "activity/myActivity",
               "style": {
                  "navigationBarTitleText": "我的活动",
                  "enablePullDownRefresh": true, //下拉刷新
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view",
                     "u-icon": "view",
                     "u-action-sheet": "view",
                     "u-checkbox-group": "view",
                     "u-checkbox": "view",
                     "u-navbar": "view"
                  }
               }
            }, {
               "path": "activity/reportActivity",
               "style": {
                  "navigationBarTitleText": "活动",
                  "enablePullDownRefresh": true, //下拉刷新
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view",
                     "u-icon": "view",
                     "u-action-sheet": "view",
                     "u-checkbox-group": "view",
                     "u-checkbox": "view",
                     "u-navbar": "view"
                  }
               }
            }, {
               "path": "myCollect/myCollect",
               "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"
                  }
               }
            }
         ]
@@ -633,161 +735,161 @@
      {
         "root": "pages/product",
         "pages": [{
            "path": "shopPage",
            "style": {
               "navigationBarTitleText": "",
               "navigationStyle": "custom"
            }
         },{
            "path": "shopList",
            "style": {
               "navigationBarTitleText": "",
               "navigationStyle": "custom"
            }
         },{
            "path": "licencePhoto",
            "style": {
               "navigationBarTitleText": "营业执照"
            }
         },{
            "path": "shopPageGoods",
            "style": {
               "navigationBarTitleText": "",
               "navigationStyle": "custom"
            }
         },
         {
            "path": "goods",
            "style": {
               "backgroundColor": "#fff",
               "path": "shopPage",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom"
               }
            }, {
               "path": "shopList",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom"
               }
            }, {
               "path": "licencePhoto",
               "style": {
                  "navigationBarTitleText": "营业执照"
               }
            }, {
               "path": "shopPageGoods",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom"
               }
            },
            {
               "path": "goods",
               "style": {
                  "backgroundColor": "#fff",
                  "navigationStyle": "custom",
                  "app-plus": {
                     // 将回弹属性关掉
                     "bounce": "none",
                     // 禁止页面滚动
                     "scrollIndicator": "none",
                     "safearea": {
                        "bottom": {
                           "offset": "none"
                        }
                     }
                  },
                  "componentPlaceholder": {
                     "u-icon": "view",
                     "u-navbar": "view",
                     "u-popup": "view"
                  }
               }
            },
            {
               "path": "askList",
               "style": {
                  "navigationBarTitleText": "问答专区"
               }
            },
            {
               "path": "product/promotion/-promotion-details",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-tag": "view"
                  }
               }
            },
            {
               "path": "product/promotion/-promotion-assemble-promotions",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-tag": "view",
                     "u-count-down": "view"
                  }
               }
            },
            {
               "path": "product/promotion/-promotion-assemble-list",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-image": "view",
                     "u-button": "view",
                     "u-empty": "view"
                  }
               }
            },
            {
               "path": "product/goods/-goods-intro",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-empty": "view",
                     "u-parse": "view"
                  }
               }
            },
            {
               "path": "product/shop/-shop",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-image": "view",
                     "u-loading": "view"
                  }
               }
            },
            {
               "path": "product/evaluation/-evaluation",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-avatar": "view",
                     "u-read-more": "view",
                     "u-image": "view",
                     "u-empty": "view"
                  }
               }
            },
            {
               "path": "product/goods/-goods-swiper",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-loading": "view",
                     "u-image": "view"
                  }
               }
            },
            {
               "path": "product/popup/address",
               "style": {
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-popup": "view",
                     "u-icon": "view",
                     "u-empty": "view"
                  }
               }
            },
            { //商品评价
               "path": "comment",
               "navigationStyle": "custom",
               "app-plus": {
                  // 将回弹属性关掉
                  "bounce": "none",
                  // 禁止页面滚动
                  "scrollIndicator": "none",
                  "safearea": {
                     "bottom": {
                          "offset": "none"
                       }
                    }
               },
               "componentPlaceholder": {
                  "u-icon": "view",
                  "u-navbar": "view",
                  "u-popup": "view"
               "style": {
                  "navigationBarTitleText": "商品评价",
                  //app页面不显示滚动条
                  "scrollIndicator": "none"
               }
            },
            { // 客服
               "path": "customerservice/index",
               "style": {
                  "navigationBarTitleText": "客服",
                  "usingComponents": {
                     // #ifdef MP-WEIXIN
                     "chat": "plugin://myPlugin/chat"
                     // #endif
                  }
               }
            }
         },
         {
            "path": "askList",
            "style": {
               "navigationBarTitleText": "问答专区"
            }
         },
         {
            "path": "product/promotion/-promotion-details",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-tag": "view"
               }
            }
         },
         {
            "path": "product/promotion/-promotion-assemble-promotions",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-tag": "view",
                  "u-count-down": "view"
               }
            }
         },
         {
            "path": "product/promotion/-promotion-assemble-list",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-image": "view",
                  "u-button": "view",
                  "u-empty": "view"
               }
            }
         },
         {
            "path": "product/goods/-goods-intro",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-empty": "view",
                  "u-parse": "view"
               }
            }
         },
         {
            "path": "product/shop/-shop",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-image": "view",
                  "u-loading": "view"
               }
            }
         },
         {
            "path": "product/evaluation/-evaluation",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-avatar": "view",
                  "u-read-more": "view",
                  "u-image": "view",
                  "u-empty": "view"
               }
            }
         },
         {
            "path": "product/goods/-goods-swiper",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-loading": "view",
                  "u-image": "view"
               }
            }
         },
         {
            "path": "product/popup/address",
            "style": {
               "navigationBarTitleText": "",
               "componentPlaceholder": {
                  "u-popup": "view",
                  "u-icon": "view",
                  "u-empty": "view"
               }
            }
         },
         { //商品评价
            "path": "comment",
            "navigationStyle": "custom",
            "style": {
               "navigationBarTitleText": "商品评价",
               //app页面不显示滚动条
               "scrollIndicator": "none"
            }
         },
         { // 客服
            "path": "customerservice/index",
            "style": {
               "navigationBarTitleText": "客服",
               "usingComponents": {
                  // #ifdef MP-WEIXIN
                  "chat": "plugin://myPlugin/chat"
                  // #endif
               }
            }
         }
         ]
@@ -811,14 +913,14 @@
                     "animationType": "slide-in-bottom",
                     "scrollIndicator": "none",
                     "safearea": {
                        "bottom": {
                             "offset": "none"
                          }
                       }
                        "bottom": {
                           "offset": "none"
                        }
                     }
                  }
               }
            },
            {
               "path": "entry/seller/index",
               "style": {
@@ -911,53 +1013,53 @@
      {
         "root": "pages/promotion",
         "pages": [ {
         "pages": [{
               "path": "seckill",
               "style": {
                  "navigationBarTitleText": "限时抢购",
                  "navigationStyle": "custom", // 隐藏系统导航栏
                  "navigationBarTextStyle": "black" ,
                  "navigationBarTextStyle": "black",
                  "app-plus": {
                     "titleNView": {
                        "homeButton":true
                        "homeButton": true
                     }
                  }
               }
            },
             {
            {
               "path": "joinGroup",
               "style": {
                  "navigationBarTitleText": "拼团活动",
                  "navigationStyle": "custom", // 隐藏系统导航栏
                  "navigationBarTextStyle": "black" ,
                  "navigationBarTextStyle": "black",
                  "app-plus": {
                     // 将回弹属性关掉
                     "bounce": "none"
                  }
               }
            },{
            }, {
               "path": "lives",
               "style": {
                  "navigationStyle": "custom",
                  "navigationBarTextStyle": "black"
               }
            },{
            }, {
               "path": "bargain/list",
               "style": {
                  "navigationStyle": "custom",
                  "navigationBarTextStyle": "white"
               }
            },{
            }, {
               "path": "bargain/detail",
               "style": {
                  "navigationStyle": "custom",
                  "navigationBarTextStyle": "white"
               }
            },{
            }, {
               "path": "bargain/log",
               "style": {
                  "navigationBarTitleText": "砍价记录",
@@ -966,18 +1068,18 @@
                     "u-empty": "view"
                  }
               }
            },{
            }, {
               "path": "point/detail",
               "style": {
                  "navigationStyle": "custom",
                  "navigationBarTextStyle": "white"
               }
            },{
            }, {
               "path": "point/pointList",
               "style": {
                  "navigationBarTitleText": "积分商城"
               }
            }
@@ -1012,7 +1114,7 @@
                  "navigationBarTitleText": "优惠券"
               }
            },
            {
               "path": "coupon/couponCenter",
               "style": {
@@ -1054,7 +1156,7 @@
                  }
               }
            }
         ]
      },
@@ -1130,7 +1232,7 @@
                  "navigationBarTitleText": "评价详情"
               }
            },
            {
               "path": "evaluate/releaseEvaluate",
               "style": {
@@ -1150,7 +1252,7 @@
                  }
               }
            },
            {
               "path": "afterSales/applyProgress",
               "style": {
@@ -1283,4 +1385,4 @@
      //    "query": "" //启动参数,在页面的onLoad函数里面得到
      // }]
   }
}
}