绿满眶商城微信小程序-uniapp
bug
zhanghua
2025-05-28 555b592bfc02faedb307ef1be2174bce176c41c5
pages.json
@@ -1,8 +1,19 @@
{
   "easycom": {
      "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
   },
       "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": [
      // 第一个就是首页
      {
@@ -24,18 +35,6 @@
         }
      }, 
      {
         "path":"pages/tabbar/screen/fullScreen",
         "style": {
            "navigationStyle": "custom", // 隐藏系统导航栏
            "app-plus":{
               "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型
               "background": "transparent", // 背景透明
               "backgroundColor": "rgba(0,0,0,0)", // 背景透明
               "popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能
            }
         }
      },
      {
         "path": "pages/tabbar/home/title",
         "style": {
            "navigationBarTitleText": "消息"
@@ -47,8 +46,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"
                        }
         }
      }, {
         "path": "pages/tabbar/category/category",
@@ -57,19 +67,20 @@
            "navigationStyle": "custom", // 隐藏系统导航栏
            "navigationBarTextStyle": "black",
            "disableScroll": true,
               "bounce": "none",
               "scrollIndicator": "none"
            "bounce": "none",
            "scrollIndicator": "none",
            "componentPlaceholder": {
               "u-navbar": "view",
               "u-search": "view",
               "u-image": "view"
            }
         }
      },
      {
         "path": "pages/navigation/search/searchPage",
         "path": "components/m-search-revision/m-search-revision",
         "style": {
            "navigationBarTitleText": "搜索",
            "navigationBarTitleText": "",
            "navigationStyle": "custom",
            "app-plus": {
               //app页面不显示滚动条
               "scrollIndicator": "none",
@@ -79,6 +90,86 @@
               "safearea": {
               "bottom": "none"
               }
            },
            "componentPlaceholder": {
               "u-icon": "view"
            }
         }
      },
      {
         "path": "components/m-goods-list/list",
         "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom",
            "app-plus": {
               //app页面不显示滚动条
               "scrollIndicator": "none",
               "bottom": "0",
               "contentAdjust": "false",
               "bounce": "none",
               "safearea": {
               "bottom": "none"
               }
            },
            "componentPlaceholder": {
               "u-image": "view",
               "u-loading": "view",
               "u-tag": "view",
               "u-icon": "view"
            }
         }
      },
      {
         "path": "components/m-share/index",
         "style": {
            "navigationBarTitleText": "",
            "navigationStyle": "custom",
            "componentPlaceholder": {
               "u-popup": "view",
               "u-icon": "view"
            }
         }
      },
      {
         "path": "components/m-buy/goods",
         "style": {
            "navigationBarTitleText": "",
            "componentPlaceholder": {
               "u-popup": "view",
               "u-image": "view",
               "u-alert-tips": "view"
            }
         }
      },
      {
         "path": "components/m-take-down-sale-goods/index",
         "style": {
            "navigationBarTitleText": "",
            "componentPlaceholder": {
               "u-popup": "view"
            }
         }
      },
      {
         "path": "pages/navigation/search/searchPage",
         "style": {
            "navigationBarTitleText": "搜索",
            "navigationStyle": "custom",
            "app-plus": {
               //app页面不显示滚动条
               "scrollIndicator": "none",
               "bottom": "0",
               "contentAdjust": "false",
               "bounce": "none",
               "safearea": {
               "bottom": "none"
               }
            },
            "componentPlaceholder": {
               "u-navbar": "view",
               "u-popup": "view",
               "u-input": "view",
               "u-back-top": "view"
            }
         }
      }, {
@@ -86,7 +177,12 @@
         "style": {
            "navigationBarTextStyle": "white",
            "enablePullDownRefresh": true,
            "navigationStyle": "custom"
            "navigationStyle": "custom",
            "componentPlaceholder": {
               "u-icon": "view",
               "u-row": "view",
               "u-col": "view"
            }
         }
      },
      
@@ -107,14 +203,50 @@
         "style" : 
         {
            "navigationBarTitleText" : "发布视频",
            "enablePullDownRefresh" : false
            "enablePullDownRefresh" : false,
            "componentPlaceholder": {
               "u-icon": "view",
               "u-button": "view",
               "u-form": "view",
               "u-form-item": "view",
               "u-input": "view",
               "u-popup": "view",
               "u-search": "view"
            }
         }
      },
      {
         "path" : "pages/goods-manager/goodsList/goodsList",
         "style" :
         {
            "enablePullDownRefresh" : true,
            "navigationBarTitleText" : "商品列表"
         }
      },
      {
         "path" : "pages/goods-manager/addGoods/addGoods",
         "style" :
         {
            "navigationBarTitleText" : ""
         }
      }
   ],
   "subPackages": [
   {
      "root": "uview-components",  // 必须与preloadRule中的名称完全一致
            "name": "uview-components",
      "pages": [
        {
                  "path": "pages/empty-page/empty-page",
                  "style": {
                    "navigationBarTitleText": "",
                    "disableScroll": true
                  }
                }
     ]
    },
      {
         "root": "pages/mine",
         "pages": [
@@ -122,14 +254,25 @@
            {
               "path": "signIn",
               "style": {
                  "navigationBarTitleText": "签到"
                  "navigationBarTitleText": "签到",
                  "componentPlaceholder": {
                     "u-icon": "view"
                  }
               }
            }, {
               "path": "myTracks",
               "style": {
                  "navigationBarTitleText": "我的足迹",
                  "enablePullDownRefresh": true,
                  "navigationStyle": "custom"
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-navbar": "view",
                     "u-notice-bar": "view",
                     "u-empty": "view",
                     "u-swipe-action": "view",
                     "u-checkbox-group": "view",
                     "u-checkbox": "view"
                  }
               }
            }, {
               "path": "myCollect",
@@ -139,6 +282,15 @@
                  "navigationStyle": "custom",
                  "app-plus": {
                     "scrollIndicator": "none"
                  },
                  "componentPlaceholder": {
                     "u-navbar": "view",
                     "u-tabs": "view",
                     "u-empty": "view",
                     "u-swipe-action": "view",
                     "u-image": "view",
                     "u-loading": "view",
                     "u-tag": "view"
                  }
               }
            },
@@ -149,6 +301,11 @@
                  "app-plus": {
                     //app页面不显示滚动条
                     "scrollIndicator": "none"
                  },
                  "componentPlaceholder": {
                     "u-swipe-action": "view",
                     "u-image": "view",
                     "u-modal": "view"
                  }
               }
            },
@@ -159,6 +316,9 @@
                  "app-plus": {
                     //app页面不显示滚动条
                     "scrollIndicator": "none"
                  },
                  "componentPlaceholder": {
                     "u-input": "view"
                  }
               }
            },
@@ -170,35 +330,50 @@
                  "app-plus": {
                     //app页面不显示滚动条
                     "scrollIndicator": "none"
                  },
                  "componentPlaceholder": {
                     "u-tabs": "view",
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view",
                     "u-button": "view"
                  }
               }
            },
            {
               "path": "distribution/history",
               "style": {
                  "navigationBarTitleText": "提现历史"
                  "navigationBarTitleText": "提现历史",
                  "componentPlaceholder": {
                     "u-loadmore": "view"
                  }
               }
            },
            {
               "path": "distribution/auth",
               "style": {
                  "navigationBarTitleText": "会员实名认证"
                  "navigationBarTitleText": "会员实名认证",
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view",
                     "u-button": "view"
                  }
               }
            },
            {
               "path": "distribution/achievement",
               "style": {
                  "navigationBarTitleText": "我的分销业绩"
               }
            },
            {
               "path": "distribution/home",
               "style": {
                  "navigationBarTitleText": "推广分佣"
                  "navigationBarTitleText": "推广分佣",
                  "componentPlaceholder": {
                     "u-icon": "view"
                  }
               }
            },
            {
@@ -254,13 +429,27 @@
            {
               "path": "address/add",
               "style": {
                  "navigationBarTitleText": "收货人"
                  "navigationBarTitleText": "收货人",
                  "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"
                  }
               }
            },
            {
               "path": "address/addressManage",
               "style": {
                  "navigationBarTitleText": "地址管理"
                  "navigationBarTitleText": "地址管理",
                  "componentPlaceholder": {
                     "u-empty": "view",
                     "u-icon": "view",
                     "u-action-sheet": "view"
                  }
               }
            },
            {
@@ -327,7 +516,11 @@
            {
               "path": "set/feedBack",
               "style": {
                  "navigationBarTitleText": "意见反馈"
                  "navigationBarTitleText": "意见反馈",
                  "componentPlaceholder": {
                     "u-input": "view",
                     "u-upload": "view"
                  }
               }
            },
            {
@@ -340,13 +533,23 @@
            {
               "path": "set/editionIntro",
               "style": {
                  "navigationBarTitleText": "关于我们"
                  "navigationBarTitleText": "关于我们",
                  "componentPlaceholder": {
                     "u-cell-group": "view",
                     "u-cell-item": "view"
                  }
               }
            },
            {
               "path": "set/setUp",
               "style": {
                  "navigationBarTitleText": "设置"
                  "navigationBarTitleText": "设置",
                  "componentPlaceholder": {
                     "u-image": "view",
                     "u-icon": "view",
                     "u-cell-group": "view",
                     "u-cell-item": "view"
                  }
               }
            },
            {
@@ -368,12 +571,19 @@
            }, {
               "path": "help/tips",
               "style": {
                  "navigationBarTitleText": ""
                  "navigationBarTitleText": "",
                  "componentPlaceholder": {
                     "u-parse": "view"
                  }
               }
            }, {
               "path": "point/myPoint",
               "style": {
                  "navigationBarTitleText": "我的积分"
                  "navigationBarTitleText": "我的积分",
                  "componentPlaceholder": {
                     "u-row": "view",
                     "u-col": "view"
                  }
               }
            },
             {
@@ -438,50 +648,138 @@
               "navigationStyle": "custom"
            }
         },
            {
               "path": "goods",
               "style": {
                  "backgroundColor": "#fff",
                  "navigationStyle": "custom",
                  "app-plus": {
                     // 将回弹属性关掉
                     "bounce": "none",
                     // 禁止页面滚动
                     "scrollIndicator": "none",
                     "safearea": {
                        "bottom": {
                             "offset": "none"
                          }
                       }
                  }
               }
            },
            {
               "path": "askList",
               "style": {
                  "navigationBarTitleText": "问答专区"
               }
            },
            { //商品评价
               "path": "comment",
         {
            "path": "goods",
            "style": {
               "backgroundColor": "#fff",
               "navigationStyle": "custom",
               "style": {
                  "navigationBarTitleText": "商品评价",
                  //app页面不显示滚动条
                  "scrollIndicator": "none"
               }
            },
            { // 客服
               "path": "customerservice/index",
               "style": {
                  "navigationBarTitleText": "客服",
                  "usingComponents": {
                     // #ifdef MP-WEIXIN
                     "chat": "plugin://myPlugin/chat"
                     // #endif
                  }
               "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",
            "style": {
               "navigationBarTitleText": "商品评价",
               //app页面不显示滚动条
               "scrollIndicator": "none"
            }
         },
         { // 客服
            "path": "customerservice/index",
            "style": {
               "navigationBarTitleText": "客服",
               "usingComponents": {
                  // #ifdef MP-WEIXIN
                  "chat": "plugin://myPlugin/chat"
                  // #endif
               }
            }
         }
         ]
@@ -517,14 +815,59 @@
               "path": "entry/seller/index",
               "style": {
                  "navigationBarTitleText": "店铺入驻",
                  "navigationStyle": "custom"
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-navbar": "view"
                  }
               }
            },
            {
               "path": "entry/seller/step1",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view",
                     "u-upload": "view"
                  }
               }
            },
            {
               "path": "entry/seller/step2",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view"
                  }
               }
            },
            {
               "path": "entry/seller/step3",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-form": "view",
                     "u-form-item": "view",
                     "u-input": "view",
                     "u-upload": "view",
                     "u-select": "view"
                  }
               }
            },
            {
               "path": "entry/seller/control",
               "style": {
                  "navigationBarTitleText": "",
                  "navigationStyle": "custom"
                  "navigationStyle": "custom",
                  "componentPlaceholder": {
                     "u-navbar": "view"
                  }
               }
            },
            {
@@ -538,7 +881,12 @@
               "style": {
                  "navigationBarTitleText": "小程序登录",
                  "navigationStyle": "custom",
                  "navigationBarTextStyle": "black"
                  "navigationBarTextStyle": "black",
                  "componentPlaceholder": {
                     "u-navbar": "view",
                     "u-modal": "view",
                     "u-checkbox": "view"
                  }
               }
            },
            {
@@ -604,7 +952,11 @@
            },{
               "path": "bargain/log",
               "style": {
                  "navigationBarTitleText": "砍价记录"
                  "navigationBarTitleText": "砍价记录",
                  "componentPlaceholder": {
                     "u-image": "view",
                     "u-empty": "view"
                  }
               }
            },{
               "path": "point/detail",
@@ -633,7 +985,10 @@
                  "navigationBarTitleText": "我的优惠券",
                  "app-plus": {
                     "bounce": "coupon/none"
                  },
                  "componentPlaceholder": {
                     "u-empty": "view",
                     "u-icon": "view"
                  }
               }
            },
@@ -654,8 +1009,10 @@
               "path": "coupon/couponCenter",
               "style": {
                  "navigationBarTitleText": "领券中心",
                  "enablePullDownRefresh": true
                  "enablePullDownRefresh": true,
                  "componentPlaceholder": {
                     "u-empty": "view"
                  }
               }
            },
            {
@@ -710,7 +1067,14 @@
            {
               "path": "complain/complainList",
               "style": {
                  "navigationBarTitleText": "投诉列表"
                  "navigationBarTitleText": "投诉列表",
                  "componentPlaceholder": {
                     "u-line": "view",
                     "u-image": "view",
                     "u-tag": "view",
                     "u-empty": "view",
                     "u-modal": "view"
                  }
               }
            },
            {
@@ -720,7 +1084,17 @@
                  "enablePullDownRefresh": true,
                  "app-plus": {
                     "bounce": "none"
                  },
                  "componentPlaceholder": {
                     "u-empty": "view",
                     "u-modal": "view",
                     "u-image": "view",
                     "u-popup": "view",
                     "u-radio-group": "view",
                     "u-radio": "view",
                     "u-button": "view",
                     "u-toast": "view",
                     "u-modal": "view"
                  }
               }
            },
@@ -758,7 +1132,14 @@
            {
               "path": "evaluate/myEvaluate",
               "style": {
                  "navigationBarTitleText": "我的评价"
                  "navigationBarTitleText": "我的评价",
                  "componentPlaceholder": {
                     "u-empty": "view",
                     "u-tabs": "view",
                     "u-image": "view",
                     "u-read-more": "view",
                     "u-tag": "view"
                  }
               }
            },
            
@@ -812,7 +1193,15 @@
               "path": "afterSales/afterSales",
               "style": {
                  "navigationBarTitleText": "售后管理",
                  "enablePullDownRefresh": true
                  "enablePullDownRefresh": true,
                  "componentPlaceholder": {
                     "u-modal": "view",
                     "u-tabs": "view",
                     "u-image": "view",
                     "u-search": "view",
                     "u-icon": "view",
                     "u-loadmore": "view"
                  }
               }
            },
            {
@@ -826,7 +1215,7 @@
   ],
   "globalStyle": {
      "navigationBarTextStyle": "black",
      "navigationBarTitleText": "Lili商城",
      "navigationBarTitleText": "绿满筐",
      "titleColor": "#303133",
      "navigationBarBackgroundColor": "#fff",
      "backgroundColor": "#fff",